[openssl/openssl] 3ebcb2: GCM: record limit counter gets reset on AAD changes

Pauli noreply at github.com
Wed Jul 27 13:23:41 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: 3ebcb2fff56bda788ab1f363eb0023715018a4e5
      https://github.com/openssl/openssl/commit/3ebcb2fff56bda788ab1f363eb0023715018a4e5
  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)




More information about the openssl-commits mailing list