hmac,hkdf: Allow use of shorter salt for HKDF.
* cipher/md.c (prepare_macpads): Move the check to... * src/visibility.c (gcry_mac_setkey): ... here. * tests/t-kdf.c (check_hkdf): No failure is expected.
- GnuPG-bug-id: T6039
- Fixes-commit: 76aad97dd312e83f2f9b8d086553f2b72ab6546f
- Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>