[openssl/openssl] df9ecd: Have legacy blake2 EVP structure use base blake2 i...

Richard Levitte noreply at github.com
Wed Sep 13 23:10:10 UTC 2023


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: df9ecd2ef3907ec0a7bf9c54d9273d5342329bf9
      https://github.com/openssl/openssl/commit/df9ecd2ef3907ec0a7bf9c54d9273d5342329bf9
  Author: Richard Levitte <levitte at openssl.org>
  Date:   2023-09-14 (Thu, 14 Sep 2023)

  Changed paths:
    M crypto/evp/legacy_blake2.c
    M providers/implementations/digests/blake2_prov.c
    M providers/implementations/include/prov/blake2.h

  Log Message:
  -----------
  Have legacy blake2 EVP structure use base blake2 implementation

For some reason, the code here was made to got through the provider
specific init functions.  This is very very dangerous if the provider
specific functions were to change in any way (such as changes to the
implementation context structure).

Instead, use the init functions from the base blake2 implementations
directly.

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




More information about the openssl-commits mailing list