Home GnuPG

fips: Add function-name based FIPS indicator.
822ee57f07caUnpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

fips: Add function-name based FIPS indicator.

* doc/gcrypt.texi: Document the new function-based fips indicator
  GCRYCTL_FIPS_SERVICE_INDICATOR_FUNCTION
* src/fips.c (_gcry_fips_indicator_function): New function indicating
  non-approved functions.
* src/gcrypt.h.in (enum gcry_ctl_cmds): New symbol
  GCRYCTL_FIPS_SERVICE_INDICATOR_FUNCTION
* src/global.c (_gcry_vcontrol): Handle new FIPS indicator.

Cherry-picked from master commit:
05a9c9d1ba1db6c1cd160fba979e9ddf4700a0c0

  • Signed-off-by: Jakub Jelen <jjelen@redhat.com>

Details

Provenance
JakujeAuthored on Aug 8 2022, 1:50 PM
gniibeCommitted on Aug 30 2022, 4:00 AM
Parents
rC06c9350165d7: fips: Run digest&sign self tests for RSA and ECC in FIPS mode.
Branches
Unknown
Tags
Unknown