Home GnuPG

fips: Change the internal API for new FIPS service indicator.

Description

fips: Change the internal API for new FIPS service indicator.

* src/gcrypt-int.h (fips_service_indicator_init): Initialize by 0.
(fips_service_indicator_mark_success): Remove.
(fips_service_indicator_mark_non_compliant): New.
* cipher/kdf.c (_gcry_kdf_derive): Follow the change of the API.
* cipher/md.c (_gcry_md_hash_buffer): Likewise.
(_gcry_md_hash_buffers_extract): Likewise.
  • GnuPG-bug-id: T7338
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Thu, Dec 12, 3:03 AM
Parents
rC47ed744465ae: cipher: Add script to re-generate mceliece6688128f.c.
Branches
Unknown
Tags
Unknown
Tasks
T7338: Revamp the FIPS service indicator