fips: Recover test cases for selftest, add skipping in FIPS mode.
* cipher/kdf.c (check_one): Skip a test with shorter passphrase in FIPS mode. (selftest_pbkdf2): Recover selftest cases. * cipher/mac-hmac.c (check_one): Skip a test with shorter key in FIPS mode. (selftests_sha224, selftests_sha256): Recover selftest cases. (selftests_sha384, selftests_sha512, selftests_sha3): Likewise.
- Fixes-commit: 76aad97dd312e83f2f9b8d086553f2b72ab6546f
- GnuPG-bug-id: T5512
- Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>