Home GnuPG

fips: Introduce GCRYCTL_FIPS_SERVICE_INDICATOR and the macro.

Description

fips: Introduce GCRYCTL_FIPS_SERVICE_INDICATOR and the macro.

* src/fips.c (_gcry_fips_indicator): New.
* src/g10lib.h (_gcry_fips_indicator): New.
* src/gcrypt.h.in (GCRYCTL_FIPS_SERVICE_INDICATOR): New.
(gcry_get_fips_service_indicator): New.
* src/global.c (_gcry_vcontrol): Handle GCRYCTL_FIPS_SERVICE_INDICATOR.
  • GnuPG-bug-id: T7338
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Thu, Dec 5, 3:34 AM
Parents
rCe1cf31232825: fips: Introduce an internal API for FIPS service indicator.
Branches
Unknown
Tags
Unknown
Tasks
T7338: Revamp the FIPS service indicator