Home GnuPG

fips: Add support for KDF FIPS indicators

Description

fips: Add support for KDF FIPS indicators

* src/fips.c (_gcry_fips_indicator): rename to
  _gcry_fips_indicator_cipher().
  (_gcry_fips_indicator_kdf): New function.
* src/g10lib.h: Rename _gcry_fips_indicator to
  _gcry_fips_indicator_cipher() and add _gcry_fips_indicator_kdf()
* src/gcrypt.h.in (enum gcry_ctl_cmds): Add
  GCRYCTL_FIPS_SERVICE_INDICATOR_CIPHER and
  GCRYCTL_FIPS_SERVICE_INDICATOR_KDF.
* src/global.c (_gcry_vcontrol): Implement support for KDF FIPS
  Indicator separate from the cipher one.
  • GnuPG-bug-id: T5512
  • Signed-off-by: Jakub Jelen <jjelen@redhat.com>

Details

Provenance
JakujeAuthored on Jan 11 2022, 3:06 PM
gniibeCommitted on Jan 17 2022, 6:32 AM
Parents
rCdfd53c7eddf0: rijndael-aesni: small optimization for cbc-enc and cfb-enc
Branches
Unknown
Tags
Unknown
Tasks
T5512: Implement service indicators