bitlk: Add a test image for the EOW format

The image was created by pausing the encryption in progress.
This commit is contained in:
Vojtech Trefny
2020-01-30 09:48:24 +01:00
parent da5a35356a
commit af0c30e3ea
2 changed files with 1 additions and 0 deletions

View File

@@ -105,6 +105,7 @@ for file in $(ls $TST_DIR/bitlk-*) ; do
[ $ret -eq 1 ] && ( echo "$file" | grep -q -e "aes-cbc" ) && echo " [N/A]" && continue
[ $ret -eq 1 ] && ( echo "$file" | grep -q -e "aes-cbc-elephant" ) && echo " [N/A]" && continue
[ $ret -eq 1 ] && ( echo "$file" | grep -q -e "clearkey" ) && echo " [N/A]" && continue
[ $ret -eq 1 ] && ( echo "$file" | grep -q -e "eow" ) && echo " [N/A]" && continue
[ $ret -eq 0 ] || fail " failed to open $file ($ret)"
$CRYPTSETUP status $MAP >/dev/null || fail
$CRYPTSETUP status /dev/mapper/$MAP >/dev/null || fail

Binary file not shown.