Pedro Monreal Gonzalez
885a1330e4
to be more than 20 chars to meet FIPS 140-3 requirements (bsc#1229975) OBS-URL: https://build.opensuse.org/package/show/security/cryptsetup?expand=0&rev=206
23 lines
953 B
Diff
23 lines
953 B
Diff
Index: cryptsetup-2.7.0/lib/utils_benchmark.c
|
|
===================================================================
|
|
--- cryptsetup-2.7.0.orig/lib/utils_benchmark.c
|
|
+++ cryptsetup-2.7.0/lib/utils_benchmark.c
|
|
@@ -196,7 +196,7 @@ int crypt_benchmark_pbkdf_internal(struc
|
|
pbkdf->parallel_threads = 0; /* N/A in PBKDF2 */
|
|
pbkdf->max_memory_kb = 0; /* N/A in PBKDF2 */
|
|
|
|
- r = crypt_benchmark_pbkdf(cd, pbkdf, "foobarfo", 8, "01234567890abcdef", 16,
|
|
+ r = crypt_benchmark_pbkdf(cd, pbkdf, "foobarfofoobarfofoobarfo", 24, "01234567890abcdef", 16,
|
|
volume_key_size, &benchmark_callback, &u);
|
|
pbkdf->time_ms = ms_tmp;
|
|
if (r < 0) {
|
|
@@ -216,7 +216,7 @@ int crypt_benchmark_pbkdf_internal(struc
|
|
return 0;
|
|
}
|
|
|
|
- r = crypt_benchmark_pbkdf(cd, pbkdf, "foobarfo", 8,
|
|
+ r = crypt_benchmark_pbkdf(cd, pbkdf, "foobarfofoobarfofoobarfo", 24,
|
|
"0123456789abcdef0123456789abcdef", 32,
|
|
volume_key_size, &benchmark_callback, &u);
|
|
if (r < 0)
|