diff options
Diffstat (limited to 'doc/man3/EVP_VerifyInit.pod')
-rw-r--r-- | doc/man3/EVP_VerifyInit.pod | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/man3/EVP_VerifyInit.pod b/doc/man3/EVP_VerifyInit.pod index be5332a55d..b505af405d 100644 --- a/doc/man3/EVP_VerifyInit.pod +++ b/doc/man3/EVP_VerifyInit.pod @@ -3,7 +3,7 @@ =head1 NAME EVP_VerifyInit_ex, -EVP_VerifyInit, EVP_VerifyUpdate, EVP_VerifyFinal_with_libctx, EVP_VerifyFinal +EVP_VerifyInit, EVP_VerifyUpdate, EVP_VerifyFinal_ex, EVP_VerifyFinal - EVP signature verification functions =head1 SYNOPSIS @@ -12,9 +12,9 @@ EVP_VerifyInit, EVP_VerifyUpdate, EVP_VerifyFinal_with_libctx, EVP_VerifyFinal int EVP_VerifyInit_ex(EVP_MD_CTX *ctx, const EVP_MD *type, ENGINE *impl); int EVP_VerifyUpdate(EVP_MD_CTX *ctx, const void *d, unsigned int cnt); - int EVP_VerifyFinal_with_libctx(EVP_MD_CTX *ctx, const unsigned char *sigbuf, - unsigned int siglen, EVP_PKEY *pkey, - OPENSSL_CTX *libctx, const char *propq); + int EVP_VerifyFinal_ex(EVP_MD_CTX *ctx, const unsigned char *sigbuf, + unsigned int siglen, EVP_PKEY *pkey, + OPENSSL_CTX *libctx, const char *propq); int EVP_VerifyFinal(EVP_MD_CTX *ctx, unsigned char *sigbuf, unsigned int siglen, EVP_PKEY *pkey); @@ -33,12 +33,12 @@ EVP_VerifyUpdate() hashes I<cnt> bytes of data at I<d> into the verification context I<ctx>. This function can be called several times on the same I<ctx> to include additional data. -EVP_VerifyFinal_with_libctx() verifies the data in I<ctx> using the public key +EVP_VerifyFinal_ex() verifies the data in I<ctx> using the public key I<pkey> and I<siglen> bytes in I<sigbuf>. The library context I<libctx> and property query I<propq> are used when creating a context to use with the key I<pkey>. -EVP_VerifyFinal() is similar to EVP_VerifyFinal_with_libctx() but uses default +EVP_VerifyFinal() is similar to EVP_VerifyFinal_ex() but uses default values of NULL for the library context I<libctx> and the property query I<propq>. EVP_VerifyInit() initializes verification context I<ctx> to use the default @@ -49,7 +49,7 @@ implementation of digest I<type>. EVP_VerifyInit_ex() and EVP_VerifyUpdate() return 1 for success and 0 for failure. -EVP_VerifyFinal()_with_libctx() and EVP_VerifyFinal() return 1 for a correct +EVP_VerifyFinal()_ex() and EVP_VerifyFinal() return 1 for a correct signature, 0 for failure and -1 if some other error occurred. The error codes can be obtained by L<ERR_get_error(3)>. @@ -93,7 +93,7 @@ L<SHA1(3)>, L<openssl-dgst(1)> head1 HISTORY -The function EVP_VerifyFinal_with_libctx() was added in OpenSSL 3.0. +The function EVP_VerifyFinal_ex() was added in OpenSSL 3.0. =head1 COPYRIGHT |