Blame SOURCES/cryptsetup-2.5.0-Do-not-use-too-small-key-in-tests.patch

0f7e16
From 34f033b2549d95833270d657cf099ee4f6faff37 Mon Sep 17 00:00:00 2001
0f7e16
From: Milan Broz <gmazyland@gmail.com>
0f7e16
Date: Fri, 21 Jan 2022 09:55:34 +0100
0f7e16
Subject: [PATCH 3/3] Do not use too small key in tests.
0f7e16
0f7e16
Apparently FIPS mode enforces somewhere minimal key size.
0f7e16
As 64bit key is no longer useful anyway, just remove it.
0f7e16
0f7e16
Apparently cipher_null is now more safer with the longer key,
0f7e16
isn't? :-)
0f7e16
---
0f7e16
 tests/align-test | 10 ----------
0f7e16
 1 file changed, 10 deletions(-)
0f7e16
0f7e16
diff --git a/tests/align-test b/tests/align-test
0f7e16
index 9ae606ca..a00103c2 100755
0f7e16
--- a/tests/align-test
0f7e16
+++ b/tests/align-test
0f7e16
@@ -262,11 +262,6 @@ cleanup
0f7e16
 echo "# Offset check: 512B sector drive"
0f7e16
 add_device dev_size_mb=16 sector_size=512 num_tgts=1
0f7e16
 #           |k| expO reqO expected slot offsets
0f7e16
-format_null  64 2048    0 8:72:136:200:264:328:392:456
0f7e16
-format_null  64  520    1
0f7e16
-format_null  64  520    8
0f7e16
-format_null  64  640  128
0f7e16
-format_null  64 2048 2048
0f7e16
 format_null 128 2048    0 8:136:264:392:520:648:776:904
0f7e16
 format_null 128 1032    1
0f7e16
 format_null 128 1032    8
0f7e16
@@ -286,11 +281,6 @@ cleanup
0f7e16
 
0f7e16
 echo "# Offset check: 4096B sector drive"
0f7e16
 add_device dev_size_mb=16 sector_size=4096 num_tgts=1 opt_blks=64
0f7e16
-format_null  64 2048    0 8:72:136:200:264:328:392:456
0f7e16
-format_null  64  520    1
0f7e16
-format_null  64  520    8
0f7e16
-format_null  64  640  128
0f7e16
-format_null  64 2048 2048
0f7e16
 format_null 128 2048    0 8:136:264:392:520:648:776:904
0f7e16
 format_null 128 1032    1
0f7e16
 format_null 128 1032    8
0f7e16
-- 
0f7e16
2.27.0
0f7e16