mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-15 21:00:05 +01:00
Fix reencryption recovery tests w/ cipher_null.
This commit is contained in:
committed by
Milan Broz
parent
855a232403
commit
51ab9da665
@@ -1482,7 +1482,7 @@ if [ -n "$DM_SECTOR_SIZE" ]; then
|
|||||||
echo "sector size 4096->4096"
|
echo "sector size 4096->4096"
|
||||||
|
|
||||||
get_error_offsets 32 $OFFSET 4096
|
get_error_offsets 32 $OFFSET 4096
|
||||||
echo $PWD1 | $CRYPTSETUP -q luksFormat --type luks2 -c null --sector-size 4096 -c aes-cbc-essiv:sha256 --offset $OFFSET $FAST_PBKDF_ARGON $DEV || fail
|
echo $PWD1 | $CRYPTSETUP -q luksFormat --type luks2 -c null --sector-size 4096 --offset $OFFSET $FAST_PBKDF_ARGON $DEV || fail
|
||||||
wipe $PWD1
|
wipe $PWD1
|
||||||
check_hash $PWD1 $HASH1
|
check_hash $PWD1 $HASH1
|
||||||
|
|
||||||
@@ -1524,7 +1524,7 @@ if [ -n "$DM_SECTOR_SIZE" ]; then
|
|||||||
echo "sector size 4096->4096"
|
echo "sector size 4096->4096"
|
||||||
|
|
||||||
get_error_offsets 32 $OFFSET 4096
|
get_error_offsets 32 $OFFSET 4096
|
||||||
echo $PWD1 | $CRYPTSETUP -q luksFormat --type luks2 -c null --sector-size 4096 -c aes-cbc-essiv:sha256 --offset $OFFSET $FAST_PBKDF_ARGON $DEV || fail
|
echo $PWD1 | $CRYPTSETUP -q luksFormat --type luks2 -c null --sector-size 4096 --offset $OFFSET $FAST_PBKDF_ARGON $DEV || fail
|
||||||
wipe $PWD1
|
wipe $PWD1
|
||||||
check_hash $PWD1 $HASH1
|
check_hash $PWD1 $HASH1
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user