[openssl/openssl] 1f6eb7: GCM: record limit counter gets reset on AAD changes

pauli noreply at reply.github.openssl.org
Wed Jul 27 13:21:31 UTC 2022


  Branch: refs/heads/openssl-3.0
  Home:   https://github.openssl.org/openssl/openssl
  Commit: 1f6eb7b9799d3a8b8ebc071f5fbd17b11c914b8f
      https://github.openssl.org/openssl/openssl/commit/1f6eb7b9799d3a8b8ebc071f5fbd17b11c914b8f
  Author: Pauli <pauli at openssl.org>
  Date:   2022-07-27 (Wed, 27 Jul 2022)

  Changed paths:
    M providers/implementations/ciphers/ciphercommon_gcm.c

  Log Message:
  -----------
  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 at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18860)

(cherry picked from commit 3ebcb2fff56bda788ab1f363eb0023715018a4e5)




More information about the openssl-commits mailing list