diff options
| author | Yann Droneaud <[email protected]> | 2022-03-01 16:12:34 +0100 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2022-03-04 15:20:07 -0500 |
| commit | 9b5ad4f5da756939eac4123fc347af533eeb339e (patch) | |
| tree | 6e69554b0f9e3e5c3971da75fe1f10dc6098db10 /include/linux | |
| parent | 4fa4227cdd14020bb6d588293f3cb8591aeebfa0 (diff) | |
lib: rsa: use actual OpenSSL 1.1.0 EVP MD API
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()
As there's no need to reset a newly created EVP_MD_CTX, moreover
EVP_DigestSignInit() does the reset, thus call 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 <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
