tests/t-kdf: Test KDF FIPS indicator
- tests/t-kdf.c (check_fips_indicators): Add test for gcry_control (GCRYCTL_FIPS_SERVICE_INDICATOR_KDF).
Backport master commit of:
37b812f5e2a3c80d4bc104512248a07268f3c98b
Add a tests that checks that
gcry_control(GCRYCTL_FIPS_SERVICE_INDICATOR_KDF) works correctly, does
not return unexpected values, and returns that only PBKDF2 is approved
at the moment.
- Signed-off-by: Clemens Lang <cllang@redhat.com>