Home GnuPG

fips,cipher: Fix the regression with disabled public-key algo.
c6e0658004b5Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

fips,cipher: Fix the regression with disabled public-key algo.

* cipher/pubkey.c (_gcry_pk_decrypt): Continue the computation when
marking non-compliant.
(_gcry_pk_encrypt): When disabled, return an error.
(_gcry_pk_sign, _gcry_pk_sign_md): Likewise.
(gcry_pk_verify, _gcry_pk_verify_md, _gcry_pk_testkey): Likewise.

Cherry-pick master commit of:
2c1d41b5f86f93db56432616bc3ee704b9c9cc39

Details

Provenance
gniibeAuthored on Tue, Jan 20, 7:24 AM
Parents
rC520c699c82e4: mpi: Use secure MPI in _gcry_mpi_assign_limb_space.
Branches
Unknown
Tags
Unknown
References
LIBGCRYPT-1.11-BRANCH

Event Timeline