Codebase list openssl / 5341893
DOC: Make EVP_SignInit.pod conform with man-pages(7) Reviewed-by: Nicola Tuveri <nic.tuv@gmail.com> (cherry picked from commit 03d65ca2095777cf6314ad813eb7de5779c9b93d) Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com> (Merged from https://github.com/openssl/openssl/pull/11232) Richard Levitte authored 4 years ago Dr. Matthias St. Pierre committed 4 years ago
1 changed file(s) with 11 addition(s) and 11 deletion(s). Raw diff Collapse all Expand all
1919 The EVP signature routines are a high level interface to digital
2020 signatures.
2121
22 EVP_SignInit_ex() sets up signing context B<ctx> to use digest
23 B<type> from ENGINE B<impl>. B<ctx> must be created with
22 EVP_SignInit_ex() sets up signing context I<ctx> to use digest
23 I<type> from B<ENGINE> I<impl>. I<ctx> must be created with
2424 EVP_MD_CTX_new() before calling this function.
2525
26 EVP_SignUpdate() hashes B<cnt> bytes of data at B<d> into the
27 signature context B<ctx>. This function can be called several times on the
28 same B<ctx> to include additional data.
26 EVP_SignUpdate() hashes I<cnt> bytes of data at I<d> into the
27 signature context I<ctx>. This function can be called several times on the
28 same I<ctx> to include additional data.
2929
30 EVP_SignFinal() signs the data in B<ctx> using the private key B<pkey> and
31 places the signature in B<sig>. B<sig> must be at least C<EVP_PKEY_size(pkey)>
32 bytes in size. B<s> is an OUT parameter, and not used as an IN parameter.
30 EVP_SignFinal() signs the data in I<ctx> using the private key I<pkey> and
31 places the signature in I<sig>. I<sig> must be at least C<EVP_PKEY_size(pkey)>
32 bytes in size. I<s> is an OUT parameter, and not used as an IN parameter.
3333 The number of bytes of data written (i.e. the length of the signature)
34 will be written to the integer at B<s>, at most C<EVP_PKEY_size(pkey)> bytes
34 will be written to the integer at I<s>, at most C<EVP_PKEY_size(pkey)> bytes
3535 will be written.
3636
37 EVP_SignInit() initializes a signing context B<ctx> to use the default
38 implementation of digest B<type>.
37 EVP_SignInit() initializes a signing context I<ctx> to use the default
38 implementation of digest I<type>.
3939
4040 =head1 RETURN VALUES
4141