Home GnuPG

Add bulk function interface for GCM mode

Description

Add bulk function interface for GCM mode

* cipher/cipher-gcm.c (do_ghash_buf): Proper handling for the case
where 'unused' gets filled to full blocksize.
(gcm_crypt_inner): New.
(_gcry_cipher_gcm_encrypt, _gcry_cipher_gcm_decrypt): Use
'gcm_crypt_inner'.
* cipher/cipher-internal.h (cipher_bulk_ops_t): Add 'gcm_crypt'.
  • Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>

Details

Provenance
jukiviliAuthored on Nov 7 2020, 10:36 AM
Parents
rC9219d9d1b60c: Add s390x/zSeries acceleration for AES
Branches
Unknown
Tags
Unknown