Home GnuPG

fips: Verify library integrity before running selftests.

Description

fips: Verify library integrity before running selftests.

* src/fips.c (run_hmac_sha256_selftests): New function.
(_gcry_fips_run_selftests): Move integrity check earlier and run
HMAC-SHA256 tests before that.
  • GnuPG-bug-id: T5617
  • Signed-off-by: Jakub Jelen <jjelen@redhat.com>

Details

Provenance
JakujeAuthored on Sep 22 2021, 3:25 PM
gniibeCommitted on Oct 14 2021, 9:37 AM
Parents
rCbba63fab1a22: cipher: Allow generation of RSA keys > 2k
Branches
Unknown
Tags
Unknown
Tasks
T5617: fips: Check library integrity before running selftests