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 --cipher aes-xts-plain64 --key-size 512 --hash sha1 --key-slot 0 --key-file - 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
9 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-plain64-sha1
10 # Write test pattern 0xa7
11 qemu-io -c write -P 0xa7 100M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-aes-256-xts-plain64-sha1
12 wrote 10485760/10485760 bytes at offset 104857600
13 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
15 # Write test pattern 0x13
16 qemu-io -c write -P 0x13 3145728M 10M --image-opts driver=file,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
45 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-plain64-sha1
46 # Read test pattern 0x91
47 qemu-io -c read -P 0x91 100M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-aes-256-xts-plain64-sha1
48 read 10485760/10485760 bytes at offset 104857600
49 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
51 # Read test pattern 0x5e
52 qemu-io -c read -P 0x5e 3145728M 10M --image-opts driver=file,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,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
67 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-256-xts-plain64-sha1.img qiotest-145-aes-256-xts-plain64-sha1
69 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-plain64-sha1
70 # Write test pattern 0xa7
71 qemu-io -c write -P 0xa7 100M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-aes-256-xts-plain64-sha1
72 wrote 10485760/10485760 bytes at offset 104857600
73 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
75 # Write test pattern 0x13
76 qemu-io -c write -P 0x13 3145728M 10M --image-opts driver=file,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
105 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-plain64-sha1
106 # Read test pattern 0x91
107 qemu-io -c read -P 0x91 100M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-aes-256-xts-plain64-sha1
108 read 10485760/10485760 bytes at offset 104857600
109 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
111 # Read test pattern 0x5e
112 qemu-io -c read -P 0x5e 3145728M 10M --image-opts driver=file,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 --cipher twofish-xts-plain64 --key-size 512 --hash sha1 --key-slot 0 --key-file - 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
129 sudo chown UID:GID /dev/mapper/qiotest-145-twofish-256-xts-plain64-sha1
130 # Write test pattern 0xa7
131 qemu-io -c write -P 0xa7 100M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-twofish-256-xts-plain64-sha1
132 wrote 10485760/10485760 bytes at offset 104857600
133 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
135 # Write test pattern 0x13
136 qemu-io -c write -P 0x13 3145728M 10M --image-opts driver=file,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
165 sudo chown UID:GID /dev/mapper/qiotest-145-twofish-256-xts-plain64-sha1
166 # Read test pattern 0x91
167 qemu-io -c read -P 0x91 100M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-twofish-256-xts-plain64-sha1
168 read 10485760/10485760 bytes at offset 104857600
169 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
171 # Read test pattern 0x5e
172 qemu-io -c read -P 0x5e 3145728M 10M --image-opts driver=file,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,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
187 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-twofish-256-xts-plain64-sha1.img qiotest-145-twofish-256-xts-plain64-sha1
189 sudo chown UID:GID /dev/mapper/qiotest-145-twofish-256-xts-plain64-sha1
190 # Write test pattern 0xa7
191 qemu-io -c write -P 0xa7 100M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-twofish-256-xts-plain64-sha1
192 wrote 10485760/10485760 bytes at offset 104857600
193 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
195 # Write test pattern 0x13
196 qemu-io -c write -P 0x13 3145728M 10M --image-opts driver=file,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
225 sudo chown UID:GID /dev/mapper/qiotest-145-twofish-256-xts-plain64-sha1
226 # Read test pattern 0x91
227 qemu-io -c read -P 0x91 100M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-twofish-256-xts-plain64-sha1
228 read 10485760/10485760 bytes at offset 104857600
229 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
231 # Read test pattern 0x5e
232 qemu-io -c read -P 0x5e 3145728M 10M --image-opts driver=file,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 --cipher serpent-xts-plain64 --key-size 512 --hash sha1 --key-slot 0 --key-file - 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
249 sudo chown UID:GID /dev/mapper/qiotest-145-serpent-256-xts-plain64-sha1
250 # Write test pattern 0xa7
251 qemu-io -c write -P 0xa7 100M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-serpent-256-xts-plain64-sha1
252 wrote 10485760/10485760 bytes at offset 104857600
253 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
255 # Write test pattern 0x13
256 qemu-io -c write -P 0x13 3145728M 10M --image-opts driver=file,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
285 sudo chown UID:GID /dev/mapper/qiotest-145-serpent-256-xts-plain64-sha1
286 # Read test pattern 0x91
287 qemu-io -c read -P 0x91 100M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-serpent-256-xts-plain64-sha1
288 read 10485760/10485760 bytes at offset 104857600
289 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
291 # Read test pattern 0x5e
292 qemu-io -c read -P 0x5e 3145728M 10M --image-opts driver=file,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,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
307 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-serpent-256-xts-plain64-sha1.img qiotest-145-serpent-256-xts-plain64-sha1
309 sudo chown UID:GID /dev/mapper/qiotest-145-serpent-256-xts-plain64-sha1
310 # Write test pattern 0xa7
311 qemu-io -c write -P 0xa7 100M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-serpent-256-xts-plain64-sha1
312 wrote 10485760/10485760 bytes at offset 104857600
313 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
315 # Write test pattern 0x13
316 qemu-io -c write -P 0x13 3145728M 10M --image-opts driver=file,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
345 sudo chown UID:GID /dev/mapper/qiotest-145-serpent-256-xts-plain64-sha1
346 # Read test pattern 0x91
347 qemu-io -c read -P 0x91 100M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-serpent-256-xts-plain64-sha1
348 read 10485760/10485760 bytes at offset 104857600
349 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
351 # Read test pattern 0x5e
352 qemu-io -c read -P 0x5e 3145728M 10M --image-opts driver=file,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 --cipher cast5-cbc-plain64 --key-size 128 --hash sha1 --key-slot 0 --key-file - 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
369 sudo chown UID:GID /dev/mapper/qiotest-145-cast5-128-cbc-plain64-sha1
370 # Write test pattern 0xa7
371 qemu-io -c write -P 0xa7 100M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-cast5-128-cbc-plain64-sha1
372 wrote 10485760/10485760 bytes at offset 104857600
373 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
375 # Write test pattern 0x13
376 qemu-io -c write -P 0x13 3145728M 10M --image-opts driver=file,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
405 sudo chown UID:GID /dev/mapper/qiotest-145-cast5-128-cbc-plain64-sha1
406 # Read test pattern 0x91
407 qemu-io -c read -P 0x91 100M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-cast5-128-cbc-plain64-sha1
408 read 10485760/10485760 bytes at offset 104857600
409 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
411 # Read test pattern 0x5e
412 qemu-io -c read -P 0x5e 3145728M 10M --image-opts driver=file,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,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
427 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-cast5-128-cbc-plain64-sha1.img qiotest-145-cast5-128-cbc-plain64-sha1
429 sudo chown UID:GID /dev/mapper/qiotest-145-cast5-128-cbc-plain64-sha1
430 # Write test pattern 0xa7
431 qemu-io -c write -P 0xa7 100M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-cast5-128-cbc-plain64-sha1
432 wrote 10485760/10485760 bytes at offset 104857600
433 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
435 # Write test pattern 0x13
436 qemu-io -c write -P 0x13 3145728M 10M --image-opts driver=file,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
465 sudo chown UID:GID /dev/mapper/qiotest-145-cast5-128-cbc-plain64-sha1
466 # Read test pattern 0x91
467 qemu-io -c read -P 0x91 100M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-cast5-128-cbc-plain64-sha1
468 read 10485760/10485760 bytes at offset 104857600
469 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
471 # Read test pattern 0x5e
472 qemu-io -c read -P 0x5e 3145728M 10M --image-opts driver=file,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 --cipher aes-cbc-plain --key-size 256 --hash sha1 --key-slot 0 --key-file - 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
490 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-cbc-plain-sha1
491 # Write test pattern 0xa7
492 qemu-io -c write -P 0xa7 100M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-aes-256-cbc-plain-sha1
493 wrote 10485760/10485760 bytes at offset 104857600
494 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
496 # Write test pattern 0x13
497 qemu-io -c write -P 0x13 3145728M 10M --image-opts driver=file,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
526 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-cbc-plain-sha1
527 # Read test pattern 0x91
528 qemu-io -c read -P 0x91 100M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-aes-256-cbc-plain-sha1
529 read 10485760/10485760 bytes at offset 104857600
530 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
532 # Read test pattern 0x5e
533 qemu-io -c read -P 0x5e 3145728M 10M --image-opts driver=file,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,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
548 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-256-cbc-plain-sha1.img qiotest-145-aes-256-cbc-plain-sha1
550 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-cbc-plain-sha1
551 # Write test pattern 0xa7
552 qemu-io -c write -P 0xa7 100M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-aes-256-cbc-plain-sha1
553 wrote 10485760/10485760 bytes at offset 104857600
554 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
556 # Write test pattern 0x13
557 qemu-io -c write -P 0x13 3145728M 10M --image-opts driver=file,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
586 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-cbc-plain-sha1
587 # Read test pattern 0x91
588 qemu-io -c read -P 0x91 100M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-aes-256-cbc-plain-sha1
589 read 10485760/10485760 bytes at offset 104857600
590 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
592 # Read test pattern 0x5e
593 qemu-io -c read -P 0x5e 3145728M 10M --image-opts driver=file,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 --cipher aes-cbc-plain64 --key-size 256 --hash sha1 --key-slot 0 --key-file - 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
610 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-cbc-plain64-sha1
611 # Write test pattern 0xa7
612 qemu-io -c write -P 0xa7 100M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-aes-256-cbc-plain64-sha1
613 wrote 10485760/10485760 bytes at offset 104857600
614 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
616 # Write test pattern 0x13
617 qemu-io -c write -P 0x13 3145728M 10M --image-opts driver=file,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
646 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-cbc-plain64-sha1
647 # Read test pattern 0x91
648 qemu-io -c read -P 0x91 100M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-aes-256-cbc-plain64-sha1
649 read 10485760/10485760 bytes at offset 104857600
650 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
652 # Read test pattern 0x5e
653 qemu-io -c read -P 0x5e 3145728M 10M --image-opts driver=file,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,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
668 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-256-cbc-plain64-sha1.img qiotest-145-aes-256-cbc-plain64-sha1
670 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-cbc-plain64-sha1
671 # Write test pattern 0xa7
672 qemu-io -c write -P 0xa7 100M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-aes-256-cbc-plain64-sha1
673 wrote 10485760/10485760 bytes at offset 104857600
674 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
676 # Write test pattern 0x13
677 qemu-io -c write -P 0x13 3145728M 10M --image-opts driver=file,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
706 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-cbc-plain64-sha1
707 # Read test pattern 0x91
708 qemu-io -c read -P 0x91 100M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-aes-256-cbc-plain64-sha1
709 read 10485760/10485760 bytes at offset 104857600
710 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
712 # Read test pattern 0x5e
713 qemu-io -c read -P 0x5e 3145728M 10M --image-opts driver=file,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 --cipher aes-cbc-essiv:sha256 --key-size 256 --hash sha1 --key-slot 0 --key-file - 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
730 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-cbc-essiv-sha256-sha1
731 # Write test pattern 0xa7
732 qemu-io -c write -P 0xa7 100M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-aes-256-cbc-essiv-sha256-sha1
733 wrote 10485760/10485760 bytes at offset 104857600
734 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
736 # Write test pattern 0x13
737 qemu-io -c write -P 0x13 3145728M 10M --image-opts driver=file,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
766 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-cbc-essiv-sha256-sha1
767 # Read test pattern 0x91
768 qemu-io -c read -P 0x91 100M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-aes-256-cbc-essiv-sha256-sha1
769 read 10485760/10485760 bytes at offset 104857600
770 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
772 # Read test pattern 0x5e
773 qemu-io -c read -P 0x5e 3145728M 10M --image-opts driver=file,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,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
788 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-256-cbc-essiv-sha256-sha1.img qiotest-145-aes-256-cbc-essiv-sha256-sha1
790 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-cbc-essiv-sha256-sha1
791 # Write test pattern 0xa7
792 qemu-io -c write -P 0xa7 100M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-aes-256-cbc-essiv-sha256-sha1
793 wrote 10485760/10485760 bytes at offset 104857600
794 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
796 # Write test pattern 0x13
797 qemu-io -c write -P 0x13 3145728M 10M --image-opts driver=file,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
826 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-cbc-essiv-sha256-sha1
827 # Read test pattern 0x91
828 qemu-io -c read -P 0x91 100M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-aes-256-cbc-essiv-sha256-sha1
829 read 10485760/10485760 bytes at offset 104857600
830 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
832 # Read test pattern 0x5e
833 qemu-io -c read -P 0x5e 3145728M 10M --image-opts driver=file,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 --cipher aes-xts-essiv:sha256 --key-size 512 --hash sha1 --key-slot 0 --key-file - 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
850 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-essiv-sha256-sha1
851 # Write test pattern 0xa7
852 qemu-io -c write -P 0xa7 100M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-aes-256-xts-essiv-sha256-sha1
853 wrote 10485760/10485760 bytes at offset 104857600
854 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
856 # Write test pattern 0x13
857 qemu-io -c write -P 0x13 3145728M 10M --image-opts driver=file,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
886 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-essiv-sha256-sha1
887 # Read test pattern 0x91
888 qemu-io -c read -P 0x91 100M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-aes-256-xts-essiv-sha256-sha1
889 read 10485760/10485760 bytes at offset 104857600
890 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
892 # Read test pattern 0x5e
893 qemu-io -c read -P 0x5e 3145728M 10M --image-opts driver=file,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,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
908 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-256-xts-essiv-sha256-sha1.img qiotest-145-aes-256-xts-essiv-sha256-sha1
910 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-essiv-sha256-sha1
911 # Write test pattern 0xa7
912 qemu-io -c write -P 0xa7 100M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-aes-256-xts-essiv-sha256-sha1
913 wrote 10485760/10485760 bytes at offset 104857600
914 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
916 # Write test pattern 0x13
917 qemu-io -c write -P 0x13 3145728M 10M --image-opts driver=file,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
946 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-essiv-sha256-sha1
947 # Read test pattern 0x91
948 qemu-io -c read -P 0x91 100M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-aes-256-xts-essiv-sha256-sha1
949 read 10485760/10485760 bytes at offset 104857600
950 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
952 # Read test pattern 0x5e
953 qemu-io -c read -P 0x5e 3145728M 10M --image-opts driver=file,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 --cipher aes-xts-plain64 --key-size 256 --hash sha1 --key-slot 0 --key-file - 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
970 sudo chown UID:GID /dev/mapper/qiotest-145-aes-128-xts-plain64-sha256-sha1
971 # Write test pattern 0xa7
972 qemu-io -c write -P 0xa7 100M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-aes-128-xts-plain64-sha256-sha1
973 wrote 10485760/10485760 bytes at offset 104857600
974 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
976 # Write test pattern 0x13
977 qemu-io -c write -P 0x13 3145728M 10M --image-opts driver=file,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
1006 sudo chown UID:GID /dev/mapper/qiotest-145-aes-128-xts-plain64-sha256-sha1
1007 # Read test pattern 0x91
1008 qemu-io -c read -P 0x91 100M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-aes-128-xts-plain64-sha256-sha1
1009 read 10485760/10485760 bytes at offset 104857600
1010 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1012 # Read test pattern 0x5e
1013 qemu-io -c read -P 0x5e 3145728M 10M --image-opts driver=file,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,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
1028 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-128-xts-plain64-sha256-sha1.img qiotest-145-aes-128-xts-plain64-sha256-sha1
1030 sudo chown UID:GID /dev/mapper/qiotest-145-aes-128-xts-plain64-sha256-sha1
1031 # Write test pattern 0xa7
1032 qemu-io -c write -P 0xa7 100M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-aes-128-xts-plain64-sha256-sha1
1033 wrote 10485760/10485760 bytes at offset 104857600
1034 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1036 # Write test pattern 0x13
1037 qemu-io -c write -P 0x13 3145728M 10M --image-opts driver=file,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
1066 sudo chown UID:GID /dev/mapper/qiotest-145-aes-128-xts-plain64-sha256-sha1
1067 # Read test pattern 0x91
1068 qemu-io -c read -P 0x91 100M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-aes-128-xts-plain64-sha256-sha1
1069 read 10485760/10485760 bytes at offset 104857600
1070 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1072 # Read test pattern 0x5e
1073 qemu-io -c read -P 0x5e 3145728M 10M --image-opts driver=file,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 --cipher aes-xts-plain64 --key-size 384 --hash sha1 --key-slot 0 --key-file - 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
1090 sudo chown UID:GID /dev/mapper/qiotest-145-aes-192-xts-plain64-sha256-sha1
1091 # Write test pattern 0xa7
1092 qemu-io -c write -P 0xa7 100M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-aes-192-xts-plain64-sha256-sha1
1093 wrote 10485760/10485760 bytes at offset 104857600
1094 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1096 # Write test pattern 0x13
1097 qemu-io -c write -P 0x13 3145728M 10M --image-opts driver=file,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
1126 sudo chown UID:GID /dev/mapper/qiotest-145-aes-192-xts-plain64-sha256-sha1
1127 # Read test pattern 0x91
1128 qemu-io -c read -P 0x91 100M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-aes-192-xts-plain64-sha256-sha1
1129 read 10485760/10485760 bytes at offset 104857600
1130 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1132 # Read test pattern 0x5e
1133 qemu-io -c read -P 0x5e 3145728M 10M --image-opts driver=file,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,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
1148 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-192-xts-plain64-sha256-sha1.img qiotest-145-aes-192-xts-plain64-sha256-sha1
1150 sudo chown UID:GID /dev/mapper/qiotest-145-aes-192-xts-plain64-sha256-sha1
1151 # Write test pattern 0xa7
1152 qemu-io -c write -P 0xa7 100M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-aes-192-xts-plain64-sha256-sha1
1153 wrote 10485760/10485760 bytes at offset 104857600
1154 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1156 # Write test pattern 0x13
1157 qemu-io -c write -P 0x13 3145728M 10M --image-opts driver=file,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
1186 sudo chown UID:GID /dev/mapper/qiotest-145-aes-192-xts-plain64-sha256-sha1
1187 # Read test pattern 0x91
1188 qemu-io -c read -P 0x91 100M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-aes-192-xts-plain64-sha256-sha1
1189 read 10485760/10485760 bytes at offset 104857600
1190 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1192 # Read test pattern 0x5e
1193 qemu-io -c read -P 0x5e 3145728M 10M --image-opts driver=file,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 --cipher twofish-xts-plain64 --key-size 256 --hash sha1 --key-slot 0 --key-file - 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
1210 sudo chown UID:GID /dev/mapper/qiotest-145-twofish-128-xts-plain64-sha1
1211 # Write test pattern 0xa7
1212 qemu-io -c write -P 0xa7 100M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-twofish-128-xts-plain64-sha1
1213 wrote 10485760/10485760 bytes at offset 104857600
1214 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1216 # Write test pattern 0x13
1217 qemu-io -c write -P 0x13 3145728M 10M --image-opts driver=file,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
1246 sudo chown UID:GID /dev/mapper/qiotest-145-twofish-128-xts-plain64-sha1
1247 # Read test pattern 0x91
1248 qemu-io -c read -P 0x91 100M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-twofish-128-xts-plain64-sha1
1249 read 10485760/10485760 bytes at offset 104857600
1250 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1252 # Read test pattern 0x5e
1253 qemu-io -c read -P 0x5e 3145728M 10M --image-opts driver=file,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,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
1268 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-twofish-128-xts-plain64-sha1.img qiotest-145-twofish-128-xts-plain64-sha1
1270 sudo chown UID:GID /dev/mapper/qiotest-145-twofish-128-xts-plain64-sha1
1271 # Write test pattern 0xa7
1272 qemu-io -c write -P 0xa7 100M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-twofish-128-xts-plain64-sha1
1273 wrote 10485760/10485760 bytes at offset 104857600
1274 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1276 # Write test pattern 0x13
1277 qemu-io -c write -P 0x13 3145728M 10M --image-opts driver=file,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
1306 sudo chown UID:GID /dev/mapper/qiotest-145-twofish-128-xts-plain64-sha1
1307 # Read test pattern 0x91
1308 qemu-io -c read -P 0x91 100M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-twofish-128-xts-plain64-sha1
1309 read 10485760/10485760 bytes at offset 104857600
1310 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1312 # Read test pattern 0x5e
1313 qemu-io -c read -P 0x5e 3145728M 10M --image-opts driver=file,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 --cipher serpent-xts-plain64 --key-size 256 --hash sha1 --key-slot 0 --key-file - 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
1331 sudo chown UID:GID /dev/mapper/qiotest-145-serpent-128-xts-plain64-sha1
1332 # Write test pattern 0xa7
1333 qemu-io -c write -P 0xa7 100M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-serpent-128-xts-plain64-sha1
1334 wrote 10485760/10485760 bytes at offset 104857600
1335 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1337 # Write test pattern 0x13
1338 qemu-io -c write -P 0x13 3145728M 10M --image-opts driver=file,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
1367 sudo chown UID:GID /dev/mapper/qiotest-145-serpent-128-xts-plain64-sha1
1368 # Read test pattern 0x91
1369 qemu-io -c read -P 0x91 100M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-serpent-128-xts-plain64-sha1
1370 read 10485760/10485760 bytes at offset 104857600
1371 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1373 # Read test pattern 0x5e
1374 qemu-io -c read -P 0x5e 3145728M 10M --image-opts driver=file,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,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
1389 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-serpent-128-xts-plain64-sha1.img qiotest-145-serpent-128-xts-plain64-sha1
1391 sudo chown UID:GID /dev/mapper/qiotest-145-serpent-128-xts-plain64-sha1
1392 # Write test pattern 0xa7
1393 qemu-io -c write -P 0xa7 100M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-serpent-128-xts-plain64-sha1
1394 wrote 10485760/10485760 bytes at offset 104857600
1395 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1397 # Write test pattern 0x13
1398 qemu-io -c write -P 0x13 3145728M 10M --image-opts driver=file,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
1427 sudo chown UID:GID /dev/mapper/qiotest-145-serpent-128-xts-plain64-sha1
1428 # Read test pattern 0x91
1429 qemu-io -c read -P 0x91 100M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-serpent-128-xts-plain64-sha1
1430 read 10485760/10485760 bytes at offset 104857600
1431 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1433 # Read test pattern 0x5e
1434 qemu-io -c read -P 0x5e 3145728M 10M --image-opts driver=file,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 --cipher serpent-xts-plain64 --key-size 384 --hash sha1 --key-slot 0 --key-file - 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
1451 sudo chown UID:GID /dev/mapper/qiotest-145-serpent-192-xts-plain64-sha1
1452 # Write test pattern 0xa7
1453 qemu-io -c write -P 0xa7 100M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-serpent-192-xts-plain64-sha1
1454 wrote 10485760/10485760 bytes at offset 104857600
1455 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1457 # Write test pattern 0x13
1458 qemu-io -c write -P 0x13 3145728M 10M --image-opts driver=file,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
1487 sudo chown UID:GID /dev/mapper/qiotest-145-serpent-192-xts-plain64-sha1
1488 # Read test pattern 0x91
1489 qemu-io -c read -P 0x91 100M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-serpent-192-xts-plain64-sha1
1490 read 10485760/10485760 bytes at offset 104857600
1491 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1493 # Read test pattern 0x5e
1494 qemu-io -c read -P 0x5e 3145728M 10M --image-opts driver=file,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,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
1509 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-serpent-192-xts-plain64-sha1.img qiotest-145-serpent-192-xts-plain64-sha1
1511 sudo chown UID:GID /dev/mapper/qiotest-145-serpent-192-xts-plain64-sha1
1512 # Write test pattern 0xa7
1513 qemu-io -c write -P 0xa7 100M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-serpent-192-xts-plain64-sha1
1514 wrote 10485760/10485760 bytes at offset 104857600
1515 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1517 # Write test pattern 0x13
1518 qemu-io -c write -P 0x13 3145728M 10M --image-opts driver=file,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
1547 sudo chown UID:GID /dev/mapper/qiotest-145-serpent-192-xts-plain64-sha1
1548 # Read test pattern 0x91
1549 qemu-io -c read -P 0x91 100M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-serpent-192-xts-plain64-sha1
1550 read 10485760/10485760 bytes at offset 104857600
1551 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1553 # Read test pattern 0x5e
1554 qemu-io -c read -P 0x5e 3145728M 10M --image-opts driver=file,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-sha256 =================
1567 truncate TEST_DIR/luks-aes-256-xts-plain64-sha256.img --size 4194304MB
1569 sudo cryptsetup -q -v luksFormat --cipher aes-xts-plain64 --key-size 512 --hash sha256 --key-slot 0 --key-file - TEST_DIR/luks-aes-256-xts-plain64-sha256.img
1571 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-256-xts-plain64-sha256.img qiotest-145-aes-256-xts-plain64-sha256
1573 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-plain64-sha256
1574 # Write test pattern 0xa7
1575 qemu-io -c write -P 0xa7 100M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-aes-256-xts-plain64-sha256
1576 wrote 10485760/10485760 bytes at offset 104857600
1577 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1579 # Write test pattern 0x13
1580 qemu-io -c write -P 0x13 3145728M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-aes-256-xts-plain64-sha256
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-sha256
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-sha256.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-sha256.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-sha256.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-sha256.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-sha256.img qiotest-145-aes-256-xts-plain64-sha256
1609 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-plain64-sha256
1610 # Read test pattern 0x91
1611 qemu-io -c read -P 0x91 100M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-aes-256-xts-plain64-sha256
1612 read 10485760/10485760 bytes at offset 104857600
1613 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1615 # Read test pattern 0x5e
1616 qemu-io -c read -P 0x5e 3145728M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-aes-256-xts-plain64-sha256
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-sha256
1623 unlink TEST_DIR/luks-aes-256-xts-plain64-sha256.img
1625 # ================= qemu-img aes-256-xts-plain64-sha256 =================
1627 qemu-img create -f luks --object secret,id=sec0,data=MTIzNDU2,format=base64 -o key-secret=sec0,cipher-alg=aes-256,cipher-mode=xts,ivgen-alg=plain64,hash-alg=sha256 TEST_DIR/luks-aes-256-xts-plain64-sha256.img 4194304M
1628 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
1631 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-256-xts-plain64-sha256.img qiotest-145-aes-256-xts-plain64-sha256
1633 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-plain64-sha256
1634 # Write test pattern 0xa7
1635 qemu-io -c write -P 0xa7 100M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-aes-256-xts-plain64-sha256
1636 wrote 10485760/10485760 bytes at offset 104857600
1637 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1639 # Write test pattern 0x13
1640 qemu-io -c write -P 0x13 3145728M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-aes-256-xts-plain64-sha256
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-sha256
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-sha256.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-sha256.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-sha256.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-sha256.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-sha256.img qiotest-145-aes-256-xts-plain64-sha256
1669 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-plain64-sha256
1670 # Read test pattern 0x91
1671 qemu-io -c read -P 0x91 100M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-aes-256-xts-plain64-sha256
1672 read 10485760/10485760 bytes at offset 104857600
1673 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1675 # Read test pattern 0x5e
1676 qemu-io -c read -P 0x5e 3145728M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-aes-256-xts-plain64-sha256
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-sha256
1683 unlink TEST_DIR/luks-aes-256-xts-plain64-sha256.img
1685 Skipping aes-256-xts-plain64-sha512 in blacklist
1686 Skipping aes-256-xts-plain64-ripemd160 in blacklist
1687 # ================= dm-crypt aes-256-xts-plain-sha1-pwslot3 =================
1689 truncate TEST_DIR/luks-aes-256-xts-plain-sha1-pwslot3.img --size 4194304MB
1691 sudo cryptsetup -q -v luksFormat --cipher aes-xts-plain --key-size 512 --hash sha1 --key-slot 3 --key-file - TEST_DIR/luks-aes-256-xts-plain-sha1-pwslot3.img
1693 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-256-xts-plain-sha1-pwslot3.img qiotest-145-aes-256-xts-plain-sha1-pwslot3
1695 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-plain-sha1-pwslot3
1696 # Write test pattern 0xa7
1697 qemu-io -c write -P 0xa7 100M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-aes-256-xts-plain-sha1-pwslot3
1698 wrote 10485760/10485760 bytes at offset 104857600
1699 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1701 # Write test pattern 0x13
1702 qemu-io -c write -P 0x13 3145728M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-aes-256-xts-plain-sha1-pwslot3
1703 wrote 10485760/10485760 bytes at offset 3298534883328
1704 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1707 sudo cryptsetup -q -v luksClose qiotest-145-aes-256-xts-plain-sha1-pwslot3
1708 # Read test pattern 0xa7
1709 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
1710 read 10485760/10485760 bytes at offset 104857600
1711 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1713 # Read test pattern 0x13
1714 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
1715 read 10485760/10485760 bytes at offset 3298534883328
1716 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1718 # Write test pattern 0x91
1719 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
1720 wrote 10485760/10485760 bytes at offset 104857600
1721 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1723 # Write test pattern 0x5e
1724 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
1725 wrote 10485760/10485760 bytes at offset 3298534883328
1726 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1729 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-256-xts-plain-sha1-pwslot3.img qiotest-145-aes-256-xts-plain-sha1-pwslot3
1731 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-plain-sha1-pwslot3
1732 # Read test pattern 0x91
1733 qemu-io -c read -P 0x91 100M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-aes-256-xts-plain-sha1-pwslot3
1734 read 10485760/10485760 bytes at offset 104857600
1735 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1737 # Read test pattern 0x5e
1738 qemu-io -c read -P 0x5e 3145728M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-aes-256-xts-plain-sha1-pwslot3
1739 read 10485760/10485760 bytes at offset 3298534883328
1740 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1743 sudo cryptsetup -q -v luksClose qiotest-145-aes-256-xts-plain-sha1-pwslot3
1745 unlink TEST_DIR/luks-aes-256-xts-plain-sha1-pwslot3.img
1747 # ================= dm-crypt aes-256-xts-plain-sha1-pwallslots =================
1749 truncate TEST_DIR/luks-aes-256-xts-plain-sha1-pwallslots.img --size 4194304MB
1751 sudo cryptsetup -q -v luksFormat --cipher aes-xts-plain --key-size 512 --hash sha1 --key-slot 0 --key-file - TEST_DIR/luks-aes-256-xts-plain-sha1-pwallslots.img
1752 # Add password slot 1
1753 sudo cryptsetup -q -v luksAddKey TEST_DIR/luks-aes-256-xts-plain-sha1-pwallslots.img --key-slot 1 --key-file - TEST_DIR/passwd.txt
1754 # Add password slot 2
1755 sudo cryptsetup -q -v luksAddKey TEST_DIR/luks-aes-256-xts-plain-sha1-pwallslots.img --key-slot 2 --key-file - TEST_DIR/passwd.txt
1756 # Add password slot 3
1757 sudo cryptsetup -q -v luksAddKey TEST_DIR/luks-aes-256-xts-plain-sha1-pwallslots.img --key-slot 3 --key-file - TEST_DIR/passwd.txt
1758 # Add password slot 4
1759 sudo cryptsetup -q -v luksAddKey TEST_DIR/luks-aes-256-xts-plain-sha1-pwallslots.img --key-slot 4 --key-file - TEST_DIR/passwd.txt
1760 # Add password slot 5
1761 sudo cryptsetup -q -v luksAddKey TEST_DIR/luks-aes-256-xts-plain-sha1-pwallslots.img --key-slot 5 --key-file - TEST_DIR/passwd.txt
1762 # Add password slot 6
1763 sudo cryptsetup -q -v luksAddKey TEST_DIR/luks-aes-256-xts-plain-sha1-pwallslots.img --key-slot 6 --key-file - TEST_DIR/passwd.txt
1764 # Add password slot 7
1765 sudo cryptsetup -q -v luksAddKey TEST_DIR/luks-aes-256-xts-plain-sha1-pwallslots.img --key-slot 7 --key-file - TEST_DIR/passwd.txt
1767 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-256-xts-plain-sha1-pwallslots.img qiotest-145-aes-256-xts-plain-sha1-pwallslots
1769 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-plain-sha1-pwallslots
1770 # Write test pattern 0xa7
1771 qemu-io -c write -P 0xa7 100M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-aes-256-xts-plain-sha1-pwallslots
1772 wrote 10485760/10485760 bytes at offset 104857600
1773 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1775 # Write test pattern 0x13
1776 qemu-io -c write -P 0x13 3145728M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-aes-256-xts-plain-sha1-pwallslots
1777 wrote 10485760/10485760 bytes at offset 3298534883328
1778 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1781 sudo cryptsetup -q -v luksClose qiotest-145-aes-256-xts-plain-sha1-pwallslots
1782 # Read test pattern 0xa7
1783 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
1784 read 10485760/10485760 bytes at offset 104857600
1785 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1787 # Read test pattern 0x13
1788 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
1789 read 10485760/10485760 bytes at offset 3298534883328
1790 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1792 # Write test pattern 0x91
1793 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
1794 wrote 10485760/10485760 bytes at offset 104857600
1795 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1797 # Write test pattern 0x5e
1798 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
1799 wrote 10485760/10485760 bytes at offset 3298534883328
1800 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1803 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-256-xts-plain-sha1-pwallslots.img qiotest-145-aes-256-xts-plain-sha1-pwallslots
1805 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-plain-sha1-pwallslots
1806 # Read test pattern 0x91
1807 qemu-io -c read -P 0x91 100M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-aes-256-xts-plain-sha1-pwallslots
1808 read 10485760/10485760 bytes at offset 104857600
1809 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1811 # Read test pattern 0x5e
1812 qemu-io -c read -P 0x5e 3145728M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-aes-256-xts-plain-sha1-pwallslots
1813 read 10485760/10485760 bytes at offset 3298534883328
1814 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1817 sudo cryptsetup -q -v luksClose qiotest-145-aes-256-xts-plain-sha1-pwallslots
1819 unlink TEST_DIR/luks-aes-256-xts-plain-sha1-pwallslots.img
1821 # ================= qemu-img aes-256-xts-plain-sha1-pwallslots =================
1823 qemu-img create -f luks --object secret,id=sec0,data=c2xvdDE=,format=base64 -o key-secret=sec0,cipher-alg=aes-256,cipher-mode=xts,ivgen-alg=plain,hash-alg=sha1 TEST_DIR/luks-aes-256-xts-plain-sha1-pwallslots.img 4194304M
1824 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
1827 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-256-xts-plain-sha1-pwallslots.img qiotest-145-aes-256-xts-plain-sha1-pwallslots
1829 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-plain-sha1-pwallslots
1830 # Write test pattern 0xa7
1831 qemu-io -c write -P 0xa7 100M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-aes-256-xts-plain-sha1-pwallslots
1832 wrote 10485760/10485760 bytes at offset 104857600
1833 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1835 # Write test pattern 0x13
1836 qemu-io -c write -P 0x13 3145728M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-aes-256-xts-plain-sha1-pwallslots
1837 wrote 10485760/10485760 bytes at offset 3298534883328
1838 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1841 sudo cryptsetup -q -v luksClose qiotest-145-aes-256-xts-plain-sha1-pwallslots
1842 # Read test pattern 0xa7
1843 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
1844 read 10485760/10485760 bytes at offset 104857600
1845 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1847 # Read test pattern 0x13
1848 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
1849 read 10485760/10485760 bytes at offset 3298534883328
1850 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1852 # Write test pattern 0x91
1853 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
1854 wrote 10485760/10485760 bytes at offset 104857600
1855 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1857 # Write test pattern 0x5e
1858 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
1859 wrote 10485760/10485760 bytes at offset 3298534883328
1860 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1863 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-256-xts-plain-sha1-pwallslots.img qiotest-145-aes-256-xts-plain-sha1-pwallslots
1865 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-plain-sha1-pwallslots
1866 # Read test pattern 0x91
1867 qemu-io -c read -P 0x91 100M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-aes-256-xts-plain-sha1-pwallslots
1868 read 10485760/10485760 bytes at offset 104857600
1869 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1871 # Read test pattern 0x5e
1872 qemu-io -c read -P 0x5e 3145728M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-aes-256-xts-plain-sha1-pwallslots
1873 read 10485760/10485760 bytes at offset 3298534883328
1874 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1877 sudo cryptsetup -q -v luksClose qiotest-145-aes-256-xts-plain-sha1-pwallslots
1879 unlink TEST_DIR/luks-aes-256-xts-plain-sha1-pwallslots.img
1881 # ================= dm-crypt aes-256-cbc-essiv-auto-sha1 =================
1883 truncate TEST_DIR/luks-aes-256-cbc-essiv-auto-sha1.img --size 4194304MB
1885 sudo cryptsetup -q -v luksFormat --cipher aes-cbc-essiv:sha256 --key-size 256 --hash sha1 --key-slot 0 --key-file - TEST_DIR/luks-aes-256-cbc-essiv-auto-sha1.img
1887 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-256-cbc-essiv-auto-sha1.img qiotest-145-aes-256-cbc-essiv-auto-sha1
1889 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-cbc-essiv-auto-sha1
1890 # Write test pattern 0xa7
1891 qemu-io -c write -P 0xa7 100M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-aes-256-cbc-essiv-auto-sha1
1892 wrote 10485760/10485760 bytes at offset 104857600
1893 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1895 # Write test pattern 0x13
1896 qemu-io -c write -P 0x13 3145728M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-aes-256-cbc-essiv-auto-sha1
1897 wrote 10485760/10485760 bytes at offset 3298534883328
1898 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1901 sudo cryptsetup -q -v luksClose qiotest-145-aes-256-cbc-essiv-auto-sha1
1902 # Read test pattern 0xa7
1903 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
1904 read 10485760/10485760 bytes at offset 104857600
1905 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1907 # Read test pattern 0x13
1908 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
1909 read 10485760/10485760 bytes at offset 3298534883328
1910 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1912 # Write test pattern 0x91
1913 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
1914 wrote 10485760/10485760 bytes at offset 104857600
1915 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1917 # Write test pattern 0x5e
1918 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
1919 wrote 10485760/10485760 bytes at offset 3298534883328
1920 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1923 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-256-cbc-essiv-auto-sha1.img qiotest-145-aes-256-cbc-essiv-auto-sha1
1925 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-cbc-essiv-auto-sha1
1926 # Read test pattern 0x91
1927 qemu-io -c read -P 0x91 100M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-aes-256-cbc-essiv-auto-sha1
1928 read 10485760/10485760 bytes at offset 104857600
1929 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1931 # Read test pattern 0x5e
1932 qemu-io -c read -P 0x5e 3145728M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-aes-256-cbc-essiv-auto-sha1
1933 read 10485760/10485760 bytes at offset 3298534883328
1934 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1937 sudo cryptsetup -q -v luksClose qiotest-145-aes-256-cbc-essiv-auto-sha1
1939 unlink TEST_DIR/luks-aes-256-cbc-essiv-auto-sha1.img
1941 # ================= qemu-img aes-256-cbc-essiv-auto-sha1 =================
1943 qemu-img create -f luks --object secret,id=sec0,data=MTIzNDU2,format=base64 -o key-secret=sec0,cipher-alg=aes-256,cipher-mode=cbc,ivgen-alg=essiv,hash-alg=sha1 TEST_DIR/luks-aes-256-cbc-essiv-auto-sha1.img 4194304M
1944 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
1947 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-256-cbc-essiv-auto-sha1.img qiotest-145-aes-256-cbc-essiv-auto-sha1
1949 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-cbc-essiv-auto-sha1
1950 # Write test pattern 0xa7
1951 qemu-io -c write -P 0xa7 100M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-aes-256-cbc-essiv-auto-sha1
1952 wrote 10485760/10485760 bytes at offset 104857600
1953 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1955 # Write test pattern 0x13
1956 qemu-io -c write -P 0x13 3145728M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-aes-256-cbc-essiv-auto-sha1
1957 wrote 10485760/10485760 bytes at offset 3298534883328
1958 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1961 sudo cryptsetup -q -v luksClose qiotest-145-aes-256-cbc-essiv-auto-sha1
1962 # Read test pattern 0xa7
1963 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
1964 read 10485760/10485760 bytes at offset 104857600
1965 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1967 # Read test pattern 0x13
1968 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
1969 read 10485760/10485760 bytes at offset 3298534883328
1970 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1972 # Write test pattern 0x91
1973 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
1974 wrote 10485760/10485760 bytes at offset 104857600
1975 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1977 # Write test pattern 0x5e
1978 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
1979 wrote 10485760/10485760 bytes at offset 3298534883328
1980 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1983 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-256-cbc-essiv-auto-sha1.img qiotest-145-aes-256-cbc-essiv-auto-sha1
1985 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-cbc-essiv-auto-sha1
1986 # Read test pattern 0x91
1987 qemu-io -c read -P 0x91 100M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-aes-256-cbc-essiv-auto-sha1
1988 read 10485760/10485760 bytes at offset 104857600
1989 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1991 # Read test pattern 0x5e
1992 qemu-io -c read -P 0x5e 3145728M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-aes-256-cbc-essiv-auto-sha1
1993 read 10485760/10485760 bytes at offset 3298534883328
1994 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1997 sudo cryptsetup -q -v luksClose qiotest-145-aes-256-cbc-essiv-auto-sha1
1999 unlink TEST_DIR/luks-aes-256-cbc-essiv-auto-sha1.img
2001 # ================= dm-crypt aes-256-cbc-plain64-sha256-sha1 =================
2003 truncate TEST_DIR/luks-aes-256-cbc-plain64-sha256-sha1.img --size 4194304MB
2005 sudo cryptsetup -q -v luksFormat --cipher aes-cbc-plain64:sha256 --key-size 256 --hash sha1 --key-slot 0 --key-file - TEST_DIR/luks-aes-256-cbc-plain64-sha256-sha1.img
2007 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-256-cbc-plain64-sha256-sha1.img qiotest-145-aes-256-cbc-plain64-sha256-sha1
2009 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-cbc-plain64-sha256-sha1
2010 # Write test pattern 0xa7
2011 qemu-io -c write -P 0xa7 100M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-aes-256-cbc-plain64-sha256-sha1
2012 wrote 10485760/10485760 bytes at offset 104857600
2013 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2015 # Write test pattern 0x13
2016 qemu-io -c write -P 0x13 3145728M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-aes-256-cbc-plain64-sha256-sha1
2017 wrote 10485760/10485760 bytes at offset 3298534883328
2018 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2021 sudo cryptsetup -q -v luksClose qiotest-145-aes-256-cbc-plain64-sha256-sha1
2022 # Read test pattern 0xa7
2023 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
2024 read 10485760/10485760 bytes at offset 104857600
2025 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2027 # Read test pattern 0x13
2028 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
2029 read 10485760/10485760 bytes at offset 3298534883328
2030 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2032 # Write test pattern 0x91
2033 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
2034 wrote 10485760/10485760 bytes at offset 104857600
2035 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2037 # Write test pattern 0x5e
2038 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
2039 wrote 10485760/10485760 bytes at offset 3298534883328
2040 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2043 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-256-cbc-plain64-sha256-sha1.img qiotest-145-aes-256-cbc-plain64-sha256-sha1
2045 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-cbc-plain64-sha256-sha1
2046 # Read test pattern 0x91
2047 qemu-io -c read -P 0x91 100M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-aes-256-cbc-plain64-sha256-sha1
2048 read 10485760/10485760 bytes at offset 104857600
2049 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2051 # Read test pattern 0x5e
2052 qemu-io -c read -P 0x5e 3145728M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-aes-256-cbc-plain64-sha256-sha1
2053 read 10485760/10485760 bytes at offset 3298534883328
2054 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2057 sudo cryptsetup -q -v luksClose qiotest-145-aes-256-cbc-plain64-sha256-sha1
2059 unlink TEST_DIR/luks-aes-256-cbc-plain64-sha256-sha1.img
2061 # ================= qemu-img aes-256-cbc-plain64-sha256-sha1 =================
2063 qemu-img create -f luks --object secret,id=sec0,data=MTIzNDU2,format=base64 -o key-secret=sec0,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
2064 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
2067 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-256-cbc-plain64-sha256-sha1.img qiotest-145-aes-256-cbc-plain64-sha256-sha1
2069 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-cbc-plain64-sha256-sha1
2070 # Write test pattern 0xa7
2071 qemu-io -c write -P 0xa7 100M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-aes-256-cbc-plain64-sha256-sha1
2072 wrote 10485760/10485760 bytes at offset 104857600
2073 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2075 # Write test pattern 0x13
2076 qemu-io -c write -P 0x13 3145728M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-aes-256-cbc-plain64-sha256-sha1
2077 wrote 10485760/10485760 bytes at offset 3298534883328
2078 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2081 sudo cryptsetup -q -v luksClose qiotest-145-aes-256-cbc-plain64-sha256-sha1
2082 # Read test pattern 0xa7
2083 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
2084 read 10485760/10485760 bytes at offset 104857600
2085 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2087 # Read test pattern 0x13
2088 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
2089 read 10485760/10485760 bytes at offset 3298534883328
2090 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2092 # Write test pattern 0x91
2093 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
2094 wrote 10485760/10485760 bytes at offset 104857600
2095 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2097 # Write test pattern 0x5e
2098 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
2099 wrote 10485760/10485760 bytes at offset 3298534883328
2100 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2103 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-256-cbc-plain64-sha256-sha1.img qiotest-145-aes-256-cbc-plain64-sha256-sha1
2105 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-cbc-plain64-sha256-sha1
2106 # Read test pattern 0x91
2107 qemu-io -c read -P 0x91 100M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-aes-256-cbc-plain64-sha256-sha1
2108 read 10485760/10485760 bytes at offset 104857600
2109 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2111 # Read test pattern 0x5e
2112 qemu-io -c read -P 0x5e 3145728M 10M --image-opts driver=file,filename=/dev/mapper/qiotest-145-aes-256-cbc-plain64-sha256-sha1
2113 read 10485760/10485760 bytes at offset 3298534883328
2114 10 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2117 sudo cryptsetup -q -v luksClose qiotest-145-aes-256-cbc-plain64-sha256-sha1
2119 unlink TEST_DIR/luks-aes-256-cbc-plain64-sha256-sha1.img