openssl/doc
wangcheng 4c41aa4b33 Add CTX copy function for EVP_MD to optimize the performance of EVP_MD_CTX_copy_ex.
1. Add OSSL_FUNC_digest_copyctx_fn function for EVP_MD, which is used to copy algctx from the old EVP_MD_CTX to the new one.

2. Add implementation of OSSL_FUNC_digest_copyctx_fn function for default providers.

3. Modify EVP_MD_CTX_copy_ex: When the fetched digest is the same in in and out contexts, use the copy function to copy the members in EVP_MD_CTX if the OSSL_FUNC_digest_copyctx_fn function exists. Otherwise, use the previous method to copy.

4. Add documentation for OSSL_FUNC_digest_copyctx function in doc/man7/provider-digest.pod.

5. Add testcase.

Fixes #25703

Signed-off-by: wangcheng <bangwangnj@163.com>

Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/25726)
2024-11-20 14:12:53 +01:00
..
designs Change "a SSL" to "an SSL" 2024-11-13 17:24:40 +01:00
HOWTO Fix some small typos 2024-08-07 04:57:29 -04:00
images update logo 2024-10-21 11:49:25 +01:00
internal feat: define and use ossl_bio_print_hex 2024-11-13 11:53:34 +01:00
life-cycles
man1 openssl-pkeyutl.pod.in: improve description of -rawin and -digest options 2024-11-09 12:06:38 +01:00
man3 Make ossl_trace_param_values an official api function 2024-11-19 08:38:25 -05:00
man5 kdfs: implement key length check in X9.42 2024-09-30 20:03:49 +02:00
man7 Add CTX copy function for EVP_MD to optimize the performance of EVP_MD_CTX_copy_ex. 2024-11-20 14:12:53 +01:00
build.info Make ossl_trace_param_values an official api function 2024-11-19 08:38:25 -05:00
build.info.in
dir-locals.example.el
fingerprints.txt Drop the old PGP key fingerprint 2024-06-06 16:03:38 +02:00
openssl-c-indent.el
perlvars.pm
README.md

OpenSSL Documentation

README.md This file

fingerprints.txt PGP fingerprints of authorised release signers

standards.txt standards.txt Moved to the web, https://www.openssl.org/docs/standards.html

HOWTO/ A few how-to documents; not necessarily up-to-date

man1/ The openssl command-line tools; start with openssl.pod

man3/ The SSL library and the crypto library

man5/ File formats

man7/ Overviews; start with crypto.pod and ssl.pod, for example Algorithm specific EVP_PKEY documentation.

Formatted versions of the manpages (apps,ssl,crypto) can be found at https://www.openssl.org/docs/manpages.html