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)