[openssl/openssl] aa9729: Add a test case for the engine crash with AES-256-CTR

Tomáš Mráz noreply at github.com
Thu Nov 10 08:39:05 UTC 2022


  Branch: refs/heads/openssl-3.0
  Home:   https://github.com/openssl/openssl
  Commit: aa97297427fe60e89bbd11cc2f8a181dfc5ca89d
      https://github.com/openssl/openssl/commit/aa97297427fe60e89bbd11cc2f8a181dfc5ca89d
  Author: Bernd Edlinger <bernd.edlinger at hotmail.de>
  Date:   2022-11-10 (Thu, 10 Nov 2022)

  Changed paths:
    M engines/e_dasync.c
    M test/recipes/05-test_rand.t

  Log Message:
  -----------
  Add a test case for the engine crash with AES-256-CTR

Implement the AES-256-CTR cipher in the dasync engine.

Use that to reproduce the reported problems with the
devcrypto engine in our normal test environment.

See #17995 and #17532 for details.

Reviewed-by: Paul Dale <pauli at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19390)


  Commit: d0f8056c47f7aea40a34815fe459404f14501e81
      https://github.com/openssl/openssl/commit/d0f8056c47f7aea40a34815fe459404f14501e81
  Author: Tomas Mraz <tomas at openssl.org>
  Date:   2022-11-10 (Thu, 10 Nov 2022)

  Changed paths:
    M crypto/context.c
    M crypto/rand/rand_lib.c
    M include/crypto/rand.h
    M include/internal/cryptlib.h

  Log Message:
  -----------
  Release the drbg in the global default context before engines

Fixes #17995
Fixes #18578

Reviewed-by: Paul Dale <pauli at openssl.org>
Reviewed-by: Bernd Edlinger <bernd.edlinger at hotmail.de>
(Merged from https://github.com/openssl/openssl/pull/19390)


Compare: https://github.com/openssl/openssl/compare/e285a0b5a0ee...d0f8056c47f7


More information about the openssl-commits mailing list