fips,mac: Implement new FIPS service indicator for gcry_mac_open.
* src/gcrypt.h.in (GCRY_MAC_FLAG_REJECT_NON_FIPS): New. * cipher/mac.c (mac_open): Have FLAGS, instead of SECURE. Reject when GCRY_MAC_FLAG_REJECT_NON_FIPS, otherwise, mark non compliant. (_gcry_mac_open): Follow the change. * src/visibility.c (gcry_mac_open): Add initialization for FIPS service indicator. (gcry_mac_setkey): Likewise. Don't reject but mark.
- GnuPG-bug-id: T7338
- Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>