Re: [PATCH] lib: rsa: use actual OpenSSL 1.1.0 EVP MD API

2022-03-02 Thread Yann Droneaud
Hi, Le 02/03/2022 à 02:10, Simon Glass a écrit : On Tue, 1 Mar 2022 at 08:12, Yann Droneaud wrote: Since OpenSSL 1.1.0, EVP_MD_CTX_create() is EVP_MD_CTX_new() EVP_MD_CTX_destroy() is EVP_MD_CTX_free() EVP_MD_CTX_init() is EVP_MD_CTX_reset

[PATCH] lib: rsa: use actual OpenSSL 1.1.0 EVP MD API

2022-03-01 Thread Yann Droneaud
to EVP_MD_CTX_init() can be dropped. As there's no need to reset an EVP_MD_CTX before it's destroyed, as it will be reset by EVP_MD_CTX_free(), call to EVP_MD_CTX_reset() is not needed and can be dropped. Signed-off-by: Yann Droneaud --- lib/rsa/rsa-sign.c | 8 +++- 1 file changed, 3