]> git.ipfire.org Git - thirdparty/openssl.git/commit
GCM: record limit counter gets reset on AAD changes 18873/head
authorPauli <pauli@openssl.org>
Mon, 25 Jul 2022 06:07:26 +0000 (16:07 +1000)
committerTomas Mraz <tomas@openssl.org>
Wed, 27 Jul 2022 13:20:49 +0000 (15:20 +0200)
commit3ebcb2fff56bda788ab1f363eb0023715018a4e5
treeafc3cd13c322f5b345bffe2ef4848eb554da772e
parent5f18dc7facc9bd477173ae97a1bd84f21758da58
GCM: record limit counter gets reset on AAD changes

It shouldn't be.  This moves the reset to the init function instead and only
does the reset on a key change.

Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18860)
providers/implementations/ciphers/ciphercommon_gcm.c