Lines Matching +full:100 +full:md

15 	sectors=100
16 attach_md md -t malloc -s `expr $sectors + 1`
27 atf_check geli init -B none -P -K keyfile1 ${md}
28 atf_check geli attach -p -k keyfile1 ${md}
31 dd if=rnd of=/dev/${md}.eli bs=512 count=${sectors} status=none
32 hash2=`dd if=/dev/${md}.eli bs=512 count=${sectors} 2>/dev/null | md5`
36 atf_check -s exit:0 -o ignore geli setkey -P -K keyfile2 ${md}
37 atf_check geli detach ${md}
41 geli attach -p -k keyfile1 ${md}
44 atf_check geli attach -p -k keyfile2 ${md}
45 hash3=`dd if=/dev/${md}.eli bs=512 count=${sectors} 2>/dev/null | md5`
49 atf_check -s exit:0 -o ignore geli setkey -n 1 -P -K keyfile3 ${md}
50 atf_check geli detach ${md}
53 atf_check geli attach -p -k keyfile3 ${md}
54 hash4=`dd if=/dev/${md}.eli bs=512 count=${sectors} 2>/dev/null | md5`
56 atf_check geli detach ${md}
59 atf_check -s exit:0 -o ignore geli setkey -p -k keyfile3 -P -K keyfile4 ${md}
63 geli attach -p -k keyfile3 ${md}
66 atf_check geli attach -p -k keyfile4 ${md}
67 hash5=`dd if=/dev/${md}.eli bs=512 count=${sectors} 2>/dev/null | md5`
69 atf_check geli detach ${md}
72 atf_check -s exit:0 -o ignore geli setkey -n 0 -p -k keyfile4 -P -K keyfile5 ${md}
76 geli attach -p -k keyfile2 ${md} 2>/dev/null
79 atf_check geli attach -p -k keyfile5 ${md}
80 hash6=`dd if=/dev/${md}.eli bs=512 count=${sectors} 2>/dev/null | md5`
82 atf_check geli detach ${md}
105 sectors=100
106 attach_md md -t malloc -s `expr $sectors + 1`
115 atf_check geli init -B none -J pass1 ${md}
116 atf_check geli attach -j pass1 ${md}
119 dd if=rnd of=/dev/${md}.eli bs=512 count=${sectors} status=none
120 hash2=`dd if=/dev/${md}.eli bs=512 count=${sectors} 2>/dev/null | md5`
123 atf_check geli detach ${md}
126 atf_check -s exit:0 -o ignore geli setkey -j pass1 -J pass2 ${md}
131 geli attach -j pass1 ${md}
132 atf_check -s exit:0 geli attach -j pass2 ${md}
133 hash3=`dd if=/dev/${md}.eli bs=512 count=${sectors} 2>/dev/null | md5`
136 atf_check -s exit:0 -o ignore geli setkey -j pass2 -J pass3 ${md}
137 hash4=`dd if=/dev/${md}.eli bs=512 count=${sectors} 2>/dev/null | md5`
138 atf_check geli detach ${md}
142 geli attach -j pass2 ${md}
163 sectors=100
164 attach_md md -t malloc -s `expr $sectors + 1`
167 atf_check geli init -B none -P -K keyfile ${md}
168 atf_check geli attach -r -p -k keyfile ${md}
171 geli setkey -n 1 -P -K /dev/null ${md}
188 sectors=100
189 attach_md md -t malloc -s `expr $sectors + 1`
193 atf_check geli init -B none -P -K keyfile1 ${md}
198 geli setkey -n 0 -p -P -K keyfile2 ${md}
203 geli setkey -n 0 -p -k keyfile1 -P ${md}
206 atf_check geli attach -p -k keyfile1 ${md}
208 geli setkey -n 0 -P ${md}