diff options
author | NIIBE Yutaka <gniibe@fsij.org> | 2021-01-19 14:29:27 +0900 |
---|---|---|
committer | NIIBE Yutaka <gniibe@fsij.org> | 2021-01-19 14:29:27 +0900 |
commit | ebeae53222648c637907f4b358888fc0e7123dc9 (patch) | |
tree | 824ad08a3aee6d3f46ec617a8908a6870c5667e2 /cipher/dsa.c | |
parent | 7a0da24925361a3109474d0e433511467a9e35d1 (diff) | |
download | libgcrypt-ebeae53222648c637907f4b358888fc0e7123dc9.tar.gz |
Check if FIPS is operational and error return if not.
* src/visibility.c (gcry_kdf_derive): Add the check.
(gcry_prime_generate, gcry_prime_group_generator): Likewise.
(gcry_mpi_randomize): Likewise, but no return.
--
Original work was libgcrypt-1.7.3-fips-reqs.patch from Red Hat.
Also, adding the check to gcry_prime_group_generator.
GnuPG-bug-id: 5243
Co-authored-by: Tomáš Mráz <tm@t8m.info>
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
Diffstat (limited to 'cipher/dsa.c')
0 files changed, 0 insertions, 0 deletions