sync code with last improvements from OpenBSD
This commit is contained in:
parent
0e5a54c21a
commit
9bb7c570b7
33 changed files with 1190 additions and 596 deletions
|
@ -1,4 +1,4 @@
|
|||
.\" $OpenBSD: EVP_DigestInit.3,v 1.30 2023/09/07 14:22:11 schwarze Exp $
|
||||
.\" $OpenBSD: EVP_DigestInit.3,v 1.31 2023/09/07 19:59:58 schwarze Exp $
|
||||
.\" full merge up to: OpenSSL 7f572e95 Dec 2 13:57:04 2015 +0000
|
||||
.\" selective merge up to: OpenSSL 24a535ea Sep 22 13:14:20 2020 +0100
|
||||
.\"
|
||||
|
@ -89,7 +89,6 @@
|
|||
.Nm EVP_DigestInit ,
|
||||
.Nm EVP_DigestFinal ,
|
||||
.Nm EVP_MD_CTX_copy ,
|
||||
.Nm EVP_MAX_MD_SIZE ,
|
||||
.Nm EVP_MD_CTX_md ,
|
||||
.Nm EVP_md_null ,
|
||||
.Nm EVP_sha224 ,
|
||||
|
@ -177,7 +176,6 @@
|
|||
.Fa "EVP_MD_CTX *out"
|
||||
.Fa "EVP_MD_CTX *in"
|
||||
.Fc
|
||||
.Fd #define EVP_MAX_MD_SIZE 64 /* SHA512 */
|
||||
.Ft const EVP_MD *
|
||||
.Fo EVP_MD_CTX_md
|
||||
.Fa "const EVP_MD_CTX *ctx"
|
||||
|
@ -460,14 +458,19 @@ or
|
|||
if
|
||||
.Fa ctx
|
||||
is
|
||||
.Dv NULL .
|
||||
.Dv NULL
|
||||
or does not have any message digest algorithm assigned yet.
|
||||
.Pp
|
||||
.Fn EVP_md_null
|
||||
.Fn EVP_md_null ,
|
||||
.Fn EVP_sha224 ,
|
||||
.Fn EVP_sha256 ,
|
||||
.Fn EVP_sha384 ,
|
||||
.Fn EVP_sha512 ,
|
||||
.Fn EVP_sha512_224 ,
|
||||
.Fn EVP_sha512_256 ,
|
||||
and
|
||||
.Fn EVP_ripemd160
|
||||
return pointers to the corresponding
|
||||
.Vt EVP_MD
|
||||
structures.
|
||||
return pointers to constant static objects owned by the library.
|
||||
.Pp
|
||||
.Fn EVP_get_digestbyname ,
|
||||
.Fn EVP_get_digestbynid ,
|
||||
|
@ -551,9 +554,8 @@ main(int argc, char *argv[])
|
|||
.Sh HISTORY
|
||||
.Fn EVP_DigestInit ,
|
||||
.Fn EVP_DigestUpdate ,
|
||||
.Fn EVP_DigestFinal ,
|
||||
and
|
||||
.Dv EVP_MAX_MD_SIZE
|
||||
.Fn EVP_DigestFinal
|
||||
first appeared in SSLeay 0.5.1.
|
||||
.Fn EVP_md_null
|
||||
and
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.\" $OpenBSD: EVP_MD_CTX_ctrl.3,v 1.1 2023/09/07 14:22:11 schwarze Exp $
|
||||
.\" $OpenBSD: EVP_MD_CTX_ctrl.3,v 1.2 2023/09/07 19:28:37 schwarze Exp $
|
||||
.\" full merge up to: OpenSSL man3/EVP_DigestInit.pod
|
||||
.\" 24a535ea Sep 22 13:14:20 2020 +0100
|
||||
.\"
|
||||
|
@ -247,6 +247,12 @@ returns the bitwise OR of the
|
|||
.Fa flags
|
||||
argument and the flags set in
|
||||
.Fa ctx .
|
||||
.Pp
|
||||
.Fn EVP_MD_CTX_pkey_ctx
|
||||
and
|
||||
.Fn EVP_MD_CTX_md_data
|
||||
return pointers to storage owned by
|
||||
.Fa ctx .
|
||||
.Sh SEE ALSO
|
||||
.Xr evp 3 ,
|
||||
.Xr EVP_DigestInit 3 ,
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.\" $OpenBSD: EVP_PKEY_cmp.3,v 1.12 2021/10/19 17:42:49 schwarze Exp $
|
||||
.\" $OpenBSD: EVP_PKEY_cmp.3,v 1.13 2023/09/08 11:37:58 schwarze Exp $
|
||||
.\" full merge up to: OpenSSL 05ea606a May 20 20:52:46 2016 -0400
|
||||
.\" selective merge up to: OpenSSL 99d63d46 Oct 26 13:56:48 2016 -0400
|
||||
.\"
|
||||
|
@ -67,7 +67,7 @@
|
|||
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
||||
.\" OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
.\"
|
||||
.Dd $Mdocdate: October 19 2021 $
|
||||
.Dd $Mdocdate: September 8 2023 $
|
||||
.Dt EVP_PKEY_CMP 3
|
||||
.Os
|
||||
.Sh NAME
|
||||
|
@ -75,6 +75,10 @@
|
|||
.Nm EVP_PKEY_copy_parameters ,
|
||||
.Nm EVP_PKEY_cmp_parameters ,
|
||||
.Nm EVP_PKEY_cmp
|
||||
.\" .Nm EVP_PKEY_save_parameters is intentionally undocumented
|
||||
.\" because nothing uses it according to codesearch.debian.net
|
||||
.\" and it only affects X509_PUBKEY_set(3) for DSA and GOST2001 keys,
|
||||
.\" resulting in incomplete output without the public key parameters.
|
||||
.Nd public key parameter and comparison functions
|
||||
.Sh SYNOPSIS
|
||||
.In openssl/evp.h
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue