hmac,hkdf: Check the HMAC key length in FIPS mode.
* src/visibility.c (gcry_md_setkey): Add the check here, too.
Cherry-picked from the master commit of:
b095ea7559734f519fbe92d570afe567330eb474
- GnuPG-bug-id: T6039
- Fixes-commit: 58c92098d053aae7c78cc42bdd7c80c13efc89bb
- Signed-off-by: Jakub Jelen <jjelen@redhat.com>