X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=doc%2Fman3%2FEVP_PKEY_verify_recover.pod;h=8be999333bb5220a6332aa94527b67c46758b351;hp=737c372dd19774885c150143275d1ef462b53098;hb=0e52100400e647aeb5b8ac1b92c74d53918d39a0;hpb=c0e0984f125ee30820520829c4c112b1e166f871 diff --git a/doc/man3/EVP_PKEY_verify_recover.pod b/doc/man3/EVP_PKEY_verify_recover.pod index 737c372dd1..8be999333b 100644 --- a/doc/man3/EVP_PKEY_verify_recover.pod +++ b/doc/man3/EVP_PKEY_verify_recover.pod @@ -2,15 +2,13 @@ =head1 NAME -EVP_PKEY_verify_recover_init_ex, EVP_PKEY_verify_recover_init, -EVP_PKEY_verify_recover - recover signature using a public key algorithm +EVP_PKEY_verify_recover_init, EVP_PKEY_verify_recover +- recover signature using a public key algorithm =head1 SYNOPSIS #include - int EVP_PKEY_verify_recover_init_ex(EVP_PKEY_CTX *ctx, - EVP_SIGNATURE *signature); int EVP_PKEY_verify_recover_init(EVP_PKEY_CTX *ctx); int EVP_PKEY_verify_recover(EVP_PKEY_CTX *ctx, unsigned char *rout, size_t *routlen, @@ -18,28 +16,19 @@ EVP_PKEY_verify_recover - recover signature using a public key algorithm =head1 DESCRIPTION -The EVP_PKEY_verify_recover_init_ex() function initializes a public key -algorithm context for performing signature signed data recovery using the -signature algorithm B. -The signature algorithm B should be fetched using a call to -L. -The EVP_PKEY object associated with B must be compatible with that -algorithm. -B may be NULL in which case the EVP_SIGNATURE algorithm is fetched -implicitly based on the type of EVP_PKEY associated with B. -See L for more information about implict fetches. - -The EVP_PKEY_verify_recover_init() function is the same as -EVP_PKEY_verify_recover_init_ex() except that the EVP_SIGNATURE algorithm is -always implicitly fetched. +EVP_PKEY_verify_recover_init() initializes a public key algorithm context +I for signing using the algorithm given when the context was created +using L or variants thereof. The algorithm is used to +fetch a B method implicitly, see L +for more information about implict fetches. The EVP_PKEY_verify_recover() function recovers signed data -using B. The signature is specified using the B and -B parameters. If B is B then the maximum size of the output -buffer is written to the B parameter. If B is not B then -before the call the B parameter should contain the length of the -B buffer, if the call is successful recovered data is written to -B and the amount of data written to B. +using I. The signature is specified using the I and +I parameters. If I is NULL then the maximum size of the output +buffer is written to the I parameter. If I is not NULL then +before the call the I parameter should contain the length of the +I buffer, if the call is successful recovered data is written to +I and the amount of data written to I. =head1 NOTES