hdr->salt, TCRYPT_HDR_SALT_LEN,
key, TCRYPT_HDR_KEY_LEN,
tcrypt_kdf[i].iterations);
+ if (r < 0 && crypt_hash_size(tcrypt_kdf[i].hash) < 0) {
+ log_verbose(cd, _("PBKDF2 hash algorithm %s not available, skipping.\n"),
+ tcrypt_kdf[i].hash);
+ continue;
+ }
if (r < 0)
break;
function test_required()
{
+ echo "REQUIRED KDF TEST"
+ $CRYPTSETUP benchmark -h ripemd160 | grep "N/A" && skip
+ $CRYPTSETUP benchmark -h whirlpool | grep "N/A" && skip
+
echo "REQUIRED CIPHERS TEST"
echo "# Algorithm | Key | Encryption | Decryption"