Home GnuPG

cipher: Rename _gcry_cipher_is_mode_fips_compliant

Description

cipher: Rename _gcry_cipher_is_mode_fips_compliant

* cipher/cipher.c (_gcry_cipher_is_mode_fips_compliant): Rename to
_gcry_cipher_mode_fips_compliance for better clarity and change the
return type to gcry_err_code_t.
* cipher/cipher.c (_gcry_cipher_mode_fips_compliance): Use
gcry_cipher_modes instead of int for mode.
* tests/t-fips-service-ind.c (check_cipher_o_s_e_d_c): Fix typo in fail.
  • Signed-off-by: Lucas Mulling <lucas.mulling@suse.com>

Details

Provenance
Lucas Mulling <lucas.mulling@suse.com>Authored on Tue, Jan 28, 5:45 PM
wernerCommitted on Wed, Feb 12, 9:29 AM
Parents
rCdd480b1e7974: mpi/longlong: prevent optimization of carry instructions to branches
Branches
Unknown
Tags
Unknown