diff options
author | Pauli <paul.dale@oracle.com> | 2019-09-25 20:43:03 +1000 |
---|---|---|
committer | Pauli <paul.dale@oracle.com> | 2019-09-26 07:10:41 +1000 |
commit | 42462e4016d85b2abc5dcd5c872a71bb7521e079 (patch) | |
tree | 93dfecaef29f384a22d20744585a81c2122b7092 /doc | |
parent | 72c162abb093857b2b3ea4fa2c1785eda7d6228f (diff) |
Use OSSL_PARAM types. Limits are explained in the description where appropriate.
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/10011)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/man3/EVP_PKEY_CTX_ctrl.pod | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/man3/EVP_PKEY_CTX_ctrl.pod b/doc/man3/EVP_PKEY_CTX_ctrl.pod index 13ea570865..0fd500ad59 100644 --- a/doc/man3/EVP_PKEY_CTX_ctrl.pod +++ b/doc/man3/EVP_PKEY_CTX_ctrl.pod @@ -163,7 +163,7 @@ The parameters currently supported by the default provider are: =over 4 -=item "pad" (B<OSSL_EXCHANGE_PARAM_PAD>) <uint> +=item "pad" (B<OSSL_EXCHANGE_PARAM_PAD>) <unsigned integer> Sets the DH padding mode. If B<OSSL_EXCHANGE_PARAM_PAD> is 1 then the shared secret is padded with zeroes @@ -171,15 +171,16 @@ up to the size of the DH prime B<p>. If B<OSSL_EXCHANGE_PARAM_PAD> is zero (the default) then no padding is performed. -=item "digest" (B<OSSL_SIGNATURE_PARAM_DIGEST>) <utf8 string> +=item "digest" (B<OSSL_SIGNATURE_PARAM_DIGEST>) <UTF8 string> Gets and sets the name of the digest algorithm used for the input to the signature functions. -=item "digest-size" (B<OSSL_SIGNATURE_PARAM_DIGEST_SIZE>) <size_t> +=item "digest-size" (B<OSSL_SIGNATURE_PARAM_DIGEST_SIZE>) <unsigned integer> Gets and sets the output size of the digest algorithm used for the input to the signature functions. +The length of the "digest-size" parameter should not exceed that of a B<size_t>. The internal algorithm that supports this parameter is DSA. =back |