Files
node/lib
Joyee Cheung 57c22e4a22 crypto: use EVP_MD_fetch and cache EVP_MD for hashes
On OpenSSL 3, migrate from EVP_get_digestbyname() to EVP_MD_fetch()
to get the implementation and use a per-Environment cache for it.
The EVP_MDs are freed during Environment cleanup.

Drive-by: declare the smart pointer for EVP_MD_CTX as EVPMDCtxPointer
instead of EVPMDPointer to avoid confusion with EVP_MD pointers.

PR-URL: https://github.com/nodejs/node/pull/51034
Refs: https://www.openssl.org/docs/man3.0/man7/crypto.html#Explicit-fetching
Refs: https://github.com/nodejs/performance/issues/136
Reviewed-By: James M Snell <jasnell@gmail.com>
2024-01-05 22:16:27 +00:00
..
2023-07-11 19:50:13 +03:00
2023-11-11 16:25:08 +00:00
2023-11-11 16:25:08 +00:00
2023-11-11 16:25:08 +00:00
2023-11-11 16:25:08 +00:00
2023-10-29 16:29:59 +00:00
2024-01-05 00:49:07 +00:00
2023-12-21 10:43:15 +00:00
2023-11-11 16:25:08 +00:00
2023-07-11 19:50:13 +03:00
2023-12-21 16:56:35 +00:00
2023-12-23 10:23:43 +00:00
2023-11-11 16:25:08 +00:00
2023-11-11 16:25:08 +00:00