diff options
author | miod <> | 2014-07-11 16:18:14 +0000 |
---|---|---|
committer | miod <> | 2014-07-11 16:18:14 +0000 |
commit | 42ef36c6813822962aff009ee1ca5eaf04d6c5c7 (patch) | |
tree | d06ffa1565a72fd493dbed6024d44e5daa26be91 /src/lib/libcrypto/doc/EVP_SignInit.pod | |
parent | 687488572f223f89cf98909e87b4d1a3fbb14bfd (diff) | |
download | openbsd-42ef36c6813822962aff009ee1ca5eaf04d6c5c7.tar.gz openbsd-42ef36c6813822962aff009ee1ca5eaf04d6c5c7.tar.bz2 openbsd-42ef36c6813822962aff009ee1ca5eaf04d6c5c7.zip |
Huge documentation update for libcrypto and libssl, mostly from Matt Caswell,
Jeff Trawick, Jean-Paul Calderone, Michal Bozon, Jeffrey Walton and Rich Salz,
via OpenSSL trunk (with some parts not applying to us, such as SSLv2 support,
at least partially removed).
Diffstat (limited to 'src/lib/libcrypto/doc/EVP_SignInit.pod')
-rw-r--r-- | src/lib/libcrypto/doc/EVP_SignInit.pod | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/lib/libcrypto/doc/EVP_SignInit.pod b/src/lib/libcrypto/doc/EVP_SignInit.pod index 6ea6df655e..5a1b67e006 100644 --- a/src/lib/libcrypto/doc/EVP_SignInit.pod +++ b/src/lib/libcrypto/doc/EVP_SignInit.pod | |||
@@ -30,9 +30,11 @@ signature context B<ctx>. This function can be called several times on the | |||
30 | same B<ctx> to include additional data. | 30 | same B<ctx> to include additional data. |
31 | 31 | ||
32 | EVP_SignFinal() signs the data in B<ctx> using the private key B<pkey> and | 32 | EVP_SignFinal() signs the data in B<ctx> using the private key B<pkey> and |
33 | places the signature in B<sig>. The number of bytes of data written (i.e. the | 33 | places the signature in B<sig>. B<sig> must be at least EVP_PKEY_size(pkey) |
34 | length of the signature) will be written to the integer at B<s>, at most | 34 | bytes in size. B<s> is an OUT parameter, and not used as an IN parameter. |
35 | EVP_PKEY_size(pkey) bytes will be written. | 35 | The number of bytes of data written (i.e. the length of the signature) |
36 | will be written to the integer at B<s>, at most EVP_PKEY_size(pkey) bytes | ||
37 | will be written. | ||
36 | 38 | ||
37 | EVP_SignInit() initializes a signing context B<ctx> to use the default | 39 | EVP_SignInit() initializes a signing context B<ctx> to use the default |
38 | implementation of digest B<type>. | 40 | implementation of digest B<type>. |