1 # ================= dm-crypt aes-256-xts-plain64-sha1 =================
3 truncate TEST_DIR/luks-aes-256-xts-plain64-sha1.img --size 4194304MB
5 sudo cryptsetup -q -v luksFormat --type luks1 --cipher aes-xts-plain64 --key-size 512 --hash sha1 --key-slot 0 --key-file - --iter-time 10 TEST_DIR/luks-aes-256-xts-plain64-sha1.img
7 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-256-xts-plain64-sha1.img qiotest-145-aes-256-xts-plain64-sha1
8 # Write test pattern 0xa7
9 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-plain64-sha1
10 qemu-io -c write -P 0xa7 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-xts-plain64-sha1
11 wrote 10485760/10485760 bytes at offset 104857600
12 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
14 # Write test pattern 0x13
15 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-plain64-sha1
16 qemu-io -c write -P 0x13 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-xts-plain64-sha1
17 wrote 10485760/10485760 bytes at offset 3298534883328
18 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
21 sudo cryptsetup -q -v luksClose qiotest-145-aes-256-xts-plain64-sha1
22 # Read test pattern 0xa7
23 qemu-io -c read -P 0xa7 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-xts-plain64-sha1.img
24 read 10485760/10485760 bytes at offset 104857600
25 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
27 # Read test pattern 0x13
28 qemu-io -c read -P 0x13 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-xts-plain64-sha1.img
29 read 10485760/10485760 bytes at offset 3298534883328
30 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
32 # Write test pattern 0x91
33 qemu-io -c write -P 0x91 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-xts-plain64-sha1.img
34 wrote 10485760/10485760 bytes at offset 104857600
35 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
37 # Write test pattern 0x5e
38 qemu-io -c write -P 0x5e 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-xts-plain64-sha1.img
39 wrote 10485760/10485760 bytes at offset 3298534883328
40 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
43 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-256-xts-plain64-sha1.img qiotest-145-aes-256-xts-plain64-sha1
44 # Read test pattern 0x91
45 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-plain64-sha1
46 qemu-io -c read -P 0x91 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-xts-plain64-sha1
47 read 10485760/10485760 bytes at offset 104857600
48 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
50 # Read test pattern 0x5e
51 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-plain64-sha1
52 qemu-io -c read -P 0x5e 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-xts-plain64-sha1
53 read 10485760/10485760 bytes at offset 3298534883328
54 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
57 sudo cryptsetup -q -v luksClose qiotest-145-aes-256-xts-plain64-sha1
59 unlink TEST_DIR/luks-aes-256-xts-plain64-sha1.img
61 # ================= qemu-img aes-256-xts-plain64-sha1 =================
63 qemu-img create -f luks --object secret,id=sec0,data=MTIzNDU2,format=base64 -o key-secret=sec0,iter-time=10,cipher-alg=aes-256,cipher-mode=xts,ivgen-alg=plain64,hash-alg=sha1 TEST_DIR/luks-aes-256-xts-plain64-sha1.img 4194304M
64 Formatting 'TEST_DIR/luks-aes-256-xts-plain64-sha1.img', fmt=luks size=4398046511104 key-secret=sec0 cipher-alg=aes-256 cipher-mode=xts ivgen-alg=plain64 hash-alg=sha1 iter-time=10
67 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-256-xts-plain64-sha1.img qiotest-145-aes-256-xts-plain64-sha1
68 # Write test pattern 0xa7
69 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-plain64-sha1
70 qemu-io -c write -P 0xa7 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-xts-plain64-sha1
71 wrote 10485760/10485760 bytes at offset 104857600
72 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
74 # Write test pattern 0x13
75 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-plain64-sha1
76 qemu-io -c write -P 0x13 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-xts-plain64-sha1
77 wrote 10485760/10485760 bytes at offset 3298534883328
78 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
81 sudo cryptsetup -q -v luksClose qiotest-145-aes-256-xts-plain64-sha1
82 # Read test pattern 0xa7
83 qemu-io -c read -P 0xa7 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-xts-plain64-sha1.img
84 read 10485760/10485760 bytes at offset 104857600
85 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
87 # Read test pattern 0x13
88 qemu-io -c read -P 0x13 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-xts-plain64-sha1.img
89 read 10485760/10485760 bytes at offset 3298534883328
90 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
92 # Write test pattern 0x91
93 qemu-io -c write -P 0x91 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-xts-plain64-sha1.img
94 wrote 10485760/10485760 bytes at offset 104857600
95 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
97 # Write test pattern 0x5e
98 qemu-io -c write -P 0x5e 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-xts-plain64-sha1.img
99 wrote 10485760/10485760 bytes at offset 3298534883328
100 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
103 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-256-xts-plain64-sha1.img qiotest-145-aes-256-xts-plain64-sha1
104 # Read test pattern 0x91
105 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-plain64-sha1
106 qemu-io -c read -P 0x91 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-xts-plain64-sha1
107 read 10485760/10485760 bytes at offset 104857600
108 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
110 # Read test pattern 0x5e
111 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-plain64-sha1
112 qemu-io -c read -P 0x5e 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-xts-plain64-sha1
113 read 10485760/10485760 bytes at offset 3298534883328
114 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
117 sudo cryptsetup -q -v luksClose qiotest-145-aes-256-xts-plain64-sha1
119 unlink TEST_DIR/luks-aes-256-xts-plain64-sha1.img
121 # ================= dm-crypt twofish-256-xts-plain64-sha1 =================
123 truncate TEST_DIR/luks-twofish-256-xts-plain64-sha1.img --size 4194304MB
125 sudo cryptsetup -q -v luksFormat --type luks1 --cipher twofish-xts-plain64 --key-size 512 --hash sha1 --key-slot 0 --key-file - --iter-time 10 TEST_DIR/luks-twofish-256-xts-plain64-sha1.img
127 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-twofish-256-xts-plain64-sha1.img qiotest-145-twofish-256-xts-plain64-sha1
128 # Write test pattern 0xa7
129 sudo chown UID:GID /dev/mapper/qiotest-145-twofish-256-xts-plain64-sha1
130 qemu-io -c write -P 0xa7 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-twofish-256-xts-plain64-sha1
131 wrote 10485760/10485760 bytes at offset 104857600
132 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
134 # Write test pattern 0x13
135 sudo chown UID:GID /dev/mapper/qiotest-145-twofish-256-xts-plain64-sha1
136 qemu-io -c write -P 0x13 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-twofish-256-xts-plain64-sha1
137 wrote 10485760/10485760 bytes at offset 3298534883328
138 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
141 sudo cryptsetup -q -v luksClose qiotest-145-twofish-256-xts-plain64-sha1
142 # Read test pattern 0xa7
143 qemu-io -c read -P 0xa7 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-twofish-256-xts-plain64-sha1.img
144 read 10485760/10485760 bytes at offset 104857600
145 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
147 # Read test pattern 0x13
148 qemu-io -c read -P 0x13 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-twofish-256-xts-plain64-sha1.img
149 read 10485760/10485760 bytes at offset 3298534883328
150 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
152 # Write test pattern 0x91
153 qemu-io -c write -P 0x91 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-twofish-256-xts-plain64-sha1.img
154 wrote 10485760/10485760 bytes at offset 104857600
155 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
157 # Write test pattern 0x5e
158 qemu-io -c write -P 0x5e 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-twofish-256-xts-plain64-sha1.img
159 wrote 10485760/10485760 bytes at offset 3298534883328
160 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
163 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-twofish-256-xts-plain64-sha1.img qiotest-145-twofish-256-xts-plain64-sha1
164 # Read test pattern 0x91
165 sudo chown UID:GID /dev/mapper/qiotest-145-twofish-256-xts-plain64-sha1
166 qemu-io -c read -P 0x91 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-twofish-256-xts-plain64-sha1
167 read 10485760/10485760 bytes at offset 104857600
168 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
170 # Read test pattern 0x5e
171 sudo chown UID:GID /dev/mapper/qiotest-145-twofish-256-xts-plain64-sha1
172 qemu-io -c read -P 0x5e 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-twofish-256-xts-plain64-sha1
173 read 10485760/10485760 bytes at offset 3298534883328
174 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
177 sudo cryptsetup -q -v luksClose qiotest-145-twofish-256-xts-plain64-sha1
179 unlink TEST_DIR/luks-twofish-256-xts-plain64-sha1.img
181 # ================= qemu-img twofish-256-xts-plain64-sha1 =================
183 qemu-img create -f luks --object secret,id=sec0,data=MTIzNDU2,format=base64 -o key-secret=sec0,iter-time=10,cipher-alg=twofish-256,cipher-mode=xts,ivgen-alg=plain64,hash-alg=sha1 TEST_DIR/luks-twofish-256-xts-plain64-sha1.img 4194304M
184 Formatting 'TEST_DIR/luks-twofish-256-xts-plain64-sha1.img', fmt=luks size=4398046511104 key-secret=sec0 cipher-alg=twofish-256 cipher-mode=xts ivgen-alg=plain64 hash-alg=sha1 iter-time=10
187 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-twofish-256-xts-plain64-sha1.img qiotest-145-twofish-256-xts-plain64-sha1
188 # Write test pattern 0xa7
189 sudo chown UID:GID /dev/mapper/qiotest-145-twofish-256-xts-plain64-sha1
190 qemu-io -c write -P 0xa7 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-twofish-256-xts-plain64-sha1
191 wrote 10485760/10485760 bytes at offset 104857600
192 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
194 # Write test pattern 0x13
195 sudo chown UID:GID /dev/mapper/qiotest-145-twofish-256-xts-plain64-sha1
196 qemu-io -c write -P 0x13 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-twofish-256-xts-plain64-sha1
197 wrote 10485760/10485760 bytes at offset 3298534883328
198 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
201 sudo cryptsetup -q -v luksClose qiotest-145-twofish-256-xts-plain64-sha1
202 # Read test pattern 0xa7
203 qemu-io -c read -P 0xa7 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-twofish-256-xts-plain64-sha1.img
204 read 10485760/10485760 bytes at offset 104857600
205 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
207 # Read test pattern 0x13
208 qemu-io -c read -P 0x13 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-twofish-256-xts-plain64-sha1.img
209 read 10485760/10485760 bytes at offset 3298534883328
210 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
212 # Write test pattern 0x91
213 qemu-io -c write -P 0x91 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-twofish-256-xts-plain64-sha1.img
214 wrote 10485760/10485760 bytes at offset 104857600
215 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
217 # Write test pattern 0x5e
218 qemu-io -c write -P 0x5e 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-twofish-256-xts-plain64-sha1.img
219 wrote 10485760/10485760 bytes at offset 3298534883328
220 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
223 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-twofish-256-xts-plain64-sha1.img qiotest-145-twofish-256-xts-plain64-sha1
224 # Read test pattern 0x91
225 sudo chown UID:GID /dev/mapper/qiotest-145-twofish-256-xts-plain64-sha1
226 qemu-io -c read -P 0x91 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-twofish-256-xts-plain64-sha1
227 read 10485760/10485760 bytes at offset 104857600
228 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
230 # Read test pattern 0x5e
231 sudo chown UID:GID /dev/mapper/qiotest-145-twofish-256-xts-plain64-sha1
232 qemu-io -c read -P 0x5e 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-twofish-256-xts-plain64-sha1
233 read 10485760/10485760 bytes at offset 3298534883328
234 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
237 sudo cryptsetup -q -v luksClose qiotest-145-twofish-256-xts-plain64-sha1
239 unlink TEST_DIR/luks-twofish-256-xts-plain64-sha1.img
241 # ================= dm-crypt serpent-256-xts-plain64-sha1 =================
243 truncate TEST_DIR/luks-serpent-256-xts-plain64-sha1.img --size 4194304MB
245 sudo cryptsetup -q -v luksFormat --type luks1 --cipher serpent-xts-plain64 --key-size 512 --hash sha1 --key-slot 0 --key-file - --iter-time 10 TEST_DIR/luks-serpent-256-xts-plain64-sha1.img
247 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-serpent-256-xts-plain64-sha1.img qiotest-145-serpent-256-xts-plain64-sha1
248 # Write test pattern 0xa7
249 sudo chown UID:GID /dev/mapper/qiotest-145-serpent-256-xts-plain64-sha1
250 qemu-io -c write -P 0xa7 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-serpent-256-xts-plain64-sha1
251 wrote 10485760/10485760 bytes at offset 104857600
252 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
254 # Write test pattern 0x13
255 sudo chown UID:GID /dev/mapper/qiotest-145-serpent-256-xts-plain64-sha1
256 qemu-io -c write -P 0x13 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-serpent-256-xts-plain64-sha1
257 wrote 10485760/10485760 bytes at offset 3298534883328
258 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
261 sudo cryptsetup -q -v luksClose qiotest-145-serpent-256-xts-plain64-sha1
262 # Read test pattern 0xa7
263 qemu-io -c read -P 0xa7 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-serpent-256-xts-plain64-sha1.img
264 read 10485760/10485760 bytes at offset 104857600
265 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
267 # Read test pattern 0x13
268 qemu-io -c read -P 0x13 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-serpent-256-xts-plain64-sha1.img
269 read 10485760/10485760 bytes at offset 3298534883328
270 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
272 # Write test pattern 0x91
273 qemu-io -c write -P 0x91 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-serpent-256-xts-plain64-sha1.img
274 wrote 10485760/10485760 bytes at offset 104857600
275 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
277 # Write test pattern 0x5e
278 qemu-io -c write -P 0x5e 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-serpent-256-xts-plain64-sha1.img
279 wrote 10485760/10485760 bytes at offset 3298534883328
280 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
283 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-serpent-256-xts-plain64-sha1.img qiotest-145-serpent-256-xts-plain64-sha1
284 # Read test pattern 0x91
285 sudo chown UID:GID /dev/mapper/qiotest-145-serpent-256-xts-plain64-sha1
286 qemu-io -c read -P 0x91 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-serpent-256-xts-plain64-sha1
287 read 10485760/10485760 bytes at offset 104857600
288 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
290 # Read test pattern 0x5e
291 sudo chown UID:GID /dev/mapper/qiotest-145-serpent-256-xts-plain64-sha1
292 qemu-io -c read -P 0x5e 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-serpent-256-xts-plain64-sha1
293 read 10485760/10485760 bytes at offset 3298534883328
294 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
297 sudo cryptsetup -q -v luksClose qiotest-145-serpent-256-xts-plain64-sha1
299 unlink TEST_DIR/luks-serpent-256-xts-plain64-sha1.img
301 # ================= qemu-img serpent-256-xts-plain64-sha1 =================
303 qemu-img create -f luks --object secret,id=sec0,data=MTIzNDU2,format=base64 -o key-secret=sec0,iter-time=10,cipher-alg=serpent-256,cipher-mode=xts,ivgen-alg=plain64,hash-alg=sha1 TEST_DIR/luks-serpent-256-xts-plain64-sha1.img 4194304M
304 Formatting 'TEST_DIR/luks-serpent-256-xts-plain64-sha1.img', fmt=luks size=4398046511104 key-secret=sec0 cipher-alg=serpent-256 cipher-mode=xts ivgen-alg=plain64 hash-alg=sha1 iter-time=10
307 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-serpent-256-xts-plain64-sha1.img qiotest-145-serpent-256-xts-plain64-sha1
308 # Write test pattern 0xa7
309 sudo chown UID:GID /dev/mapper/qiotest-145-serpent-256-xts-plain64-sha1
310 qemu-io -c write -P 0xa7 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-serpent-256-xts-plain64-sha1
311 wrote 10485760/10485760 bytes at offset 104857600
312 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
314 # Write test pattern 0x13
315 sudo chown UID:GID /dev/mapper/qiotest-145-serpent-256-xts-plain64-sha1
316 qemu-io -c write -P 0x13 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-serpent-256-xts-plain64-sha1
317 wrote 10485760/10485760 bytes at offset 3298534883328
318 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
321 sudo cryptsetup -q -v luksClose qiotest-145-serpent-256-xts-plain64-sha1
322 # Read test pattern 0xa7
323 qemu-io -c read -P 0xa7 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-serpent-256-xts-plain64-sha1.img
324 read 10485760/10485760 bytes at offset 104857600
325 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
327 # Read test pattern 0x13
328 qemu-io -c read -P 0x13 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-serpent-256-xts-plain64-sha1.img
329 read 10485760/10485760 bytes at offset 3298534883328
330 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
332 # Write test pattern 0x91
333 qemu-io -c write -P 0x91 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-serpent-256-xts-plain64-sha1.img
334 wrote 10485760/10485760 bytes at offset 104857600
335 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
337 # Write test pattern 0x5e
338 qemu-io -c write -P 0x5e 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-serpent-256-xts-plain64-sha1.img
339 wrote 10485760/10485760 bytes at offset 3298534883328
340 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
343 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-serpent-256-xts-plain64-sha1.img qiotest-145-serpent-256-xts-plain64-sha1
344 # Read test pattern 0x91
345 sudo chown UID:GID /dev/mapper/qiotest-145-serpent-256-xts-plain64-sha1
346 qemu-io -c read -P 0x91 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-serpent-256-xts-plain64-sha1
347 read 10485760/10485760 bytes at offset 104857600
348 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
350 # Read test pattern 0x5e
351 sudo chown UID:GID /dev/mapper/qiotest-145-serpent-256-xts-plain64-sha1
352 qemu-io -c read -P 0x5e 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-serpent-256-xts-plain64-sha1
353 read 10485760/10485760 bytes at offset 3298534883328
354 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
357 sudo cryptsetup -q -v luksClose qiotest-145-serpent-256-xts-plain64-sha1
359 unlink TEST_DIR/luks-serpent-256-xts-plain64-sha1.img
361 # ================= dm-crypt cast5-128-cbc-plain64-sha1 =================
363 truncate TEST_DIR/luks-cast5-128-cbc-plain64-sha1.img --size 4194304MB
365 sudo cryptsetup -q -v luksFormat --type luks1 --cipher cast5-cbc-plain64 --key-size 128 --hash sha1 --key-slot 0 --key-file - --iter-time 10 TEST_DIR/luks-cast5-128-cbc-plain64-sha1.img
367 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-cast5-128-cbc-plain64-sha1.img qiotest-145-cast5-128-cbc-plain64-sha1
368 # Write test pattern 0xa7
369 sudo chown UID:GID /dev/mapper/qiotest-145-cast5-128-cbc-plain64-sha1
370 qemu-io -c write -P 0xa7 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-cast5-128-cbc-plain64-sha1
371 wrote 10485760/10485760 bytes at offset 104857600
372 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
374 # Write test pattern 0x13
375 sudo chown UID:GID /dev/mapper/qiotest-145-cast5-128-cbc-plain64-sha1
376 qemu-io -c write -P 0x13 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-cast5-128-cbc-plain64-sha1
377 wrote 10485760/10485760 bytes at offset 3298534883328
378 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
381 sudo cryptsetup -q -v luksClose qiotest-145-cast5-128-cbc-plain64-sha1
382 # Read test pattern 0xa7
383 qemu-io -c read -P 0xa7 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-cast5-128-cbc-plain64-sha1.img
384 read 10485760/10485760 bytes at offset 104857600
385 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
387 # Read test pattern 0x13
388 qemu-io -c read -P 0x13 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-cast5-128-cbc-plain64-sha1.img
389 read 10485760/10485760 bytes at offset 3298534883328
390 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
392 # Write test pattern 0x91
393 qemu-io -c write -P 0x91 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-cast5-128-cbc-plain64-sha1.img
394 wrote 10485760/10485760 bytes at offset 104857600
395 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
397 # Write test pattern 0x5e
398 qemu-io -c write -P 0x5e 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-cast5-128-cbc-plain64-sha1.img
399 wrote 10485760/10485760 bytes at offset 3298534883328
400 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
403 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-cast5-128-cbc-plain64-sha1.img qiotest-145-cast5-128-cbc-plain64-sha1
404 # Read test pattern 0x91
405 sudo chown UID:GID /dev/mapper/qiotest-145-cast5-128-cbc-plain64-sha1
406 qemu-io -c read -P 0x91 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-cast5-128-cbc-plain64-sha1
407 read 10485760/10485760 bytes at offset 104857600
408 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
410 # Read test pattern 0x5e
411 sudo chown UID:GID /dev/mapper/qiotest-145-cast5-128-cbc-plain64-sha1
412 qemu-io -c read -P 0x5e 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-cast5-128-cbc-plain64-sha1
413 read 10485760/10485760 bytes at offset 3298534883328
414 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
417 sudo cryptsetup -q -v luksClose qiotest-145-cast5-128-cbc-plain64-sha1
419 unlink TEST_DIR/luks-cast5-128-cbc-plain64-sha1.img
421 # ================= qemu-img cast5-128-cbc-plain64-sha1 =================
423 qemu-img create -f luks --object secret,id=sec0,data=MTIzNDU2,format=base64 -o key-secret=sec0,iter-time=10,cipher-alg=cast5-128,cipher-mode=cbc,ivgen-alg=plain64,hash-alg=sha1 TEST_DIR/luks-cast5-128-cbc-plain64-sha1.img 4194304M
424 Formatting 'TEST_DIR/luks-cast5-128-cbc-plain64-sha1.img', fmt=luks size=4398046511104 key-secret=sec0 cipher-alg=cast5-128 cipher-mode=cbc ivgen-alg=plain64 hash-alg=sha1 iter-time=10
427 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-cast5-128-cbc-plain64-sha1.img qiotest-145-cast5-128-cbc-plain64-sha1
428 # Write test pattern 0xa7
429 sudo chown UID:GID /dev/mapper/qiotest-145-cast5-128-cbc-plain64-sha1
430 qemu-io -c write -P 0xa7 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-cast5-128-cbc-plain64-sha1
431 wrote 10485760/10485760 bytes at offset 104857600
432 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
434 # Write test pattern 0x13
435 sudo chown UID:GID /dev/mapper/qiotest-145-cast5-128-cbc-plain64-sha1
436 qemu-io -c write -P 0x13 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-cast5-128-cbc-plain64-sha1
437 wrote 10485760/10485760 bytes at offset 3298534883328
438 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
441 sudo cryptsetup -q -v luksClose qiotest-145-cast5-128-cbc-plain64-sha1
442 # Read test pattern 0xa7
443 qemu-io -c read -P 0xa7 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-cast5-128-cbc-plain64-sha1.img
444 read 10485760/10485760 bytes at offset 104857600
445 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
447 # Read test pattern 0x13
448 qemu-io -c read -P 0x13 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-cast5-128-cbc-plain64-sha1.img
449 read 10485760/10485760 bytes at offset 3298534883328
450 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
452 # Write test pattern 0x91
453 qemu-io -c write -P 0x91 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-cast5-128-cbc-plain64-sha1.img
454 wrote 10485760/10485760 bytes at offset 104857600
455 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
457 # Write test pattern 0x5e
458 qemu-io -c write -P 0x5e 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-cast5-128-cbc-plain64-sha1.img
459 wrote 10485760/10485760 bytes at offset 3298534883328
460 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
463 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-cast5-128-cbc-plain64-sha1.img qiotest-145-cast5-128-cbc-plain64-sha1
464 # Read test pattern 0x91
465 sudo chown UID:GID /dev/mapper/qiotest-145-cast5-128-cbc-plain64-sha1
466 qemu-io -c read -P 0x91 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-cast5-128-cbc-plain64-sha1
467 read 10485760/10485760 bytes at offset 104857600
468 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
470 # Read test pattern 0x5e
471 sudo chown UID:GID /dev/mapper/qiotest-145-cast5-128-cbc-plain64-sha1
472 qemu-io -c read -P 0x5e 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-cast5-128-cbc-plain64-sha1
473 read 10485760/10485760 bytes at offset 3298534883328
474 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
477 sudo cryptsetup -q -v luksClose qiotest-145-cast5-128-cbc-plain64-sha1
479 unlink TEST_DIR/luks-cast5-128-cbc-plain64-sha1.img
481 Skipping cast6-256-xts-plain64-sha1 in blacklist
482 # ================= dm-crypt aes-256-cbc-plain-sha1 =================
484 truncate TEST_DIR/luks-aes-256-cbc-plain-sha1.img --size 4194304MB
486 sudo cryptsetup -q -v luksFormat --type luks1 --cipher aes-cbc-plain --key-size 256 --hash sha1 --key-slot 0 --key-file - --iter-time 10 TEST_DIR/luks-aes-256-cbc-plain-sha1.img
488 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-256-cbc-plain-sha1.img qiotest-145-aes-256-cbc-plain-sha1
489 # Write test pattern 0xa7
490 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-cbc-plain-sha1
491 qemu-io -c write -P 0xa7 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-cbc-plain-sha1
492 wrote 10485760/10485760 bytes at offset 104857600
493 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
495 # Write test pattern 0x13
496 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-cbc-plain-sha1
497 qemu-io -c write -P 0x13 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-cbc-plain-sha1
498 wrote 10485760/10485760 bytes at offset 3298534883328
499 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
502 sudo cryptsetup -q -v luksClose qiotest-145-aes-256-cbc-plain-sha1
503 # Read test pattern 0xa7
504 qemu-io -c read -P 0xa7 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-cbc-plain-sha1.img
505 read 10485760/10485760 bytes at offset 104857600
506 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
508 # Read test pattern 0x13
509 qemu-io -c read -P 0x13 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-cbc-plain-sha1.img
510 read 10485760/10485760 bytes at offset 3298534883328
511 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
513 # Write test pattern 0x91
514 qemu-io -c write -P 0x91 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-cbc-plain-sha1.img
515 wrote 10485760/10485760 bytes at offset 104857600
516 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
518 # Write test pattern 0x5e
519 qemu-io -c write -P 0x5e 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-cbc-plain-sha1.img
520 wrote 10485760/10485760 bytes at offset 3298534883328
521 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
524 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-256-cbc-plain-sha1.img qiotest-145-aes-256-cbc-plain-sha1
525 # Read test pattern 0x91
526 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-cbc-plain-sha1
527 qemu-io -c read -P 0x91 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-cbc-plain-sha1
528 read 10485760/10485760 bytes at offset 104857600
529 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
531 # Read test pattern 0x5e
532 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-cbc-plain-sha1
533 qemu-io -c read -P 0x5e 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-cbc-plain-sha1
534 read 10485760/10485760 bytes at offset 3298534883328
535 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
538 sudo cryptsetup -q -v luksClose qiotest-145-aes-256-cbc-plain-sha1
540 unlink TEST_DIR/luks-aes-256-cbc-plain-sha1.img
542 # ================= qemu-img aes-256-cbc-plain-sha1 =================
544 qemu-img create -f luks --object secret,id=sec0,data=MTIzNDU2,format=base64 -o key-secret=sec0,iter-time=10,cipher-alg=aes-256,cipher-mode=cbc,ivgen-alg=plain,hash-alg=sha1 TEST_DIR/luks-aes-256-cbc-plain-sha1.img 4194304M
545 Formatting 'TEST_DIR/luks-aes-256-cbc-plain-sha1.img', fmt=luks size=4398046511104 key-secret=sec0 cipher-alg=aes-256 cipher-mode=cbc ivgen-alg=plain hash-alg=sha1 iter-time=10
548 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-256-cbc-plain-sha1.img qiotest-145-aes-256-cbc-plain-sha1
549 # Write test pattern 0xa7
550 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-cbc-plain-sha1
551 qemu-io -c write -P 0xa7 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-cbc-plain-sha1
552 wrote 10485760/10485760 bytes at offset 104857600
553 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
555 # Write test pattern 0x13
556 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-cbc-plain-sha1
557 qemu-io -c write -P 0x13 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-cbc-plain-sha1
558 wrote 10485760/10485760 bytes at offset 3298534883328
559 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
562 sudo cryptsetup -q -v luksClose qiotest-145-aes-256-cbc-plain-sha1
563 # Read test pattern 0xa7
564 qemu-io -c read -P 0xa7 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-cbc-plain-sha1.img
565 read 10485760/10485760 bytes at offset 104857600
566 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
568 # Read test pattern 0x13
569 qemu-io -c read -P 0x13 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-cbc-plain-sha1.img
570 read 10485760/10485760 bytes at offset 3298534883328
571 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
573 # Write test pattern 0x91
574 qemu-io -c write -P 0x91 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-cbc-plain-sha1.img
575 wrote 10485760/10485760 bytes at offset 104857600
576 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
578 # Write test pattern 0x5e
579 qemu-io -c write -P 0x5e 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-cbc-plain-sha1.img
580 wrote 10485760/10485760 bytes at offset 3298534883328
581 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
584 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-256-cbc-plain-sha1.img qiotest-145-aes-256-cbc-plain-sha1
585 # Read test pattern 0x91
586 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-cbc-plain-sha1
587 qemu-io -c read -P 0x91 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-cbc-plain-sha1
588 read 10485760/10485760 bytes at offset 104857600
589 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
591 # Read test pattern 0x5e
592 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-cbc-plain-sha1
593 qemu-io -c read -P 0x5e 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-cbc-plain-sha1
594 read 10485760/10485760 bytes at offset 3298534883328
595 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
598 sudo cryptsetup -q -v luksClose qiotest-145-aes-256-cbc-plain-sha1
600 unlink TEST_DIR/luks-aes-256-cbc-plain-sha1.img
602 # ================= dm-crypt aes-256-cbc-plain64-sha1 =================
604 truncate TEST_DIR/luks-aes-256-cbc-plain64-sha1.img --size 4194304MB
606 sudo cryptsetup -q -v luksFormat --type luks1 --cipher aes-cbc-plain64 --key-size 256 --hash sha1 --key-slot 0 --key-file - --iter-time 10 TEST_DIR/luks-aes-256-cbc-plain64-sha1.img
608 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-256-cbc-plain64-sha1.img qiotest-145-aes-256-cbc-plain64-sha1
609 # Write test pattern 0xa7
610 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-cbc-plain64-sha1
611 qemu-io -c write -P 0xa7 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-cbc-plain64-sha1
612 wrote 10485760/10485760 bytes at offset 104857600
613 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
615 # Write test pattern 0x13
616 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-cbc-plain64-sha1
617 qemu-io -c write -P 0x13 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-cbc-plain64-sha1
618 wrote 10485760/10485760 bytes at offset 3298534883328
619 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
622 sudo cryptsetup -q -v luksClose qiotest-145-aes-256-cbc-plain64-sha1
623 # Read test pattern 0xa7
624 qemu-io -c read -P 0xa7 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-cbc-plain64-sha1.img
625 read 10485760/10485760 bytes at offset 104857600
626 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
628 # Read test pattern 0x13
629 qemu-io -c read -P 0x13 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-cbc-plain64-sha1.img
630 read 10485760/10485760 bytes at offset 3298534883328
631 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
633 # Write test pattern 0x91
634 qemu-io -c write -P 0x91 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-cbc-plain64-sha1.img
635 wrote 10485760/10485760 bytes at offset 104857600
636 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
638 # Write test pattern 0x5e
639 qemu-io -c write -P 0x5e 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-cbc-plain64-sha1.img
640 wrote 10485760/10485760 bytes at offset 3298534883328
641 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
644 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-256-cbc-plain64-sha1.img qiotest-145-aes-256-cbc-plain64-sha1
645 # Read test pattern 0x91
646 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-cbc-plain64-sha1
647 qemu-io -c read -P 0x91 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-cbc-plain64-sha1
648 read 10485760/10485760 bytes at offset 104857600
649 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
651 # Read test pattern 0x5e
652 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-cbc-plain64-sha1
653 qemu-io -c read -P 0x5e 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-cbc-plain64-sha1
654 read 10485760/10485760 bytes at offset 3298534883328
655 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
658 sudo cryptsetup -q -v luksClose qiotest-145-aes-256-cbc-plain64-sha1
660 unlink TEST_DIR/luks-aes-256-cbc-plain64-sha1.img
662 # ================= qemu-img aes-256-cbc-plain64-sha1 =================
664 qemu-img create -f luks --object secret,id=sec0,data=MTIzNDU2,format=base64 -o key-secret=sec0,iter-time=10,cipher-alg=aes-256,cipher-mode=cbc,ivgen-alg=plain64,hash-alg=sha1 TEST_DIR/luks-aes-256-cbc-plain64-sha1.img 4194304M
665 Formatting 'TEST_DIR/luks-aes-256-cbc-plain64-sha1.img', fmt=luks size=4398046511104 key-secret=sec0 cipher-alg=aes-256 cipher-mode=cbc ivgen-alg=plain64 hash-alg=sha1 iter-time=10
668 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-256-cbc-plain64-sha1.img qiotest-145-aes-256-cbc-plain64-sha1
669 # Write test pattern 0xa7
670 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-cbc-plain64-sha1
671 qemu-io -c write -P 0xa7 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-cbc-plain64-sha1
672 wrote 10485760/10485760 bytes at offset 104857600
673 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
675 # Write test pattern 0x13
676 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-cbc-plain64-sha1
677 qemu-io -c write -P 0x13 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-cbc-plain64-sha1
678 wrote 10485760/10485760 bytes at offset 3298534883328
679 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
682 sudo cryptsetup -q -v luksClose qiotest-145-aes-256-cbc-plain64-sha1
683 # Read test pattern 0xa7
684 qemu-io -c read -P 0xa7 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-cbc-plain64-sha1.img
685 read 10485760/10485760 bytes at offset 104857600
686 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
688 # Read test pattern 0x13
689 qemu-io -c read -P 0x13 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-cbc-plain64-sha1.img
690 read 10485760/10485760 bytes at offset 3298534883328
691 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
693 # Write test pattern 0x91
694 qemu-io -c write -P 0x91 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-cbc-plain64-sha1.img
695 wrote 10485760/10485760 bytes at offset 104857600
696 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
698 # Write test pattern 0x5e
699 qemu-io -c write -P 0x5e 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-cbc-plain64-sha1.img
700 wrote 10485760/10485760 bytes at offset 3298534883328
701 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
704 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-256-cbc-plain64-sha1.img qiotest-145-aes-256-cbc-plain64-sha1
705 # Read test pattern 0x91
706 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-cbc-plain64-sha1
707 qemu-io -c read -P 0x91 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-cbc-plain64-sha1
708 read 10485760/10485760 bytes at offset 104857600
709 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
711 # Read test pattern 0x5e
712 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-cbc-plain64-sha1
713 qemu-io -c read -P 0x5e 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-cbc-plain64-sha1
714 read 10485760/10485760 bytes at offset 3298534883328
715 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
718 sudo cryptsetup -q -v luksClose qiotest-145-aes-256-cbc-plain64-sha1
720 unlink TEST_DIR/luks-aes-256-cbc-plain64-sha1.img
722 # ================= dm-crypt aes-256-cbc-essiv-sha256-sha1 =================
724 truncate TEST_DIR/luks-aes-256-cbc-essiv-sha256-sha1.img --size 4194304MB
726 sudo cryptsetup -q -v luksFormat --type luks1 --cipher aes-cbc-essiv:sha256 --key-size 256 --hash sha1 --key-slot 0 --key-file - --iter-time 10 TEST_DIR/luks-aes-256-cbc-essiv-sha256-sha1.img
728 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-256-cbc-essiv-sha256-sha1.img qiotest-145-aes-256-cbc-essiv-sha256-sha1
729 # Write test pattern 0xa7
730 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-cbc-essiv-sha256-sha1
731 qemu-io -c write -P 0xa7 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-cbc-essiv-sha256-sha1
732 wrote 10485760/10485760 bytes at offset 104857600
733 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
735 # Write test pattern 0x13
736 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-cbc-essiv-sha256-sha1
737 qemu-io -c write -P 0x13 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-cbc-essiv-sha256-sha1
738 wrote 10485760/10485760 bytes at offset 3298534883328
739 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
742 sudo cryptsetup -q -v luksClose qiotest-145-aes-256-cbc-essiv-sha256-sha1
743 # Read test pattern 0xa7
744 qemu-io -c read -P 0xa7 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-cbc-essiv-sha256-sha1.img
745 read 10485760/10485760 bytes at offset 104857600
746 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
748 # Read test pattern 0x13
749 qemu-io -c read -P 0x13 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-cbc-essiv-sha256-sha1.img
750 read 10485760/10485760 bytes at offset 3298534883328
751 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
753 # Write test pattern 0x91
754 qemu-io -c write -P 0x91 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-cbc-essiv-sha256-sha1.img
755 wrote 10485760/10485760 bytes at offset 104857600
756 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
758 # Write test pattern 0x5e
759 qemu-io -c write -P 0x5e 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-cbc-essiv-sha256-sha1.img
760 wrote 10485760/10485760 bytes at offset 3298534883328
761 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
764 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-256-cbc-essiv-sha256-sha1.img qiotest-145-aes-256-cbc-essiv-sha256-sha1
765 # Read test pattern 0x91
766 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-cbc-essiv-sha256-sha1
767 qemu-io -c read -P 0x91 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-cbc-essiv-sha256-sha1
768 read 10485760/10485760 bytes at offset 104857600
769 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
771 # Read test pattern 0x5e
772 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-cbc-essiv-sha256-sha1
773 qemu-io -c read -P 0x5e 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-cbc-essiv-sha256-sha1
774 read 10485760/10485760 bytes at offset 3298534883328
775 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
778 sudo cryptsetup -q -v luksClose qiotest-145-aes-256-cbc-essiv-sha256-sha1
780 unlink TEST_DIR/luks-aes-256-cbc-essiv-sha256-sha1.img
782 # ================= qemu-img aes-256-cbc-essiv-sha256-sha1 =================
784 qemu-img create -f luks --object secret,id=sec0,data=MTIzNDU2,format=base64 -o key-secret=sec0,iter-time=10,cipher-alg=aes-256,cipher-mode=cbc,ivgen-alg=essiv,hash-alg=sha1,ivgen-hash-alg=sha256 TEST_DIR/luks-aes-256-cbc-essiv-sha256-sha1.img 4194304M
785 Formatting 'TEST_DIR/luks-aes-256-cbc-essiv-sha256-sha1.img', fmt=luks size=4398046511104 key-secret=sec0 cipher-alg=aes-256 cipher-mode=cbc ivgen-alg=essiv ivgen-hash-alg=sha256 hash-alg=sha1 iter-time=10
788 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-256-cbc-essiv-sha256-sha1.img qiotest-145-aes-256-cbc-essiv-sha256-sha1
789 # Write test pattern 0xa7
790 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-cbc-essiv-sha256-sha1
791 qemu-io -c write -P 0xa7 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-cbc-essiv-sha256-sha1
792 wrote 10485760/10485760 bytes at offset 104857600
793 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
795 # Write test pattern 0x13
796 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-cbc-essiv-sha256-sha1
797 qemu-io -c write -P 0x13 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-cbc-essiv-sha256-sha1
798 wrote 10485760/10485760 bytes at offset 3298534883328
799 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
802 sudo cryptsetup -q -v luksClose qiotest-145-aes-256-cbc-essiv-sha256-sha1
803 # Read test pattern 0xa7
804 qemu-io -c read -P 0xa7 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-cbc-essiv-sha256-sha1.img
805 read 10485760/10485760 bytes at offset 104857600
806 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
808 # Read test pattern 0x13
809 qemu-io -c read -P 0x13 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-cbc-essiv-sha256-sha1.img
810 read 10485760/10485760 bytes at offset 3298534883328
811 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
813 # Write test pattern 0x91
814 qemu-io -c write -P 0x91 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-cbc-essiv-sha256-sha1.img
815 wrote 10485760/10485760 bytes at offset 104857600
816 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
818 # Write test pattern 0x5e
819 qemu-io -c write -P 0x5e 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-cbc-essiv-sha256-sha1.img
820 wrote 10485760/10485760 bytes at offset 3298534883328
821 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
824 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-256-cbc-essiv-sha256-sha1.img qiotest-145-aes-256-cbc-essiv-sha256-sha1
825 # Read test pattern 0x91
826 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-cbc-essiv-sha256-sha1
827 qemu-io -c read -P 0x91 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-cbc-essiv-sha256-sha1
828 read 10485760/10485760 bytes at offset 104857600
829 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
831 # Read test pattern 0x5e
832 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-cbc-essiv-sha256-sha1
833 qemu-io -c read -P 0x5e 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-cbc-essiv-sha256-sha1
834 read 10485760/10485760 bytes at offset 3298534883328
835 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
838 sudo cryptsetup -q -v luksClose qiotest-145-aes-256-cbc-essiv-sha256-sha1
840 unlink TEST_DIR/luks-aes-256-cbc-essiv-sha256-sha1.img
842 # ================= dm-crypt aes-256-xts-essiv-sha256-sha1 =================
844 truncate TEST_DIR/luks-aes-256-xts-essiv-sha256-sha1.img --size 4194304MB
846 sudo cryptsetup -q -v luksFormat --type luks1 --cipher aes-xts-essiv:sha256 --key-size 512 --hash sha1 --key-slot 0 --key-file - --iter-time 10 TEST_DIR/luks-aes-256-xts-essiv-sha256-sha1.img
848 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-256-xts-essiv-sha256-sha1.img qiotest-145-aes-256-xts-essiv-sha256-sha1
849 # Write test pattern 0xa7
850 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-essiv-sha256-sha1
851 qemu-io -c write -P 0xa7 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-xts-essiv-sha256-sha1
852 wrote 10485760/10485760 bytes at offset 104857600
853 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
855 # Write test pattern 0x13
856 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-essiv-sha256-sha1
857 qemu-io -c write -P 0x13 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-xts-essiv-sha256-sha1
858 wrote 10485760/10485760 bytes at offset 3298534883328
859 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
862 sudo cryptsetup -q -v luksClose qiotest-145-aes-256-xts-essiv-sha256-sha1
863 # Read test pattern 0xa7
864 qemu-io -c read -P 0xa7 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-xts-essiv-sha256-sha1.img
865 read 10485760/10485760 bytes at offset 104857600
866 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
868 # Read test pattern 0x13
869 qemu-io -c read -P 0x13 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-xts-essiv-sha256-sha1.img
870 read 10485760/10485760 bytes at offset 3298534883328
871 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
873 # Write test pattern 0x91
874 qemu-io -c write -P 0x91 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-xts-essiv-sha256-sha1.img
875 wrote 10485760/10485760 bytes at offset 104857600
876 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
878 # Write test pattern 0x5e
879 qemu-io -c write -P 0x5e 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-xts-essiv-sha256-sha1.img
880 wrote 10485760/10485760 bytes at offset 3298534883328
881 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
884 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-256-xts-essiv-sha256-sha1.img qiotest-145-aes-256-xts-essiv-sha256-sha1
885 # Read test pattern 0x91
886 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-essiv-sha256-sha1
887 qemu-io -c read -P 0x91 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-xts-essiv-sha256-sha1
888 read 10485760/10485760 bytes at offset 104857600
889 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
891 # Read test pattern 0x5e
892 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-essiv-sha256-sha1
893 qemu-io -c read -P 0x5e 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-xts-essiv-sha256-sha1
894 read 10485760/10485760 bytes at offset 3298534883328
895 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
898 sudo cryptsetup -q -v luksClose qiotest-145-aes-256-xts-essiv-sha256-sha1
900 unlink TEST_DIR/luks-aes-256-xts-essiv-sha256-sha1.img
902 # ================= qemu-img aes-256-xts-essiv-sha256-sha1 =================
904 qemu-img create -f luks --object secret,id=sec0,data=MTIzNDU2,format=base64 -o key-secret=sec0,iter-time=10,cipher-alg=aes-256,cipher-mode=xts,ivgen-alg=essiv,hash-alg=sha1,ivgen-hash-alg=sha256 TEST_DIR/luks-aes-256-xts-essiv-sha256-sha1.img 4194304M
905 Formatting 'TEST_DIR/luks-aes-256-xts-essiv-sha256-sha1.img', fmt=luks size=4398046511104 key-secret=sec0 cipher-alg=aes-256 cipher-mode=xts ivgen-alg=essiv ivgen-hash-alg=sha256 hash-alg=sha1 iter-time=10
908 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-256-xts-essiv-sha256-sha1.img qiotest-145-aes-256-xts-essiv-sha256-sha1
909 # Write test pattern 0xa7
910 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-essiv-sha256-sha1
911 qemu-io -c write -P 0xa7 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-xts-essiv-sha256-sha1
912 wrote 10485760/10485760 bytes at offset 104857600
913 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
915 # Write test pattern 0x13
916 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-essiv-sha256-sha1
917 qemu-io -c write -P 0x13 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-xts-essiv-sha256-sha1
918 wrote 10485760/10485760 bytes at offset 3298534883328
919 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
922 sudo cryptsetup -q -v luksClose qiotest-145-aes-256-xts-essiv-sha256-sha1
923 # Read test pattern 0xa7
924 qemu-io -c read -P 0xa7 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-xts-essiv-sha256-sha1.img
925 read 10485760/10485760 bytes at offset 104857600
926 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
928 # Read test pattern 0x13
929 qemu-io -c read -P 0x13 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-xts-essiv-sha256-sha1.img
930 read 10485760/10485760 bytes at offset 3298534883328
931 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
933 # Write test pattern 0x91
934 qemu-io -c write -P 0x91 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-xts-essiv-sha256-sha1.img
935 wrote 10485760/10485760 bytes at offset 104857600
936 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
938 # Write test pattern 0x5e
939 qemu-io -c write -P 0x5e 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-xts-essiv-sha256-sha1.img
940 wrote 10485760/10485760 bytes at offset 3298534883328
941 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
944 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-256-xts-essiv-sha256-sha1.img qiotest-145-aes-256-xts-essiv-sha256-sha1
945 # Read test pattern 0x91
946 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-essiv-sha256-sha1
947 qemu-io -c read -P 0x91 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-xts-essiv-sha256-sha1
948 read 10485760/10485760 bytes at offset 104857600
949 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
951 # Read test pattern 0x5e
952 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-essiv-sha256-sha1
953 qemu-io -c read -P 0x5e 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-xts-essiv-sha256-sha1
954 read 10485760/10485760 bytes at offset 3298534883328
955 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
958 sudo cryptsetup -q -v luksClose qiotest-145-aes-256-xts-essiv-sha256-sha1
960 unlink TEST_DIR/luks-aes-256-xts-essiv-sha256-sha1.img
962 # ================= dm-crypt aes-128-xts-plain64-sha256-sha1 =================
964 truncate TEST_DIR/luks-aes-128-xts-plain64-sha256-sha1.img --size 4194304MB
966 sudo cryptsetup -q -v luksFormat --type luks1 --cipher aes-xts-plain64 --key-size 256 --hash sha1 --key-slot 0 --key-file - --iter-time 10 TEST_DIR/luks-aes-128-xts-plain64-sha256-sha1.img
968 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-128-xts-plain64-sha256-sha1.img qiotest-145-aes-128-xts-plain64-sha256-sha1
969 # Write test pattern 0xa7
970 sudo chown UID:GID /dev/mapper/qiotest-145-aes-128-xts-plain64-sha256-sha1
971 qemu-io -c write -P 0xa7 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-128-xts-plain64-sha256-sha1
972 wrote 10485760/10485760 bytes at offset 104857600
973 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
975 # Write test pattern 0x13
976 sudo chown UID:GID /dev/mapper/qiotest-145-aes-128-xts-plain64-sha256-sha1
977 qemu-io -c write -P 0x13 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-128-xts-plain64-sha256-sha1
978 wrote 10485760/10485760 bytes at offset 3298534883328
979 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
982 sudo cryptsetup -q -v luksClose qiotest-145-aes-128-xts-plain64-sha256-sha1
983 # Read test pattern 0xa7
984 qemu-io -c read -P 0xa7 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-128-xts-plain64-sha256-sha1.img
985 read 10485760/10485760 bytes at offset 104857600
986 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
988 # Read test pattern 0x13
989 qemu-io -c read -P 0x13 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-128-xts-plain64-sha256-sha1.img
990 read 10485760/10485760 bytes at offset 3298534883328
991 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
993 # Write test pattern 0x91
994 qemu-io -c write -P 0x91 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-128-xts-plain64-sha256-sha1.img
995 wrote 10485760/10485760 bytes at offset 104857600
996 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
998 # Write test pattern 0x5e
999 qemu-io -c write -P 0x5e 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-128-xts-plain64-sha256-sha1.img
1000 wrote 10485760/10485760 bytes at offset 3298534883328
1001 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1004 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-128-xts-plain64-sha256-sha1.img qiotest-145-aes-128-xts-plain64-sha256-sha1
1005 # Read test pattern 0x91
1006 sudo chown UID:GID /dev/mapper/qiotest-145-aes-128-xts-plain64-sha256-sha1
1007 qemu-io -c read -P 0x91 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-128-xts-plain64-sha256-sha1
1008 read 10485760/10485760 bytes at offset 104857600
1009 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1011 # Read test pattern 0x5e
1012 sudo chown UID:GID /dev/mapper/qiotest-145-aes-128-xts-plain64-sha256-sha1
1013 qemu-io -c read -P 0x5e 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-128-xts-plain64-sha256-sha1
1014 read 10485760/10485760 bytes at offset 3298534883328
1015 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1018 sudo cryptsetup -q -v luksClose qiotest-145-aes-128-xts-plain64-sha256-sha1
1020 unlink TEST_DIR/luks-aes-128-xts-plain64-sha256-sha1.img
1022 # ================= qemu-img aes-128-xts-plain64-sha256-sha1 =================
1024 qemu-img create -f luks --object secret,id=sec0,data=MTIzNDU2,format=base64 -o key-secret=sec0,iter-time=10,cipher-alg=aes-128,cipher-mode=xts,ivgen-alg=plain64,hash-alg=sha1 TEST_DIR/luks-aes-128-xts-plain64-sha256-sha1.img 4194304M
1025 Formatting 'TEST_DIR/luks-aes-128-xts-plain64-sha256-sha1.img', fmt=luks size=4398046511104 key-secret=sec0 cipher-alg=aes-128 cipher-mode=xts ivgen-alg=plain64 hash-alg=sha1 iter-time=10
1028 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-128-xts-plain64-sha256-sha1.img qiotest-145-aes-128-xts-plain64-sha256-sha1
1029 # Write test pattern 0xa7
1030 sudo chown UID:GID /dev/mapper/qiotest-145-aes-128-xts-plain64-sha256-sha1
1031 qemu-io -c write -P 0xa7 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-128-xts-plain64-sha256-sha1
1032 wrote 10485760/10485760 bytes at offset 104857600
1033 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1035 # Write test pattern 0x13
1036 sudo chown UID:GID /dev/mapper/qiotest-145-aes-128-xts-plain64-sha256-sha1
1037 qemu-io -c write -P 0x13 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-128-xts-plain64-sha256-sha1
1038 wrote 10485760/10485760 bytes at offset 3298534883328
1039 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1042 sudo cryptsetup -q -v luksClose qiotest-145-aes-128-xts-plain64-sha256-sha1
1043 # Read test pattern 0xa7
1044 qemu-io -c read -P 0xa7 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-128-xts-plain64-sha256-sha1.img
1045 read 10485760/10485760 bytes at offset 104857600
1046 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1048 # Read test pattern 0x13
1049 qemu-io -c read -P 0x13 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-128-xts-plain64-sha256-sha1.img
1050 read 10485760/10485760 bytes at offset 3298534883328
1051 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1053 # Write test pattern 0x91
1054 qemu-io -c write -P 0x91 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-128-xts-plain64-sha256-sha1.img
1055 wrote 10485760/10485760 bytes at offset 104857600
1056 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1058 # Write test pattern 0x5e
1059 qemu-io -c write -P 0x5e 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-128-xts-plain64-sha256-sha1.img
1060 wrote 10485760/10485760 bytes at offset 3298534883328
1061 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1064 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-128-xts-plain64-sha256-sha1.img qiotest-145-aes-128-xts-plain64-sha256-sha1
1065 # Read test pattern 0x91
1066 sudo chown UID:GID /dev/mapper/qiotest-145-aes-128-xts-plain64-sha256-sha1
1067 qemu-io -c read -P 0x91 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-128-xts-plain64-sha256-sha1
1068 read 10485760/10485760 bytes at offset 104857600
1069 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1071 # Read test pattern 0x5e
1072 sudo chown UID:GID /dev/mapper/qiotest-145-aes-128-xts-plain64-sha256-sha1
1073 qemu-io -c read -P 0x5e 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-128-xts-plain64-sha256-sha1
1074 read 10485760/10485760 bytes at offset 3298534883328
1075 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1078 sudo cryptsetup -q -v luksClose qiotest-145-aes-128-xts-plain64-sha256-sha1
1080 unlink TEST_DIR/luks-aes-128-xts-plain64-sha256-sha1.img
1082 # ================= dm-crypt aes-192-xts-plain64-sha256-sha1 =================
1084 truncate TEST_DIR/luks-aes-192-xts-plain64-sha256-sha1.img --size 4194304MB
1086 sudo cryptsetup -q -v luksFormat --type luks1 --cipher aes-xts-plain64 --key-size 384 --hash sha1 --key-slot 0 --key-file - --iter-time 10 TEST_DIR/luks-aes-192-xts-plain64-sha256-sha1.img
1088 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-192-xts-plain64-sha256-sha1.img qiotest-145-aes-192-xts-plain64-sha256-sha1
1089 # Write test pattern 0xa7
1090 sudo chown UID:GID /dev/mapper/qiotest-145-aes-192-xts-plain64-sha256-sha1
1091 qemu-io -c write -P 0xa7 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-192-xts-plain64-sha256-sha1
1092 wrote 10485760/10485760 bytes at offset 104857600
1093 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1095 # Write test pattern 0x13
1096 sudo chown UID:GID /dev/mapper/qiotest-145-aes-192-xts-plain64-sha256-sha1
1097 qemu-io -c write -P 0x13 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-192-xts-plain64-sha256-sha1
1098 wrote 10485760/10485760 bytes at offset 3298534883328
1099 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1102 sudo cryptsetup -q -v luksClose qiotest-145-aes-192-xts-plain64-sha256-sha1
1103 # Read test pattern 0xa7
1104 qemu-io -c read -P 0xa7 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-192-xts-plain64-sha256-sha1.img
1105 read 10485760/10485760 bytes at offset 104857600
1106 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1108 # Read test pattern 0x13
1109 qemu-io -c read -P 0x13 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-192-xts-plain64-sha256-sha1.img
1110 read 10485760/10485760 bytes at offset 3298534883328
1111 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1113 # Write test pattern 0x91
1114 qemu-io -c write -P 0x91 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-192-xts-plain64-sha256-sha1.img
1115 wrote 10485760/10485760 bytes at offset 104857600
1116 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1118 # Write test pattern 0x5e
1119 qemu-io -c write -P 0x5e 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-192-xts-plain64-sha256-sha1.img
1120 wrote 10485760/10485760 bytes at offset 3298534883328
1121 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1124 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-192-xts-plain64-sha256-sha1.img qiotest-145-aes-192-xts-plain64-sha256-sha1
1125 # Read test pattern 0x91
1126 sudo chown UID:GID /dev/mapper/qiotest-145-aes-192-xts-plain64-sha256-sha1
1127 qemu-io -c read -P 0x91 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-192-xts-plain64-sha256-sha1
1128 read 10485760/10485760 bytes at offset 104857600
1129 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1131 # Read test pattern 0x5e
1132 sudo chown UID:GID /dev/mapper/qiotest-145-aes-192-xts-plain64-sha256-sha1
1133 qemu-io -c read -P 0x5e 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-192-xts-plain64-sha256-sha1
1134 read 10485760/10485760 bytes at offset 3298534883328
1135 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1138 sudo cryptsetup -q -v luksClose qiotest-145-aes-192-xts-plain64-sha256-sha1
1140 unlink TEST_DIR/luks-aes-192-xts-plain64-sha256-sha1.img
1142 # ================= qemu-img aes-192-xts-plain64-sha256-sha1 =================
1144 qemu-img create -f luks --object secret,id=sec0,data=MTIzNDU2,format=base64 -o key-secret=sec0,iter-time=10,cipher-alg=aes-192,cipher-mode=xts,ivgen-alg=plain64,hash-alg=sha1 TEST_DIR/luks-aes-192-xts-plain64-sha256-sha1.img 4194304M
1145 Formatting 'TEST_DIR/luks-aes-192-xts-plain64-sha256-sha1.img', fmt=luks size=4398046511104 key-secret=sec0 cipher-alg=aes-192 cipher-mode=xts ivgen-alg=plain64 hash-alg=sha1 iter-time=10
1148 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-192-xts-plain64-sha256-sha1.img qiotest-145-aes-192-xts-plain64-sha256-sha1
1149 # Write test pattern 0xa7
1150 sudo chown UID:GID /dev/mapper/qiotest-145-aes-192-xts-plain64-sha256-sha1
1151 qemu-io -c write -P 0xa7 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-192-xts-plain64-sha256-sha1
1152 wrote 10485760/10485760 bytes at offset 104857600
1153 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1155 # Write test pattern 0x13
1156 sudo chown UID:GID /dev/mapper/qiotest-145-aes-192-xts-plain64-sha256-sha1
1157 qemu-io -c write -P 0x13 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-192-xts-plain64-sha256-sha1
1158 wrote 10485760/10485760 bytes at offset 3298534883328
1159 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1162 sudo cryptsetup -q -v luksClose qiotest-145-aes-192-xts-plain64-sha256-sha1
1163 # Read test pattern 0xa7
1164 qemu-io -c read -P 0xa7 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-192-xts-plain64-sha256-sha1.img
1165 read 10485760/10485760 bytes at offset 104857600
1166 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1168 # Read test pattern 0x13
1169 qemu-io -c read -P 0x13 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-192-xts-plain64-sha256-sha1.img
1170 read 10485760/10485760 bytes at offset 3298534883328
1171 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1173 # Write test pattern 0x91
1174 qemu-io -c write -P 0x91 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-192-xts-plain64-sha256-sha1.img
1175 wrote 10485760/10485760 bytes at offset 104857600
1176 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1178 # Write test pattern 0x5e
1179 qemu-io -c write -P 0x5e 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-192-xts-plain64-sha256-sha1.img
1180 wrote 10485760/10485760 bytes at offset 3298534883328
1181 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1184 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-192-xts-plain64-sha256-sha1.img qiotest-145-aes-192-xts-plain64-sha256-sha1
1185 # Read test pattern 0x91
1186 sudo chown UID:GID /dev/mapper/qiotest-145-aes-192-xts-plain64-sha256-sha1
1187 qemu-io -c read -P 0x91 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-192-xts-plain64-sha256-sha1
1188 read 10485760/10485760 bytes at offset 104857600
1189 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1191 # Read test pattern 0x5e
1192 sudo chown UID:GID /dev/mapper/qiotest-145-aes-192-xts-plain64-sha256-sha1
1193 qemu-io -c read -P 0x5e 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-192-xts-plain64-sha256-sha1
1194 read 10485760/10485760 bytes at offset 3298534883328
1195 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1198 sudo cryptsetup -q -v luksClose qiotest-145-aes-192-xts-plain64-sha256-sha1
1200 unlink TEST_DIR/luks-aes-192-xts-plain64-sha256-sha1.img
1202 # ================= dm-crypt twofish-128-xts-plain64-sha1 =================
1204 truncate TEST_DIR/luks-twofish-128-xts-plain64-sha1.img --size 4194304MB
1206 sudo cryptsetup -q -v luksFormat --type luks1 --cipher twofish-xts-plain64 --key-size 256 --hash sha1 --key-slot 0 --key-file - --iter-time 10 TEST_DIR/luks-twofish-128-xts-plain64-sha1.img
1208 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-twofish-128-xts-plain64-sha1.img qiotest-145-twofish-128-xts-plain64-sha1
1209 # Write test pattern 0xa7
1210 sudo chown UID:GID /dev/mapper/qiotest-145-twofish-128-xts-plain64-sha1
1211 qemu-io -c write -P 0xa7 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-twofish-128-xts-plain64-sha1
1212 wrote 10485760/10485760 bytes at offset 104857600
1213 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1215 # Write test pattern 0x13
1216 sudo chown UID:GID /dev/mapper/qiotest-145-twofish-128-xts-plain64-sha1
1217 qemu-io -c write -P 0x13 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-twofish-128-xts-plain64-sha1
1218 wrote 10485760/10485760 bytes at offset 3298534883328
1219 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1222 sudo cryptsetup -q -v luksClose qiotest-145-twofish-128-xts-plain64-sha1
1223 # Read test pattern 0xa7
1224 qemu-io -c read -P 0xa7 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-twofish-128-xts-plain64-sha1.img
1225 read 10485760/10485760 bytes at offset 104857600
1226 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1228 # Read test pattern 0x13
1229 qemu-io -c read -P 0x13 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-twofish-128-xts-plain64-sha1.img
1230 read 10485760/10485760 bytes at offset 3298534883328
1231 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1233 # Write test pattern 0x91
1234 qemu-io -c write -P 0x91 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-twofish-128-xts-plain64-sha1.img
1235 wrote 10485760/10485760 bytes at offset 104857600
1236 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1238 # Write test pattern 0x5e
1239 qemu-io -c write -P 0x5e 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-twofish-128-xts-plain64-sha1.img
1240 wrote 10485760/10485760 bytes at offset 3298534883328
1241 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1244 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-twofish-128-xts-plain64-sha1.img qiotest-145-twofish-128-xts-plain64-sha1
1245 # Read test pattern 0x91
1246 sudo chown UID:GID /dev/mapper/qiotest-145-twofish-128-xts-plain64-sha1
1247 qemu-io -c read -P 0x91 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-twofish-128-xts-plain64-sha1
1248 read 10485760/10485760 bytes at offset 104857600
1249 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1251 # Read test pattern 0x5e
1252 sudo chown UID:GID /dev/mapper/qiotest-145-twofish-128-xts-plain64-sha1
1253 qemu-io -c read -P 0x5e 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-twofish-128-xts-plain64-sha1
1254 read 10485760/10485760 bytes at offset 3298534883328
1255 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1258 sudo cryptsetup -q -v luksClose qiotest-145-twofish-128-xts-plain64-sha1
1260 unlink TEST_DIR/luks-twofish-128-xts-plain64-sha1.img
1262 # ================= qemu-img twofish-128-xts-plain64-sha1 =================
1264 qemu-img create -f luks --object secret,id=sec0,data=MTIzNDU2,format=base64 -o key-secret=sec0,iter-time=10,cipher-alg=twofish-128,cipher-mode=xts,ivgen-alg=plain64,hash-alg=sha1 TEST_DIR/luks-twofish-128-xts-plain64-sha1.img 4194304M
1265 Formatting 'TEST_DIR/luks-twofish-128-xts-plain64-sha1.img', fmt=luks size=4398046511104 key-secret=sec0 cipher-alg=twofish-128 cipher-mode=xts ivgen-alg=plain64 hash-alg=sha1 iter-time=10
1268 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-twofish-128-xts-plain64-sha1.img qiotest-145-twofish-128-xts-plain64-sha1
1269 # Write test pattern 0xa7
1270 sudo chown UID:GID /dev/mapper/qiotest-145-twofish-128-xts-plain64-sha1
1271 qemu-io -c write -P 0xa7 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-twofish-128-xts-plain64-sha1
1272 wrote 10485760/10485760 bytes at offset 104857600
1273 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1275 # Write test pattern 0x13
1276 sudo chown UID:GID /dev/mapper/qiotest-145-twofish-128-xts-plain64-sha1
1277 qemu-io -c write -P 0x13 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-twofish-128-xts-plain64-sha1
1278 wrote 10485760/10485760 bytes at offset 3298534883328
1279 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1282 sudo cryptsetup -q -v luksClose qiotest-145-twofish-128-xts-plain64-sha1
1283 # Read test pattern 0xa7
1284 qemu-io -c read -P 0xa7 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-twofish-128-xts-plain64-sha1.img
1285 read 10485760/10485760 bytes at offset 104857600
1286 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1288 # Read test pattern 0x13
1289 qemu-io -c read -P 0x13 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-twofish-128-xts-plain64-sha1.img
1290 read 10485760/10485760 bytes at offset 3298534883328
1291 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1293 # Write test pattern 0x91
1294 qemu-io -c write -P 0x91 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-twofish-128-xts-plain64-sha1.img
1295 wrote 10485760/10485760 bytes at offset 104857600
1296 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1298 # Write test pattern 0x5e
1299 qemu-io -c write -P 0x5e 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-twofish-128-xts-plain64-sha1.img
1300 wrote 10485760/10485760 bytes at offset 3298534883328
1301 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1304 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-twofish-128-xts-plain64-sha1.img qiotest-145-twofish-128-xts-plain64-sha1
1305 # Read test pattern 0x91
1306 sudo chown UID:GID /dev/mapper/qiotest-145-twofish-128-xts-plain64-sha1
1307 qemu-io -c read -P 0x91 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-twofish-128-xts-plain64-sha1
1308 read 10485760/10485760 bytes at offset 104857600
1309 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1311 # Read test pattern 0x5e
1312 sudo chown UID:GID /dev/mapper/qiotest-145-twofish-128-xts-plain64-sha1
1313 qemu-io -c read -P 0x5e 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-twofish-128-xts-plain64-sha1
1314 read 10485760/10485760 bytes at offset 3298534883328
1315 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1318 sudo cryptsetup -q -v luksClose qiotest-145-twofish-128-xts-plain64-sha1
1320 unlink TEST_DIR/luks-twofish-128-xts-plain64-sha1.img
1322 Skipping twofish-192-xts-plain64-sha1 in blacklist
1323 # ================= dm-crypt serpent-128-xts-plain64-sha1 =================
1325 truncate TEST_DIR/luks-serpent-128-xts-plain64-sha1.img --size 4194304MB
1327 sudo cryptsetup -q -v luksFormat --type luks1 --cipher serpent-xts-plain64 --key-size 256 --hash sha1 --key-slot 0 --key-file - --iter-time 10 TEST_DIR/luks-serpent-128-xts-plain64-sha1.img
1329 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-serpent-128-xts-plain64-sha1.img qiotest-145-serpent-128-xts-plain64-sha1
1330 # Write test pattern 0xa7
1331 sudo chown UID:GID /dev/mapper/qiotest-145-serpent-128-xts-plain64-sha1
1332 qemu-io -c write -P 0xa7 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-serpent-128-xts-plain64-sha1
1333 wrote 10485760/10485760 bytes at offset 104857600
1334 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1336 # Write test pattern 0x13
1337 sudo chown UID:GID /dev/mapper/qiotest-145-serpent-128-xts-plain64-sha1
1338 qemu-io -c write -P 0x13 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-serpent-128-xts-plain64-sha1
1339 wrote 10485760/10485760 bytes at offset 3298534883328
1340 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1343 sudo cryptsetup -q -v luksClose qiotest-145-serpent-128-xts-plain64-sha1
1344 # Read test pattern 0xa7
1345 qemu-io -c read -P 0xa7 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-serpent-128-xts-plain64-sha1.img
1346 read 10485760/10485760 bytes at offset 104857600
1347 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1349 # Read test pattern 0x13
1350 qemu-io -c read -P 0x13 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-serpent-128-xts-plain64-sha1.img
1351 read 10485760/10485760 bytes at offset 3298534883328
1352 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1354 # Write test pattern 0x91
1355 qemu-io -c write -P 0x91 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-serpent-128-xts-plain64-sha1.img
1356 wrote 10485760/10485760 bytes at offset 104857600
1357 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1359 # Write test pattern 0x5e
1360 qemu-io -c write -P 0x5e 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-serpent-128-xts-plain64-sha1.img
1361 wrote 10485760/10485760 bytes at offset 3298534883328
1362 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1365 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-serpent-128-xts-plain64-sha1.img qiotest-145-serpent-128-xts-plain64-sha1
1366 # Read test pattern 0x91
1367 sudo chown UID:GID /dev/mapper/qiotest-145-serpent-128-xts-plain64-sha1
1368 qemu-io -c read -P 0x91 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-serpent-128-xts-plain64-sha1
1369 read 10485760/10485760 bytes at offset 104857600
1370 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1372 # Read test pattern 0x5e
1373 sudo chown UID:GID /dev/mapper/qiotest-145-serpent-128-xts-plain64-sha1
1374 qemu-io -c read -P 0x5e 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-serpent-128-xts-plain64-sha1
1375 read 10485760/10485760 bytes at offset 3298534883328
1376 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1379 sudo cryptsetup -q -v luksClose qiotest-145-serpent-128-xts-plain64-sha1
1381 unlink TEST_DIR/luks-serpent-128-xts-plain64-sha1.img
1383 # ================= qemu-img serpent-128-xts-plain64-sha1 =================
1385 qemu-img create -f luks --object secret,id=sec0,data=MTIzNDU2,format=base64 -o key-secret=sec0,iter-time=10,cipher-alg=serpent-128,cipher-mode=xts,ivgen-alg=plain64,hash-alg=sha1 TEST_DIR/luks-serpent-128-xts-plain64-sha1.img 4194304M
1386 Formatting 'TEST_DIR/luks-serpent-128-xts-plain64-sha1.img', fmt=luks size=4398046511104 key-secret=sec0 cipher-alg=serpent-128 cipher-mode=xts ivgen-alg=plain64 hash-alg=sha1 iter-time=10
1389 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-serpent-128-xts-plain64-sha1.img qiotest-145-serpent-128-xts-plain64-sha1
1390 # Write test pattern 0xa7
1391 sudo chown UID:GID /dev/mapper/qiotest-145-serpent-128-xts-plain64-sha1
1392 qemu-io -c write -P 0xa7 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-serpent-128-xts-plain64-sha1
1393 wrote 10485760/10485760 bytes at offset 104857600
1394 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1396 # Write test pattern 0x13
1397 sudo chown UID:GID /dev/mapper/qiotest-145-serpent-128-xts-plain64-sha1
1398 qemu-io -c write -P 0x13 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-serpent-128-xts-plain64-sha1
1399 wrote 10485760/10485760 bytes at offset 3298534883328
1400 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1403 sudo cryptsetup -q -v luksClose qiotest-145-serpent-128-xts-plain64-sha1
1404 # Read test pattern 0xa7
1405 qemu-io -c read -P 0xa7 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-serpent-128-xts-plain64-sha1.img
1406 read 10485760/10485760 bytes at offset 104857600
1407 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1409 # Read test pattern 0x13
1410 qemu-io -c read -P 0x13 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-serpent-128-xts-plain64-sha1.img
1411 read 10485760/10485760 bytes at offset 3298534883328
1412 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1414 # Write test pattern 0x91
1415 qemu-io -c write -P 0x91 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-serpent-128-xts-plain64-sha1.img
1416 wrote 10485760/10485760 bytes at offset 104857600
1417 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1419 # Write test pattern 0x5e
1420 qemu-io -c write -P 0x5e 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-serpent-128-xts-plain64-sha1.img
1421 wrote 10485760/10485760 bytes at offset 3298534883328
1422 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1425 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-serpent-128-xts-plain64-sha1.img qiotest-145-serpent-128-xts-plain64-sha1
1426 # Read test pattern 0x91
1427 sudo chown UID:GID /dev/mapper/qiotest-145-serpent-128-xts-plain64-sha1
1428 qemu-io -c read -P 0x91 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-serpent-128-xts-plain64-sha1
1429 read 10485760/10485760 bytes at offset 104857600
1430 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1432 # Read test pattern 0x5e
1433 sudo chown UID:GID /dev/mapper/qiotest-145-serpent-128-xts-plain64-sha1
1434 qemu-io -c read -P 0x5e 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-serpent-128-xts-plain64-sha1
1435 read 10485760/10485760 bytes at offset 3298534883328
1436 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1439 sudo cryptsetup -q -v luksClose qiotest-145-serpent-128-xts-plain64-sha1
1441 unlink TEST_DIR/luks-serpent-128-xts-plain64-sha1.img
1443 # ================= dm-crypt serpent-192-xts-plain64-sha1 =================
1445 truncate TEST_DIR/luks-serpent-192-xts-plain64-sha1.img --size 4194304MB
1447 sudo cryptsetup -q -v luksFormat --type luks1 --cipher serpent-xts-plain64 --key-size 384 --hash sha1 --key-slot 0 --key-file - --iter-time 10 TEST_DIR/luks-serpent-192-xts-plain64-sha1.img
1449 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-serpent-192-xts-plain64-sha1.img qiotest-145-serpent-192-xts-plain64-sha1
1450 # Write test pattern 0xa7
1451 sudo chown UID:GID /dev/mapper/qiotest-145-serpent-192-xts-plain64-sha1
1452 qemu-io -c write -P 0xa7 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-serpent-192-xts-plain64-sha1
1453 wrote 10485760/10485760 bytes at offset 104857600
1454 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1456 # Write test pattern 0x13
1457 sudo chown UID:GID /dev/mapper/qiotest-145-serpent-192-xts-plain64-sha1
1458 qemu-io -c write -P 0x13 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-serpent-192-xts-plain64-sha1
1459 wrote 10485760/10485760 bytes at offset 3298534883328
1460 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1463 sudo cryptsetup -q -v luksClose qiotest-145-serpent-192-xts-plain64-sha1
1464 # Read test pattern 0xa7
1465 qemu-io -c read -P 0xa7 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-serpent-192-xts-plain64-sha1.img
1466 read 10485760/10485760 bytes at offset 104857600
1467 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1469 # Read test pattern 0x13
1470 qemu-io -c read -P 0x13 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-serpent-192-xts-plain64-sha1.img
1471 read 10485760/10485760 bytes at offset 3298534883328
1472 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1474 # Write test pattern 0x91
1475 qemu-io -c write -P 0x91 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-serpent-192-xts-plain64-sha1.img
1476 wrote 10485760/10485760 bytes at offset 104857600
1477 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1479 # Write test pattern 0x5e
1480 qemu-io -c write -P 0x5e 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-serpent-192-xts-plain64-sha1.img
1481 wrote 10485760/10485760 bytes at offset 3298534883328
1482 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1485 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-serpent-192-xts-plain64-sha1.img qiotest-145-serpent-192-xts-plain64-sha1
1486 # Read test pattern 0x91
1487 sudo chown UID:GID /dev/mapper/qiotest-145-serpent-192-xts-plain64-sha1
1488 qemu-io -c read -P 0x91 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-serpent-192-xts-plain64-sha1
1489 read 10485760/10485760 bytes at offset 104857600
1490 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1492 # Read test pattern 0x5e
1493 sudo chown UID:GID /dev/mapper/qiotest-145-serpent-192-xts-plain64-sha1
1494 qemu-io -c read -P 0x5e 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-serpent-192-xts-plain64-sha1
1495 read 10485760/10485760 bytes at offset 3298534883328
1496 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1499 sudo cryptsetup -q -v luksClose qiotest-145-serpent-192-xts-plain64-sha1
1501 unlink TEST_DIR/luks-serpent-192-xts-plain64-sha1.img
1503 # ================= qemu-img serpent-192-xts-plain64-sha1 =================
1505 qemu-img create -f luks --object secret,id=sec0,data=MTIzNDU2,format=base64 -o key-secret=sec0,iter-time=10,cipher-alg=serpent-192,cipher-mode=xts,ivgen-alg=plain64,hash-alg=sha1 TEST_DIR/luks-serpent-192-xts-plain64-sha1.img 4194304M
1506 Formatting 'TEST_DIR/luks-serpent-192-xts-plain64-sha1.img', fmt=luks size=4398046511104 key-secret=sec0 cipher-alg=serpent-192 cipher-mode=xts ivgen-alg=plain64 hash-alg=sha1 iter-time=10
1509 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-serpent-192-xts-plain64-sha1.img qiotest-145-serpent-192-xts-plain64-sha1
1510 # Write test pattern 0xa7
1511 sudo chown UID:GID /dev/mapper/qiotest-145-serpent-192-xts-plain64-sha1
1512 qemu-io -c write -P 0xa7 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-serpent-192-xts-plain64-sha1
1513 wrote 10485760/10485760 bytes at offset 104857600
1514 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1516 # Write test pattern 0x13
1517 sudo chown UID:GID /dev/mapper/qiotest-145-serpent-192-xts-plain64-sha1
1518 qemu-io -c write -P 0x13 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-serpent-192-xts-plain64-sha1
1519 wrote 10485760/10485760 bytes at offset 3298534883328
1520 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1523 sudo cryptsetup -q -v luksClose qiotest-145-serpent-192-xts-plain64-sha1
1524 # Read test pattern 0xa7
1525 qemu-io -c read -P 0xa7 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-serpent-192-xts-plain64-sha1.img
1526 read 10485760/10485760 bytes at offset 104857600
1527 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1529 # Read test pattern 0x13
1530 qemu-io -c read -P 0x13 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-serpent-192-xts-plain64-sha1.img
1531 read 10485760/10485760 bytes at offset 3298534883328
1532 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1534 # Write test pattern 0x91
1535 qemu-io -c write -P 0x91 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-serpent-192-xts-plain64-sha1.img
1536 wrote 10485760/10485760 bytes at offset 104857600
1537 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1539 # Write test pattern 0x5e
1540 qemu-io -c write -P 0x5e 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-serpent-192-xts-plain64-sha1.img
1541 wrote 10485760/10485760 bytes at offset 3298534883328
1542 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1545 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-serpent-192-xts-plain64-sha1.img qiotest-145-serpent-192-xts-plain64-sha1
1546 # Read test pattern 0x91
1547 sudo chown UID:GID /dev/mapper/qiotest-145-serpent-192-xts-plain64-sha1
1548 qemu-io -c read -P 0x91 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-serpent-192-xts-plain64-sha1
1549 read 10485760/10485760 bytes at offset 104857600
1550 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1552 # Read test pattern 0x5e
1553 sudo chown UID:GID /dev/mapper/qiotest-145-serpent-192-xts-plain64-sha1
1554 qemu-io -c read -P 0x5e 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-serpent-192-xts-plain64-sha1
1555 read 10485760/10485760 bytes at offset 3298534883328
1556 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1559 sudo cryptsetup -q -v luksClose qiotest-145-serpent-192-xts-plain64-sha1
1561 unlink TEST_DIR/luks-serpent-192-xts-plain64-sha1.img
1563 Skipping cast6-128-xts-plain64-sha1 in blacklist
1564 Skipping cast6-192-xts-plain64-sha1 in blacklist
1565 # ================= dm-crypt aes-256-xts-plain64-sha224 =================
1567 truncate TEST_DIR/luks-aes-256-xts-plain64-sha224.img --size 4194304MB
1569 sudo cryptsetup -q -v luksFormat --type luks1 --cipher aes-xts-plain64 --key-size 512 --hash sha224 --key-slot 0 --key-file - --iter-time 10 TEST_DIR/luks-aes-256-xts-plain64-sha224.img
1571 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-256-xts-plain64-sha224.img qiotest-145-aes-256-xts-plain64-sha224
1572 # Write test pattern 0xa7
1573 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-plain64-sha224
1574 qemu-io -c write -P 0xa7 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-xts-plain64-sha224
1575 wrote 10485760/10485760 bytes at offset 104857600
1576 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1578 # Write test pattern 0x13
1579 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-plain64-sha224
1580 qemu-io -c write -P 0x13 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-xts-plain64-sha224
1581 wrote 10485760/10485760 bytes at offset 3298534883328
1582 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1585 sudo cryptsetup -q -v luksClose qiotest-145-aes-256-xts-plain64-sha224
1586 # Read test pattern 0xa7
1587 qemu-io -c read -P 0xa7 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-xts-plain64-sha224.img
1588 read 10485760/10485760 bytes at offset 104857600
1589 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1591 # Read test pattern 0x13
1592 qemu-io -c read -P 0x13 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-xts-plain64-sha224.img
1593 read 10485760/10485760 bytes at offset 3298534883328
1594 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1596 # Write test pattern 0x91
1597 qemu-io -c write -P 0x91 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-xts-plain64-sha224.img
1598 wrote 10485760/10485760 bytes at offset 104857600
1599 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1601 # Write test pattern 0x5e
1602 qemu-io -c write -P 0x5e 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-xts-plain64-sha224.img
1603 wrote 10485760/10485760 bytes at offset 3298534883328
1604 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1607 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-256-xts-plain64-sha224.img qiotest-145-aes-256-xts-plain64-sha224
1608 # Read test pattern 0x91
1609 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-plain64-sha224
1610 qemu-io -c read -P 0x91 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-xts-plain64-sha224
1611 read 10485760/10485760 bytes at offset 104857600
1612 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1614 # Read test pattern 0x5e
1615 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-plain64-sha224
1616 qemu-io -c read -P 0x5e 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-xts-plain64-sha224
1617 read 10485760/10485760 bytes at offset 3298534883328
1618 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1621 sudo cryptsetup -q -v luksClose qiotest-145-aes-256-xts-plain64-sha224
1623 unlink TEST_DIR/luks-aes-256-xts-plain64-sha224.img
1625 # ================= qemu-img aes-256-xts-plain64-sha224 =================
1627 qemu-img create -f luks --object secret,id=sec0,data=MTIzNDU2,format=base64 -o key-secret=sec0,iter-time=10,cipher-alg=aes-256,cipher-mode=xts,ivgen-alg=plain64,hash-alg=sha224 TEST_DIR/luks-aes-256-xts-plain64-sha224.img 4194304M
1628 Formatting 'TEST_DIR/luks-aes-256-xts-plain64-sha224.img', fmt=luks size=4398046511104 key-secret=sec0 cipher-alg=aes-256 cipher-mode=xts ivgen-alg=plain64 hash-alg=sha224 iter-time=10
1631 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-256-xts-plain64-sha224.img qiotest-145-aes-256-xts-plain64-sha224
1632 # Write test pattern 0xa7
1633 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-plain64-sha224
1634 qemu-io -c write -P 0xa7 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-xts-plain64-sha224
1635 wrote 10485760/10485760 bytes at offset 104857600
1636 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1638 # Write test pattern 0x13
1639 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-plain64-sha224
1640 qemu-io -c write -P 0x13 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-xts-plain64-sha224
1641 wrote 10485760/10485760 bytes at offset 3298534883328
1642 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1645 sudo cryptsetup -q -v luksClose qiotest-145-aes-256-xts-plain64-sha224
1646 # Read test pattern 0xa7
1647 qemu-io -c read -P 0xa7 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-xts-plain64-sha224.img
1648 read 10485760/10485760 bytes at offset 104857600
1649 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1651 # Read test pattern 0x13
1652 qemu-io -c read -P 0x13 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-xts-plain64-sha224.img
1653 read 10485760/10485760 bytes at offset 3298534883328
1654 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1656 # Write test pattern 0x91
1657 qemu-io -c write -P 0x91 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-xts-plain64-sha224.img
1658 wrote 10485760/10485760 bytes at offset 104857600
1659 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1661 # Write test pattern 0x5e
1662 qemu-io -c write -P 0x5e 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-xts-plain64-sha224.img
1663 wrote 10485760/10485760 bytes at offset 3298534883328
1664 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1667 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-256-xts-plain64-sha224.img qiotest-145-aes-256-xts-plain64-sha224
1668 # Read test pattern 0x91
1669 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-plain64-sha224
1670 qemu-io -c read -P 0x91 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-xts-plain64-sha224
1671 read 10485760/10485760 bytes at offset 104857600
1672 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1674 # Read test pattern 0x5e
1675 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-plain64-sha224
1676 qemu-io -c read -P 0x5e 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-xts-plain64-sha224
1677 read 10485760/10485760 bytes at offset 3298534883328
1678 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1681 sudo cryptsetup -q -v luksClose qiotest-145-aes-256-xts-plain64-sha224
1683 unlink TEST_DIR/luks-aes-256-xts-plain64-sha224.img
1685 # ================= dm-crypt aes-256-xts-plain64-sha256 =================
1687 truncate TEST_DIR/luks-aes-256-xts-plain64-sha256.img --size 4194304MB
1689 sudo cryptsetup -q -v luksFormat --type luks1 --cipher aes-xts-plain64 --key-size 512 --hash sha256 --key-slot 0 --key-file - --iter-time 10 TEST_DIR/luks-aes-256-xts-plain64-sha256.img
1691 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-256-xts-plain64-sha256.img qiotest-145-aes-256-xts-plain64-sha256
1692 # Write test pattern 0xa7
1693 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-plain64-sha256
1694 qemu-io -c write -P 0xa7 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-xts-plain64-sha256
1695 wrote 10485760/10485760 bytes at offset 104857600
1696 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1698 # Write test pattern 0x13
1699 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-plain64-sha256
1700 qemu-io -c write -P 0x13 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-xts-plain64-sha256
1701 wrote 10485760/10485760 bytes at offset 3298534883328
1702 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1705 sudo cryptsetup -q -v luksClose qiotest-145-aes-256-xts-plain64-sha256
1706 # Read test pattern 0xa7
1707 qemu-io -c read -P 0xa7 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-xts-plain64-sha256.img
1708 read 10485760/10485760 bytes at offset 104857600
1709 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1711 # Read test pattern 0x13
1712 qemu-io -c read -P 0x13 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-xts-plain64-sha256.img
1713 read 10485760/10485760 bytes at offset 3298534883328
1714 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1716 # Write test pattern 0x91
1717 qemu-io -c write -P 0x91 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-xts-plain64-sha256.img
1718 wrote 10485760/10485760 bytes at offset 104857600
1719 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1721 # Write test pattern 0x5e
1722 qemu-io -c write -P 0x5e 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-xts-plain64-sha256.img
1723 wrote 10485760/10485760 bytes at offset 3298534883328
1724 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1727 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-256-xts-plain64-sha256.img qiotest-145-aes-256-xts-plain64-sha256
1728 # Read test pattern 0x91
1729 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-plain64-sha256
1730 qemu-io -c read -P 0x91 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-xts-plain64-sha256
1731 read 10485760/10485760 bytes at offset 104857600
1732 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1734 # Read test pattern 0x5e
1735 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-plain64-sha256
1736 qemu-io -c read -P 0x5e 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-xts-plain64-sha256
1737 read 10485760/10485760 bytes at offset 3298534883328
1738 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1741 sudo cryptsetup -q -v luksClose qiotest-145-aes-256-xts-plain64-sha256
1743 unlink TEST_DIR/luks-aes-256-xts-plain64-sha256.img
1745 # ================= qemu-img aes-256-xts-plain64-sha256 =================
1747 qemu-img create -f luks --object secret,id=sec0,data=MTIzNDU2,format=base64 -o key-secret=sec0,iter-time=10,cipher-alg=aes-256,cipher-mode=xts,ivgen-alg=plain64,hash-alg=sha256 TEST_DIR/luks-aes-256-xts-plain64-sha256.img 4194304M
1748 Formatting 'TEST_DIR/luks-aes-256-xts-plain64-sha256.img', fmt=luks size=4398046511104 key-secret=sec0 cipher-alg=aes-256 cipher-mode=xts ivgen-alg=plain64 hash-alg=sha256 iter-time=10
1751 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-256-xts-plain64-sha256.img qiotest-145-aes-256-xts-plain64-sha256
1752 # Write test pattern 0xa7
1753 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-plain64-sha256
1754 qemu-io -c write -P 0xa7 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-xts-plain64-sha256
1755 wrote 10485760/10485760 bytes at offset 104857600
1756 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1758 # Write test pattern 0x13
1759 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-plain64-sha256
1760 qemu-io -c write -P 0x13 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-xts-plain64-sha256
1761 wrote 10485760/10485760 bytes at offset 3298534883328
1762 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1765 sudo cryptsetup -q -v luksClose qiotest-145-aes-256-xts-plain64-sha256
1766 # Read test pattern 0xa7
1767 qemu-io -c read -P 0xa7 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-xts-plain64-sha256.img
1768 read 10485760/10485760 bytes at offset 104857600
1769 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1771 # Read test pattern 0x13
1772 qemu-io -c read -P 0x13 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-xts-plain64-sha256.img
1773 read 10485760/10485760 bytes at offset 3298534883328
1774 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1776 # Write test pattern 0x91
1777 qemu-io -c write -P 0x91 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-xts-plain64-sha256.img
1778 wrote 10485760/10485760 bytes at offset 104857600
1779 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1781 # Write test pattern 0x5e
1782 qemu-io -c write -P 0x5e 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-xts-plain64-sha256.img
1783 wrote 10485760/10485760 bytes at offset 3298534883328
1784 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1787 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-256-xts-plain64-sha256.img qiotest-145-aes-256-xts-plain64-sha256
1788 # Read test pattern 0x91
1789 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-plain64-sha256
1790 qemu-io -c read -P 0x91 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-xts-plain64-sha256
1791 read 10485760/10485760 bytes at offset 104857600
1792 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1794 # Read test pattern 0x5e
1795 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-plain64-sha256
1796 qemu-io -c read -P 0x5e 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-xts-plain64-sha256
1797 read 10485760/10485760 bytes at offset 3298534883328
1798 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1801 sudo cryptsetup -q -v luksClose qiotest-145-aes-256-xts-plain64-sha256
1803 unlink TEST_DIR/luks-aes-256-xts-plain64-sha256.img
1805 # ================= dm-crypt aes-256-xts-plain64-sha384 =================
1807 truncate TEST_DIR/luks-aes-256-xts-plain64-sha384.img --size 4194304MB
1809 sudo cryptsetup -q -v luksFormat --type luks1 --cipher aes-xts-plain64 --key-size 512 --hash sha384 --key-slot 0 --key-file - --iter-time 10 TEST_DIR/luks-aes-256-xts-plain64-sha384.img
1811 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-256-xts-plain64-sha384.img qiotest-145-aes-256-xts-plain64-sha384
1812 # Write test pattern 0xa7
1813 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-plain64-sha384
1814 qemu-io -c write -P 0xa7 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-xts-plain64-sha384
1815 wrote 10485760/10485760 bytes at offset 104857600
1816 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1818 # Write test pattern 0x13
1819 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-plain64-sha384
1820 qemu-io -c write -P 0x13 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-xts-plain64-sha384
1821 wrote 10485760/10485760 bytes at offset 3298534883328
1822 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1825 sudo cryptsetup -q -v luksClose qiotest-145-aes-256-xts-plain64-sha384
1826 # Read test pattern 0xa7
1827 qemu-io -c read -P 0xa7 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-xts-plain64-sha384.img
1828 read 10485760/10485760 bytes at offset 104857600
1829 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1831 # Read test pattern 0x13
1832 qemu-io -c read -P 0x13 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-xts-plain64-sha384.img
1833 read 10485760/10485760 bytes at offset 3298534883328
1834 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1836 # Write test pattern 0x91
1837 qemu-io -c write -P 0x91 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-xts-plain64-sha384.img
1838 wrote 10485760/10485760 bytes at offset 104857600
1839 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1841 # Write test pattern 0x5e
1842 qemu-io -c write -P 0x5e 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-xts-plain64-sha384.img
1843 wrote 10485760/10485760 bytes at offset 3298534883328
1844 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1847 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-256-xts-plain64-sha384.img qiotest-145-aes-256-xts-plain64-sha384
1848 # Read test pattern 0x91
1849 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-plain64-sha384
1850 qemu-io -c read -P 0x91 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-xts-plain64-sha384
1851 read 10485760/10485760 bytes at offset 104857600
1852 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1854 # Read test pattern 0x5e
1855 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-plain64-sha384
1856 qemu-io -c read -P 0x5e 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-xts-plain64-sha384
1857 read 10485760/10485760 bytes at offset 3298534883328
1858 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1861 sudo cryptsetup -q -v luksClose qiotest-145-aes-256-xts-plain64-sha384
1863 unlink TEST_DIR/luks-aes-256-xts-plain64-sha384.img
1865 # ================= qemu-img aes-256-xts-plain64-sha384 =================
1867 qemu-img create -f luks --object secret,id=sec0,data=MTIzNDU2,format=base64 -o key-secret=sec0,iter-time=10,cipher-alg=aes-256,cipher-mode=xts,ivgen-alg=plain64,hash-alg=sha384 TEST_DIR/luks-aes-256-xts-plain64-sha384.img 4194304M
1868 Formatting 'TEST_DIR/luks-aes-256-xts-plain64-sha384.img', fmt=luks size=4398046511104 key-secret=sec0 cipher-alg=aes-256 cipher-mode=xts ivgen-alg=plain64 hash-alg=sha384 iter-time=10
1871 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-256-xts-plain64-sha384.img qiotest-145-aes-256-xts-plain64-sha384
1872 # Write test pattern 0xa7
1873 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-plain64-sha384
1874 qemu-io -c write -P 0xa7 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-xts-plain64-sha384
1875 wrote 10485760/10485760 bytes at offset 104857600
1876 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1878 # Write test pattern 0x13
1879 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-plain64-sha384
1880 qemu-io -c write -P 0x13 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-xts-plain64-sha384
1881 wrote 10485760/10485760 bytes at offset 3298534883328
1882 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1885 sudo cryptsetup -q -v luksClose qiotest-145-aes-256-xts-plain64-sha384
1886 # Read test pattern 0xa7
1887 qemu-io -c read -P 0xa7 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-xts-plain64-sha384.img
1888 read 10485760/10485760 bytes at offset 104857600
1889 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1891 # Read test pattern 0x13
1892 qemu-io -c read -P 0x13 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-xts-plain64-sha384.img
1893 read 10485760/10485760 bytes at offset 3298534883328
1894 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1896 # Write test pattern 0x91
1897 qemu-io -c write -P 0x91 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-xts-plain64-sha384.img
1898 wrote 10485760/10485760 bytes at offset 104857600
1899 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1901 # Write test pattern 0x5e
1902 qemu-io -c write -P 0x5e 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-xts-plain64-sha384.img
1903 wrote 10485760/10485760 bytes at offset 3298534883328
1904 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1907 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-256-xts-plain64-sha384.img qiotest-145-aes-256-xts-plain64-sha384
1908 # Read test pattern 0x91
1909 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-plain64-sha384
1910 qemu-io -c read -P 0x91 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-xts-plain64-sha384
1911 read 10485760/10485760 bytes at offset 104857600
1912 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1914 # Read test pattern 0x5e
1915 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-plain64-sha384
1916 qemu-io -c read -P 0x5e 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-xts-plain64-sha384
1917 read 10485760/10485760 bytes at offset 3298534883328
1918 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1921 sudo cryptsetup -q -v luksClose qiotest-145-aes-256-xts-plain64-sha384
1923 unlink TEST_DIR/luks-aes-256-xts-plain64-sha384.img
1925 # ================= dm-crypt aes-256-xts-plain64-sha512 =================
1927 truncate TEST_DIR/luks-aes-256-xts-plain64-sha512.img --size 4194304MB
1929 sudo cryptsetup -q -v luksFormat --type luks1 --cipher aes-xts-plain64 --key-size 512 --hash sha512 --key-slot 0 --key-file - --iter-time 10 TEST_DIR/luks-aes-256-xts-plain64-sha512.img
1931 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-256-xts-plain64-sha512.img qiotest-145-aes-256-xts-plain64-sha512
1932 # Write test pattern 0xa7
1933 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-plain64-sha512
1934 qemu-io -c write -P 0xa7 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-xts-plain64-sha512
1935 wrote 10485760/10485760 bytes at offset 104857600
1936 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1938 # Write test pattern 0x13
1939 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-plain64-sha512
1940 qemu-io -c write -P 0x13 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-xts-plain64-sha512
1941 wrote 10485760/10485760 bytes at offset 3298534883328
1942 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1945 sudo cryptsetup -q -v luksClose qiotest-145-aes-256-xts-plain64-sha512
1946 # Read test pattern 0xa7
1947 qemu-io -c read -P 0xa7 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-xts-plain64-sha512.img
1948 read 10485760/10485760 bytes at offset 104857600
1949 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1951 # Read test pattern 0x13
1952 qemu-io -c read -P 0x13 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-xts-plain64-sha512.img
1953 read 10485760/10485760 bytes at offset 3298534883328
1954 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1956 # Write test pattern 0x91
1957 qemu-io -c write -P 0x91 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-xts-plain64-sha512.img
1958 wrote 10485760/10485760 bytes at offset 104857600
1959 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1961 # Write test pattern 0x5e
1962 qemu-io -c write -P 0x5e 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-xts-plain64-sha512.img
1963 wrote 10485760/10485760 bytes at offset 3298534883328
1964 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1967 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-256-xts-plain64-sha512.img qiotest-145-aes-256-xts-plain64-sha512
1968 # Read test pattern 0x91
1969 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-plain64-sha512
1970 qemu-io -c read -P 0x91 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-xts-plain64-sha512
1971 read 10485760/10485760 bytes at offset 104857600
1972 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1974 # Read test pattern 0x5e
1975 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-plain64-sha512
1976 qemu-io -c read -P 0x5e 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-xts-plain64-sha512
1977 read 10485760/10485760 bytes at offset 3298534883328
1978 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1981 sudo cryptsetup -q -v luksClose qiotest-145-aes-256-xts-plain64-sha512
1983 unlink TEST_DIR/luks-aes-256-xts-plain64-sha512.img
1985 # ================= qemu-img aes-256-xts-plain64-sha512 =================
1987 qemu-img create -f luks --object secret,id=sec0,data=MTIzNDU2,format=base64 -o key-secret=sec0,iter-time=10,cipher-alg=aes-256,cipher-mode=xts,ivgen-alg=plain64,hash-alg=sha512 TEST_DIR/luks-aes-256-xts-plain64-sha512.img 4194304M
1988 Formatting 'TEST_DIR/luks-aes-256-xts-plain64-sha512.img', fmt=luks size=4398046511104 key-secret=sec0 cipher-alg=aes-256 cipher-mode=xts ivgen-alg=plain64 hash-alg=sha512 iter-time=10
1991 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-256-xts-plain64-sha512.img qiotest-145-aes-256-xts-plain64-sha512
1992 # Write test pattern 0xa7
1993 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-plain64-sha512
1994 qemu-io -c write -P 0xa7 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-xts-plain64-sha512
1995 wrote 10485760/10485760 bytes at offset 104857600
1996 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1998 # Write test pattern 0x13
1999 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-plain64-sha512
2000 qemu-io -c write -P 0x13 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-xts-plain64-sha512
2001 wrote 10485760/10485760 bytes at offset 3298534883328
2002 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2005 sudo cryptsetup -q -v luksClose qiotest-145-aes-256-xts-plain64-sha512
2006 # Read test pattern 0xa7
2007 qemu-io -c read -P 0xa7 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-xts-plain64-sha512.img
2008 read 10485760/10485760 bytes at offset 104857600
2009 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2011 # Read test pattern 0x13
2012 qemu-io -c read -P 0x13 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-xts-plain64-sha512.img
2013 read 10485760/10485760 bytes at offset 3298534883328
2014 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2016 # Write test pattern 0x91
2017 qemu-io -c write -P 0x91 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-xts-plain64-sha512.img
2018 wrote 10485760/10485760 bytes at offset 104857600
2019 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2021 # Write test pattern 0x5e
2022 qemu-io -c write -P 0x5e 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-xts-plain64-sha512.img
2023 wrote 10485760/10485760 bytes at offset 3298534883328
2024 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2027 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-256-xts-plain64-sha512.img qiotest-145-aes-256-xts-plain64-sha512
2028 # Read test pattern 0x91
2029 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-plain64-sha512
2030 qemu-io -c read -P 0x91 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-xts-plain64-sha512
2031 read 10485760/10485760 bytes at offset 104857600
2032 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2034 # Read test pattern 0x5e
2035 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-plain64-sha512
2036 qemu-io -c read -P 0x5e 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-xts-plain64-sha512
2037 read 10485760/10485760 bytes at offset 3298534883328
2038 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2041 sudo cryptsetup -q -v luksClose qiotest-145-aes-256-xts-plain64-sha512
2043 unlink TEST_DIR/luks-aes-256-xts-plain64-sha512.img
2045 # ================= dm-crypt aes-256-xts-plain64-ripemd160 =================
2047 truncate TEST_DIR/luks-aes-256-xts-plain64-ripemd160.img --size 4194304MB
2049 sudo cryptsetup -q -v luksFormat --type luks1 --cipher aes-xts-plain64 --key-size 512 --hash ripemd160 --key-slot 0 --key-file - --iter-time 10 TEST_DIR/luks-aes-256-xts-plain64-ripemd160.img
2051 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-256-xts-plain64-ripemd160.img qiotest-145-aes-256-xts-plain64-ripemd160
2052 # Write test pattern 0xa7
2053 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-plain64-ripemd160
2054 qemu-io -c write -P 0xa7 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-xts-plain64-ripemd160
2055 wrote 10485760/10485760 bytes at offset 104857600
2056 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2058 # Write test pattern 0x13
2059 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-plain64-ripemd160
2060 qemu-io -c write -P 0x13 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-xts-plain64-ripemd160
2061 wrote 10485760/10485760 bytes at offset 3298534883328
2062 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2065 sudo cryptsetup -q -v luksClose qiotest-145-aes-256-xts-plain64-ripemd160
2066 # Read test pattern 0xa7
2067 qemu-io -c read -P 0xa7 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-xts-plain64-ripemd160.img
2068 read 10485760/10485760 bytes at offset 104857600
2069 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2071 # Read test pattern 0x13
2072 qemu-io -c read -P 0x13 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-xts-plain64-ripemd160.img
2073 read 10485760/10485760 bytes at offset 3298534883328
2074 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2076 # Write test pattern 0x91
2077 qemu-io -c write -P 0x91 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-xts-plain64-ripemd160.img
2078 wrote 10485760/10485760 bytes at offset 104857600
2079 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2081 # Write test pattern 0x5e
2082 qemu-io -c write -P 0x5e 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-xts-plain64-ripemd160.img
2083 wrote 10485760/10485760 bytes at offset 3298534883328
2084 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2087 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-256-xts-plain64-ripemd160.img qiotest-145-aes-256-xts-plain64-ripemd160
2088 # Read test pattern 0x91
2089 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-plain64-ripemd160
2090 qemu-io -c read -P 0x91 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-xts-plain64-ripemd160
2091 read 10485760/10485760 bytes at offset 104857600
2092 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2094 # Read test pattern 0x5e
2095 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-plain64-ripemd160
2096 qemu-io -c read -P 0x5e 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-xts-plain64-ripemd160
2097 read 10485760/10485760 bytes at offset 3298534883328
2098 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2101 sudo cryptsetup -q -v luksClose qiotest-145-aes-256-xts-plain64-ripemd160
2103 unlink TEST_DIR/luks-aes-256-xts-plain64-ripemd160.img
2105 # ================= qemu-img aes-256-xts-plain64-ripemd160 =================
2107 qemu-img create -f luks --object secret,id=sec0,data=MTIzNDU2,format=base64 -o key-secret=sec0,iter-time=10,cipher-alg=aes-256,cipher-mode=xts,ivgen-alg=plain64,hash-alg=ripemd160 TEST_DIR/luks-aes-256-xts-plain64-ripemd160.img 4194304M
2108 Formatting 'TEST_DIR/luks-aes-256-xts-plain64-ripemd160.img', fmt=luks size=4398046511104 key-secret=sec0 cipher-alg=aes-256 cipher-mode=xts ivgen-alg=plain64 hash-alg=ripemd160 iter-time=10
2111 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-256-xts-plain64-ripemd160.img qiotest-145-aes-256-xts-plain64-ripemd160
2112 # Write test pattern 0xa7
2113 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-plain64-ripemd160
2114 qemu-io -c write -P 0xa7 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-xts-plain64-ripemd160
2115 wrote 10485760/10485760 bytes at offset 104857600
2116 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2118 # Write test pattern 0x13
2119 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-plain64-ripemd160
2120 qemu-io -c write -P 0x13 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-xts-plain64-ripemd160
2121 wrote 10485760/10485760 bytes at offset 3298534883328
2122 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2125 sudo cryptsetup -q -v luksClose qiotest-145-aes-256-xts-plain64-ripemd160
2126 # Read test pattern 0xa7
2127 qemu-io -c read -P 0xa7 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-xts-plain64-ripemd160.img
2128 read 10485760/10485760 bytes at offset 104857600
2129 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2131 # Read test pattern 0x13
2132 qemu-io -c read -P 0x13 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-xts-plain64-ripemd160.img
2133 read 10485760/10485760 bytes at offset 3298534883328
2134 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2136 # Write test pattern 0x91
2137 qemu-io -c write -P 0x91 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-xts-plain64-ripemd160.img
2138 wrote 10485760/10485760 bytes at offset 104857600
2139 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2141 # Write test pattern 0x5e
2142 qemu-io -c write -P 0x5e 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-xts-plain64-ripemd160.img
2143 wrote 10485760/10485760 bytes at offset 3298534883328
2144 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2147 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-256-xts-plain64-ripemd160.img qiotest-145-aes-256-xts-plain64-ripemd160
2148 # Read test pattern 0x91
2149 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-plain64-ripemd160
2150 qemu-io -c read -P 0x91 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-xts-plain64-ripemd160
2151 read 10485760/10485760 bytes at offset 104857600
2152 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2154 # Read test pattern 0x5e
2155 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-plain64-ripemd160
2156 qemu-io -c read -P 0x5e 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-xts-plain64-ripemd160
2157 read 10485760/10485760 bytes at offset 3298534883328
2158 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2161 sudo cryptsetup -q -v luksClose qiotest-145-aes-256-xts-plain64-ripemd160
2163 unlink TEST_DIR/luks-aes-256-xts-plain64-ripemd160.img
2165 # ================= dm-crypt aes-256-xts-plain-sha1-pwslot3 =================
2167 truncate TEST_DIR/luks-aes-256-xts-plain-sha1-pwslot3.img --size 4194304MB
2169 sudo cryptsetup -q -v luksFormat --type luks1 --cipher aes-xts-plain --key-size 512 --hash sha1 --key-slot 3 --key-file - --iter-time 10 TEST_DIR/luks-aes-256-xts-plain-sha1-pwslot3.img
2171 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-256-xts-plain-sha1-pwslot3.img qiotest-145-aes-256-xts-plain-sha1-pwslot3
2172 # Write test pattern 0xa7
2173 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-plain-sha1-pwslot3
2174 qemu-io -c write -P 0xa7 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-xts-plain-sha1-pwslot3
2175 wrote 10485760/10485760 bytes at offset 104857600
2176 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2178 # Write test pattern 0x13
2179 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-plain-sha1-pwslot3
2180 qemu-io -c write -P 0x13 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-xts-plain-sha1-pwslot3
2181 wrote 10485760/10485760 bytes at offset 3298534883328
2182 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2185 sudo cryptsetup -q -v luksClose qiotest-145-aes-256-xts-plain-sha1-pwslot3
2186 # Read test pattern 0xa7
2187 qemu-io -c read -P 0xa7 100M 10M --object secret,id=sec0,data=c2xvdDM=,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-xts-plain-sha1-pwslot3.img
2188 read 10485760/10485760 bytes at offset 104857600
2189 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2191 # Read test pattern 0x13
2192 qemu-io -c read -P 0x13 3145728M 10M --object secret,id=sec0,data=c2xvdDM=,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-xts-plain-sha1-pwslot3.img
2193 read 10485760/10485760 bytes at offset 3298534883328
2194 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2196 # Write test pattern 0x91
2197 qemu-io -c write -P 0x91 100M 10M --object secret,id=sec0,data=c2xvdDM=,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-xts-plain-sha1-pwslot3.img
2198 wrote 10485760/10485760 bytes at offset 104857600
2199 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2201 # Write test pattern 0x5e
2202 qemu-io -c write -P 0x5e 3145728M 10M --object secret,id=sec0,data=c2xvdDM=,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-xts-plain-sha1-pwslot3.img
2203 wrote 10485760/10485760 bytes at offset 3298534883328
2204 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2207 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-256-xts-plain-sha1-pwslot3.img qiotest-145-aes-256-xts-plain-sha1-pwslot3
2208 # Read test pattern 0x91
2209 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-plain-sha1-pwslot3
2210 qemu-io -c read -P 0x91 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-xts-plain-sha1-pwslot3
2211 read 10485760/10485760 bytes at offset 104857600
2212 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2214 # Read test pattern 0x5e
2215 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-plain-sha1-pwslot3
2216 qemu-io -c read -P 0x5e 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-xts-plain-sha1-pwslot3
2217 read 10485760/10485760 bytes at offset 3298534883328
2218 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2221 sudo cryptsetup -q -v luksClose qiotest-145-aes-256-xts-plain-sha1-pwslot3
2223 unlink TEST_DIR/luks-aes-256-xts-plain-sha1-pwslot3.img
2225 # ================= dm-crypt aes-256-xts-plain-sha1-pwallslots =================
2227 truncate TEST_DIR/luks-aes-256-xts-plain-sha1-pwallslots.img --size 4194304MB
2229 sudo cryptsetup -q -v luksFormat --type luks1 --cipher aes-xts-plain --key-size 512 --hash sha1 --key-slot 0 --key-file - --iter-time 10 TEST_DIR/luks-aes-256-xts-plain-sha1-pwallslots.img
2230 # Add password slot 1
2231 sudo cryptsetup -q -v luksAddKey TEST_DIR/luks-aes-256-xts-plain-sha1-pwallslots.img --key-slot 1 --key-file - --iter-time 10 TEST_DIR/passwd.txt
2232 # Add password slot 2
2233 sudo cryptsetup -q -v luksAddKey TEST_DIR/luks-aes-256-xts-plain-sha1-pwallslots.img --key-slot 2 --key-file - --iter-time 10 TEST_DIR/passwd.txt
2234 # Add password slot 3
2235 sudo cryptsetup -q -v luksAddKey TEST_DIR/luks-aes-256-xts-plain-sha1-pwallslots.img --key-slot 3 --key-file - --iter-time 10 TEST_DIR/passwd.txt
2236 # Add password slot 4
2237 sudo cryptsetup -q -v luksAddKey TEST_DIR/luks-aes-256-xts-plain-sha1-pwallslots.img --key-slot 4 --key-file - --iter-time 10 TEST_DIR/passwd.txt
2238 # Add password slot 5
2239 sudo cryptsetup -q -v luksAddKey TEST_DIR/luks-aes-256-xts-plain-sha1-pwallslots.img --key-slot 5 --key-file - --iter-time 10 TEST_DIR/passwd.txt
2240 # Add password slot 6
2241 sudo cryptsetup -q -v luksAddKey TEST_DIR/luks-aes-256-xts-plain-sha1-pwallslots.img --key-slot 6 --key-file - --iter-time 10 TEST_DIR/passwd.txt
2242 # Add password slot 7
2243 sudo cryptsetup -q -v luksAddKey TEST_DIR/luks-aes-256-xts-plain-sha1-pwallslots.img --key-slot 7 --key-file - --iter-time 10 TEST_DIR/passwd.txt
2245 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-256-xts-plain-sha1-pwallslots.img qiotest-145-aes-256-xts-plain-sha1-pwallslots
2246 # Write test pattern 0xa7
2247 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-plain-sha1-pwallslots
2248 qemu-io -c write -P 0xa7 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-xts-plain-sha1-pwallslots
2249 wrote 10485760/10485760 bytes at offset 104857600
2250 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2252 # Write test pattern 0x13
2253 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-plain-sha1-pwallslots
2254 qemu-io -c write -P 0x13 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-xts-plain-sha1-pwallslots
2255 wrote 10485760/10485760 bytes at offset 3298534883328
2256 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2259 sudo cryptsetup -q -v luksClose qiotest-145-aes-256-xts-plain-sha1-pwallslots
2260 # Read test pattern 0xa7
2261 qemu-io -c read -P 0xa7 100M 10M --object secret,id=sec0,data=c2xvdDE=,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-xts-plain-sha1-pwallslots.img
2262 read 10485760/10485760 bytes at offset 104857600
2263 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2265 # Read test pattern 0x13
2266 qemu-io -c read -P 0x13 3145728M 10M --object secret,id=sec0,data=c2xvdDE=,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-xts-plain-sha1-pwallslots.img
2267 read 10485760/10485760 bytes at offset 3298534883328
2268 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2270 # Write test pattern 0x91
2271 qemu-io -c write -P 0x91 100M 10M --object secret,id=sec0,data=c2xvdDE=,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-xts-plain-sha1-pwallslots.img
2272 wrote 10485760/10485760 bytes at offset 104857600
2273 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2275 # Write test pattern 0x5e
2276 qemu-io -c write -P 0x5e 3145728M 10M --object secret,id=sec0,data=c2xvdDE=,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-xts-plain-sha1-pwallslots.img
2277 wrote 10485760/10485760 bytes at offset 3298534883328
2278 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2281 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-256-xts-plain-sha1-pwallslots.img qiotest-145-aes-256-xts-plain-sha1-pwallslots
2282 # Read test pattern 0x91
2283 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-plain-sha1-pwallslots
2284 qemu-io -c read -P 0x91 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-xts-plain-sha1-pwallslots
2285 read 10485760/10485760 bytes at offset 104857600
2286 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2288 # Read test pattern 0x5e
2289 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-plain-sha1-pwallslots
2290 qemu-io -c read -P 0x5e 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-xts-plain-sha1-pwallslots
2291 read 10485760/10485760 bytes at offset 3298534883328
2292 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2295 sudo cryptsetup -q -v luksClose qiotest-145-aes-256-xts-plain-sha1-pwallslots
2297 unlink TEST_DIR/luks-aes-256-xts-plain-sha1-pwallslots.img
2299 # ================= qemu-img aes-256-xts-plain-sha1-pwallslots =================
2301 qemu-img create -f luks --object secret,id=sec0,data=c2xvdDE=,format=base64 -o key-secret=sec0,iter-time=10,cipher-alg=aes-256,cipher-mode=xts,ivgen-alg=plain,hash-alg=sha1 TEST_DIR/luks-aes-256-xts-plain-sha1-pwallslots.img 4194304M
2302 Formatting 'TEST_DIR/luks-aes-256-xts-plain-sha1-pwallslots.img', fmt=luks size=4398046511104 key-secret=sec0 cipher-alg=aes-256 cipher-mode=xts ivgen-alg=plain hash-alg=sha1 iter-time=10
2305 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-256-xts-plain-sha1-pwallslots.img qiotest-145-aes-256-xts-plain-sha1-pwallslots
2306 # Write test pattern 0xa7
2307 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-plain-sha1-pwallslots
2308 qemu-io -c write -P 0xa7 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-xts-plain-sha1-pwallslots
2309 wrote 10485760/10485760 bytes at offset 104857600
2310 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2312 # Write test pattern 0x13
2313 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-plain-sha1-pwallslots
2314 qemu-io -c write -P 0x13 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-xts-plain-sha1-pwallslots
2315 wrote 10485760/10485760 bytes at offset 3298534883328
2316 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2319 sudo cryptsetup -q -v luksClose qiotest-145-aes-256-xts-plain-sha1-pwallslots
2320 # Read test pattern 0xa7
2321 qemu-io -c read -P 0xa7 100M 10M --object secret,id=sec0,data=c2xvdDE=,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-xts-plain-sha1-pwallslots.img
2322 read 10485760/10485760 bytes at offset 104857600
2323 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2325 # Read test pattern 0x13
2326 qemu-io -c read -P 0x13 3145728M 10M --object secret,id=sec0,data=c2xvdDE=,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-xts-plain-sha1-pwallslots.img
2327 read 10485760/10485760 bytes at offset 3298534883328
2328 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2330 # Write test pattern 0x91
2331 qemu-io -c write -P 0x91 100M 10M --object secret,id=sec0,data=c2xvdDE=,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-xts-plain-sha1-pwallslots.img
2332 wrote 10485760/10485760 bytes at offset 104857600
2333 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2335 # Write test pattern 0x5e
2336 qemu-io -c write -P 0x5e 3145728M 10M --object secret,id=sec0,data=c2xvdDE=,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-xts-plain-sha1-pwallslots.img
2337 wrote 10485760/10485760 bytes at offset 3298534883328
2338 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2341 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-256-xts-plain-sha1-pwallslots.img qiotest-145-aes-256-xts-plain-sha1-pwallslots
2342 # Read test pattern 0x91
2343 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-plain-sha1-pwallslots
2344 qemu-io -c read -P 0x91 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-xts-plain-sha1-pwallslots
2345 read 10485760/10485760 bytes at offset 104857600
2346 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2348 # Read test pattern 0x5e
2349 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-plain-sha1-pwallslots
2350 qemu-io -c read -P 0x5e 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-xts-plain-sha1-pwallslots
2351 read 10485760/10485760 bytes at offset 3298534883328
2352 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2355 sudo cryptsetup -q -v luksClose qiotest-145-aes-256-xts-plain-sha1-pwallslots
2357 unlink TEST_DIR/luks-aes-256-xts-plain-sha1-pwallslots.img
2359 # ================= dm-crypt aes-256-cbc-essiv-auto-sha1 =================
2361 truncate TEST_DIR/luks-aes-256-cbc-essiv-auto-sha1.img --size 4194304MB
2363 sudo cryptsetup -q -v luksFormat --type luks1 --cipher aes-cbc-essiv:sha256 --key-size 256 --hash sha1 --key-slot 0 --key-file - --iter-time 10 TEST_DIR/luks-aes-256-cbc-essiv-auto-sha1.img
2365 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-256-cbc-essiv-auto-sha1.img qiotest-145-aes-256-cbc-essiv-auto-sha1
2366 # Write test pattern 0xa7
2367 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-cbc-essiv-auto-sha1
2368 qemu-io -c write -P 0xa7 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-cbc-essiv-auto-sha1
2369 wrote 10485760/10485760 bytes at offset 104857600
2370 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2372 # Write test pattern 0x13
2373 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-cbc-essiv-auto-sha1
2374 qemu-io -c write -P 0x13 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-cbc-essiv-auto-sha1
2375 wrote 10485760/10485760 bytes at offset 3298534883328
2376 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2379 sudo cryptsetup -q -v luksClose qiotest-145-aes-256-cbc-essiv-auto-sha1
2380 # Read test pattern 0xa7
2381 qemu-io -c read -P 0xa7 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-cbc-essiv-auto-sha1.img
2382 read 10485760/10485760 bytes at offset 104857600
2383 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2385 # Read test pattern 0x13
2386 qemu-io -c read -P 0x13 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-cbc-essiv-auto-sha1.img
2387 read 10485760/10485760 bytes at offset 3298534883328
2388 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2390 # Write test pattern 0x91
2391 qemu-io -c write -P 0x91 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-cbc-essiv-auto-sha1.img
2392 wrote 10485760/10485760 bytes at offset 104857600
2393 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2395 # Write test pattern 0x5e
2396 qemu-io -c write -P 0x5e 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-cbc-essiv-auto-sha1.img
2397 wrote 10485760/10485760 bytes at offset 3298534883328
2398 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2401 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-256-cbc-essiv-auto-sha1.img qiotest-145-aes-256-cbc-essiv-auto-sha1
2402 # Read test pattern 0x91
2403 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-cbc-essiv-auto-sha1
2404 qemu-io -c read -P 0x91 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-cbc-essiv-auto-sha1
2405 read 10485760/10485760 bytes at offset 104857600
2406 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2408 # Read test pattern 0x5e
2409 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-cbc-essiv-auto-sha1
2410 qemu-io -c read -P 0x5e 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-cbc-essiv-auto-sha1
2411 read 10485760/10485760 bytes at offset 3298534883328
2412 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2415 sudo cryptsetup -q -v luksClose qiotest-145-aes-256-cbc-essiv-auto-sha1
2417 unlink TEST_DIR/luks-aes-256-cbc-essiv-auto-sha1.img
2419 # ================= qemu-img aes-256-cbc-essiv-auto-sha1 =================
2421 qemu-img create -f luks --object secret,id=sec0,data=MTIzNDU2,format=base64 -o key-secret=sec0,iter-time=10,cipher-alg=aes-256,cipher-mode=cbc,ivgen-alg=essiv,hash-alg=sha1 TEST_DIR/luks-aes-256-cbc-essiv-auto-sha1.img 4194304M
2422 Formatting 'TEST_DIR/luks-aes-256-cbc-essiv-auto-sha1.img', fmt=luks size=4398046511104 key-secret=sec0 cipher-alg=aes-256 cipher-mode=cbc ivgen-alg=essiv hash-alg=sha1 iter-time=10
2425 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-256-cbc-essiv-auto-sha1.img qiotest-145-aes-256-cbc-essiv-auto-sha1
2426 # Write test pattern 0xa7
2427 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-cbc-essiv-auto-sha1
2428 qemu-io -c write -P 0xa7 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-cbc-essiv-auto-sha1
2429 wrote 10485760/10485760 bytes at offset 104857600
2430 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2432 # Write test pattern 0x13
2433 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-cbc-essiv-auto-sha1
2434 qemu-io -c write -P 0x13 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-cbc-essiv-auto-sha1
2435 wrote 10485760/10485760 bytes at offset 3298534883328
2436 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2439 sudo cryptsetup -q -v luksClose qiotest-145-aes-256-cbc-essiv-auto-sha1
2440 # Read test pattern 0xa7
2441 qemu-io -c read -P 0xa7 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-cbc-essiv-auto-sha1.img
2442 read 10485760/10485760 bytes at offset 104857600
2443 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2445 # Read test pattern 0x13
2446 qemu-io -c read -P 0x13 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-cbc-essiv-auto-sha1.img
2447 read 10485760/10485760 bytes at offset 3298534883328
2448 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2450 # Write test pattern 0x91
2451 qemu-io -c write -P 0x91 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-cbc-essiv-auto-sha1.img
2452 wrote 10485760/10485760 bytes at offset 104857600
2453 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2455 # Write test pattern 0x5e
2456 qemu-io -c write -P 0x5e 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-cbc-essiv-auto-sha1.img
2457 wrote 10485760/10485760 bytes at offset 3298534883328
2458 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2461 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-256-cbc-essiv-auto-sha1.img qiotest-145-aes-256-cbc-essiv-auto-sha1
2462 # Read test pattern 0x91
2463 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-cbc-essiv-auto-sha1
2464 qemu-io -c read -P 0x91 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-cbc-essiv-auto-sha1
2465 read 10485760/10485760 bytes at offset 104857600
2466 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2468 # Read test pattern 0x5e
2469 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-cbc-essiv-auto-sha1
2470 qemu-io -c read -P 0x5e 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-cbc-essiv-auto-sha1
2471 read 10485760/10485760 bytes at offset 3298534883328
2472 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2475 sudo cryptsetup -q -v luksClose qiotest-145-aes-256-cbc-essiv-auto-sha1
2477 unlink TEST_DIR/luks-aes-256-cbc-essiv-auto-sha1.img
2479 # ================= dm-crypt aes-256-cbc-plain64-sha256-sha1 =================
2481 truncate TEST_DIR/luks-aes-256-cbc-plain64-sha256-sha1.img --size 4194304MB
2483 sudo cryptsetup -q -v luksFormat --type luks1 --cipher aes-cbc-plain64:sha256 --key-size 256 --hash sha1 --key-slot 0 --key-file - --iter-time 10 TEST_DIR/luks-aes-256-cbc-plain64-sha256-sha1.img
2485 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-256-cbc-plain64-sha256-sha1.img qiotest-145-aes-256-cbc-plain64-sha256-sha1
2486 # Write test pattern 0xa7
2487 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-cbc-plain64-sha256-sha1
2488 qemu-io -c write -P 0xa7 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-cbc-plain64-sha256-sha1
2489 wrote 10485760/10485760 bytes at offset 104857600
2490 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2492 # Write test pattern 0x13
2493 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-cbc-plain64-sha256-sha1
2494 qemu-io -c write -P 0x13 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-cbc-plain64-sha256-sha1
2495 wrote 10485760/10485760 bytes at offset 3298534883328
2496 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2499 sudo cryptsetup -q -v luksClose qiotest-145-aes-256-cbc-plain64-sha256-sha1
2500 # Read test pattern 0xa7
2501 qemu-io -c read -P 0xa7 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-cbc-plain64-sha256-sha1.img
2502 read 10485760/10485760 bytes at offset 104857600
2503 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2505 # Read test pattern 0x13
2506 qemu-io -c read -P 0x13 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-cbc-plain64-sha256-sha1.img
2507 read 10485760/10485760 bytes at offset 3298534883328
2508 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2510 # Write test pattern 0x91
2511 qemu-io -c write -P 0x91 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-cbc-plain64-sha256-sha1.img
2512 wrote 10485760/10485760 bytes at offset 104857600
2513 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2515 # Write test pattern 0x5e
2516 qemu-io -c write -P 0x5e 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-cbc-plain64-sha256-sha1.img
2517 wrote 10485760/10485760 bytes at offset 3298534883328
2518 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2521 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-256-cbc-plain64-sha256-sha1.img qiotest-145-aes-256-cbc-plain64-sha256-sha1
2522 # Read test pattern 0x91
2523 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-cbc-plain64-sha256-sha1
2524 qemu-io -c read -P 0x91 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-cbc-plain64-sha256-sha1
2525 read 10485760/10485760 bytes at offset 104857600
2526 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2528 # Read test pattern 0x5e
2529 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-cbc-plain64-sha256-sha1
2530 qemu-io -c read -P 0x5e 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-cbc-plain64-sha256-sha1
2531 read 10485760/10485760 bytes at offset 3298534883328
2532 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2535 sudo cryptsetup -q -v luksClose qiotest-145-aes-256-cbc-plain64-sha256-sha1
2537 unlink TEST_DIR/luks-aes-256-cbc-plain64-sha256-sha1.img
2539 # ================= qemu-img aes-256-cbc-plain64-sha256-sha1 =================
2541 qemu-img create -f luks --object secret,id=sec0,data=MTIzNDU2,format=base64 -o key-secret=sec0,iter-time=10,cipher-alg=aes-256,cipher-mode=cbc,ivgen-alg=plain64,hash-alg=sha1,ivgen-hash-alg=sha256 TEST_DIR/luks-aes-256-cbc-plain64-sha256-sha1.img 4194304M
2542 Formatting 'TEST_DIR/luks-aes-256-cbc-plain64-sha256-sha1.img', fmt=luks size=4398046511104 key-secret=sec0 cipher-alg=aes-256 cipher-mode=cbc ivgen-alg=plain64 ivgen-hash-alg=sha256 hash-alg=sha1 iter-time=10
2545 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-256-cbc-plain64-sha256-sha1.img qiotest-145-aes-256-cbc-plain64-sha256-sha1
2546 # Write test pattern 0xa7
2547 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-cbc-plain64-sha256-sha1
2548 qemu-io -c write -P 0xa7 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-cbc-plain64-sha256-sha1
2549 wrote 10485760/10485760 bytes at offset 104857600
2550 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2552 # Write test pattern 0x13
2553 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-cbc-plain64-sha256-sha1
2554 qemu-io -c write -P 0x13 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-cbc-plain64-sha256-sha1
2555 wrote 10485760/10485760 bytes at offset 3298534883328
2556 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2559 sudo cryptsetup -q -v luksClose qiotest-145-aes-256-cbc-plain64-sha256-sha1
2560 # Read test pattern 0xa7
2561 qemu-io -c read -P 0xa7 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-cbc-plain64-sha256-sha1.img
2562 read 10485760/10485760 bytes at offset 104857600
2563 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2565 # Read test pattern 0x13
2566 qemu-io -c read -P 0x13 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-cbc-plain64-sha256-sha1.img
2567 read 10485760/10485760 bytes at offset 3298534883328
2568 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2570 # Write test pattern 0x91
2571 qemu-io -c write -P 0x91 100M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-cbc-plain64-sha256-sha1.img
2572 wrote 10485760/10485760 bytes at offset 104857600
2573 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2575 # Write test pattern 0x5e
2576 qemu-io -c write -P 0x5e 3145728M 10M --object secret,id=sec0,data=MTIzNDU2,format=base64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-cbc-plain64-sha256-sha1.img
2577 wrote 10485760/10485760 bytes at offset 3298534883328
2578 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2581 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-256-cbc-plain64-sha256-sha1.img qiotest-145-aes-256-cbc-plain64-sha256-sha1
2582 # Read test pattern 0x91
2583 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-cbc-plain64-sha256-sha1
2584 qemu-io -c read -P 0x91 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-cbc-plain64-sha256-sha1
2585 read 10485760/10485760 bytes at offset 104857600
2586 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2588 # Read test pattern 0x5e
2589 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-cbc-plain64-sha256-sha1
2590 qemu-io -c read -P 0x5e 3145728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-cbc-plain64-sha256-sha1
2591 read 10485760/10485760 bytes at offset 3298534883328
2592 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2595 sudo cryptsetup -q -v luksClose qiotest-145-aes-256-cbc-plain64-sha256-sha1
2597 unlink TEST_DIR/luks-aes-256-cbc-plain64-sha256-sha1.img