Home GnuPG

Adding gcry_cipher_setup_geniv and gcry_cipher_geniv.
b512121503acUnpublished

Unpublished Commit · Learn More

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

Description

Adding gcry_cipher_setup_geniv and gcry_cipher_geniv.

... to allow use of GCM in FIPS mode.

  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Aug 18 2022, 4:25 AM
Parents
rCc5480b4934bb: fips: Skip selftests of unsupported PK algos
Branches
Unknown
Tags
Unknown

Event Timeline

jukivili added inline comments.
/cipher/cipher.c
1279

It would be good to check 'fixed_iv_len' and 'dyn_iv_len' for invalid values before memcpy here... if len is too large, or if len is zero (len must not be zero for memcpy).