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

Tomáš Mráz noreply at github.com
Wed Nov 2 10:03:55 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: bd363ef32403d58a8b41553b5abd602b30073b10
      https://github.com/openssl/openssl/commit/bd363ef32403d58a8b41553b5abd602b30073b10
  Author: Bernd Edlinger <bernd.edlinger at hotmail.de>
  Date:   2022-11-02 (Wed, 02 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)


  Commit: a88e97fcace01ecf557b207f04328a72df5110df
      https://github.com/openssl/openssl/commit/a88e97fcace01ecf557b207f04328a72df5110df
  Author: Tomas Mraz <tomas at openssl.org>
  Date:   2022-11-02 (Wed, 02 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)


Compare: https://github.com/openssl/openssl/compare/15c8df81083f...a88e97fcace0


More information about the openssl-commits mailing list