EVP_DigestVerifyInit.pod (312826) | EVP_DigestVerifyInit.pod (340704) |
---|---|
1=pod 2 3=head1 NAME 4 5EVP_DigestVerifyInit, EVP_DigestVerifyUpdate, EVP_DigestVerifyFinal - EVP signature verification functions 6 7=head1 SYNOPSIS 8 --- 5 unchanged lines hidden (view full) --- 14 int EVP_DigestVerifyFinal(EVP_MD_CTX *ctx, const unsigned char *sig, size_t siglen); 15 16=head1 DESCRIPTION 17 18The EVP signature routines are a high level interface to digital signatures. 19 20EVP_DigestVerifyInit() sets up verification context B<ctx> to use digest 21B<type> from ENGINE B<impl> and public key B<pkey>. B<ctx> must be initialized | 1=pod 2 3=head1 NAME 4 5EVP_DigestVerifyInit, EVP_DigestVerifyUpdate, EVP_DigestVerifyFinal - EVP signature verification functions 6 7=head1 SYNOPSIS 8 --- 5 unchanged lines hidden (view full) --- 14 int EVP_DigestVerifyFinal(EVP_MD_CTX *ctx, const unsigned char *sig, size_t siglen); 15 16=head1 DESCRIPTION 17 18The EVP signature routines are a high level interface to digital signatures. 19 20EVP_DigestVerifyInit() sets up verification context B<ctx> to use digest 21B<type> from ENGINE B<impl> and public key B<pkey>. B<ctx> must be initialized |
22with EVP_MD_CTX_init() before calling this function. If B | 22with EVP_MD_CTX_init() before calling this function. If B<pctx> is not NULL, the |
23EVP_PKEY_CTX of the verification operation will be written to B<*pctx>: this | 23EVP_PKEY_CTX of the verification operation will be written to B<*pctx>: this |
24can be used to set alternative verification options. | 24can be used to set alternative verification options. Note that any existing 25value in B<*pctx> is overwritten. The EVP_PKEY_CTX value returned must not be 26freed directly by the application (it will be freed automatically when the 27EVP_MD_CTX is freed). |
25 26EVP_DigestVerifyUpdate() hashes B<cnt> bytes of data at B<d> into the 27verification context B<ctx>. This function can be called several times on the 28same B<ctx> to include additional data. This function is currently implemented 29using a macro. 30 31EVP_DigestVerifyFinal() verifies the data in B<ctx> against the signature in 32B<sig> of length B<siglen>. --- 51 unchanged lines hidden --- | 28 29EVP_DigestVerifyUpdate() hashes B<cnt> bytes of data at B<d> into the 30verification context B<ctx>. This function can be called several times on the 31same B<ctx> to include additional data. This function is currently implemented 32using a macro. 33 34EVP_DigestVerifyFinal() verifies the data in B<ctx> against the signature in 35B<sig> of length B<siglen>. --- 51 unchanged lines hidden --- |