diff options
| author | Jung-uk Kim <jkim@FreeBSD.org> | 2014-08-07 16:49:55 +0000 |
|---|---|---|
| committer | Jung-uk Kim <jkim@FreeBSD.org> | 2014-08-07 16:49:55 +0000 |
| commit | cb6864802ed26a1031701a6a385961592a5cac25 (patch) | |
| tree | 785ec650cf5f2272f38035e18a3251735344f96d /doc/crypto/EVP_SignInit.pod | |
| parent | 2e22f5e2e00c1f1f599b03634ca27bb5b9ac471e (diff) | |
Notes
Diffstat (limited to 'doc/crypto/EVP_SignInit.pod')
| -rw-r--r-- | doc/crypto/EVP_SignInit.pod | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/crypto/EVP_SignInit.pod b/doc/crypto/EVP_SignInit.pod index 620a623ab620..14ecc775af6a 100644 --- a/doc/crypto/EVP_SignInit.pod +++ b/doc/crypto/EVP_SignInit.pod @@ -30,9 +30,11 @@ signature context B<ctx>. This function can be called several times on the same B<ctx> to include additional data. EVP_SignFinal() signs the data in B<ctx> using the private key B<pkey> and -places the signature in B<sig>. The number of bytes of data written (i.e. the -length of the signature) will be written to the integer at B<s>, at most -EVP_PKEY_size(pkey) bytes will be written. +places the signature in B<sig>. B<sig> must be at least EVP_PKEY_size(pkey) +bytes in size. B<s> is an OUT paramter, and not used as an IN parameter. +The number of bytes of data written (i.e. the length of the signature) +will be written to the integer at B<s>, at most EVP_PKEY_size(pkey) bytes +will be written. EVP_SignInit() initializes a signing context B<ctx> to use the default implementation of digest B<type>. |
