Home GnuPG

build: Generate hash for integrity check with hmac256 (2).

Description

build: Generate hash for integrity check with hmac256 (2).

* src/Makefile.am (libgcrypt.la.done): Use the rodata1 section.
* src/fips.c (_gcry_fips_run_selftests): Only enable
check_binary_integrity by ENABLE_HMAC_BINARY_CHECK.
[ENABLE_HMAC_BINARY_CHECK] (hmac_for_the_implementation): New.
[ENABLE_HMAC_BINARY_CHECK] (check_binary_integrity): Use
hmac_for_the_implementation in rodata.
  • GnuPG-bug-id: T5550
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Aug 19 2021, 3:48 AM
Parents
rC3c89aad4a0d7: build: Generate hash for integrity check with hmac256.
Branches
Unknown
Tags
Unknown
Tasks
T5550: Fix check_binary_integrity