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

Tomáš Mráz noreply at github.com
Tue Nov 22 17:04:59 UTC 2022


  Branch: refs/heads/openssl-3.1
  Home:   https://github.com/openssl/openssl
  Commit: 872dd0a21f22724abe4a02808c3dfbb0abf661a2
      https://github.com/openssl/openssl/commit/872dd0a21f22724abe4a02808c3dfbb0abf661a2
  Author: Bernd Edlinger <bernd.edlinger at hotmail.de>
  Date:   2022-11-22 (Tue, 22 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/19386)

(cherry picked from commit bd363ef32403d58a8b41553b5abd602b30073b10)


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

  Changed paths:
    M crypto/context.c
    M crypto/rand/rand_lib.c
    M include/crypto/context.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/19386)

(cherry picked from commit a88e97fcace01ecf557b207f04328a72df5110df)


Compare: https://github.com/openssl/openssl/compare/e4d8eaac7e2a...d5c02e2de86a


More information about the openssl-commits mailing list