summaryrefslogtreecommitdiffstats
path: root/doc/man7/provider-digest.pod
diff options
context:
space:
mode:
authorPauli <paul.dale@oracle.com>2019-09-25 12:42:42 +0200
committerPauli <paul.dale@oracle.com>2019-09-25 23:10:41 +0200
commit72c162abb093857b2b3ea4fa2c1785eda7d6228f (patch)
tree3e751abeeac02db01759c899ea493efad4e6590b /doc/man7/provider-digest.pod
parentKDF section 3 clean up (diff)
downloadopenssl-72c162abb093857b2b3ea4fa2c1785eda7d6228f.tar.xz
openssl-72c162abb093857b2b3ea4fa2c1785eda7d6228f.zip
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/man7/provider-digest.pod')
-rw-r--r--doc/man7/provider-digest.pod7
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/man7/provider-digest.pod b/doc/man7/provider-digest.pod
index 3d7808452c..83989dcf8b 100644
--- a/doc/man7/provider-digest.pod
+++ b/doc/man7/provider-digest.pod
@@ -227,9 +227,10 @@ parameters are relevant to, or are understood by all digests:
=over 4
-=item B<OSSL_DIGEST_PARAM_XOFLEN> (size_t)
+=item B<OSSL_DIGEST_PARAM_XOFLEN> (unsigned integer)
Sets the digest length for extendable output functions.
+The length of the "xoflen" parameter should not exceed that of a B<size_t>.
=item B<OSSL_DIGEST_PARAM_SSL3_MS> (octet string)
@@ -243,7 +244,7 @@ section 5.6.8.
The next call after setting this parameter will be OP_digest_final().
This is only relevant for implementations of SHA1 or MD5_SHA1.
-=item B<OSSL_DIGEST_PARAM_PAD_TYPE> (uint)
+=item B<OSSL_DIGEST_PARAM_PAD_TYPE> (unsigned integer)
Sets the pad type to be used.
The only built-in digest that uses this is MDC2.
@@ -251,7 +252,7 @@ Normally the final MDC2 block is padded with 0s.
If the pad type is set to 2 then the final block is padded with 0x80 followed by
0s.
-=item B<OSSL_DIGEST_PARAM_MICALG> (utf8 string)
+=item B<OSSL_DIGEST_PARAM_MICALG> (UTF8 string)
Gets the digest Message Integrity Check algorithm string.
This is used when creating S/MIME multipart/signed messages, as specified in