diff options
author | Pauli <paul.dale@oracle.com> | 2019-09-25 20:27:36 +1000 |
---|---|---|
committer | Pauli <paul.dale@oracle.com> | 2019-09-26 07:10:41 +1000 |
commit | f49a65d09c09b3309b711518664b8ee973ec4b96 (patch) | |
tree | 47569b9bffe04f1d15fb7656cfb1521292eaa1ac /doc/man7/EVP_MAC-HMAC.pod | |
parent | e7f2dac96826d7988467e6293156fcb12277a040 (diff) |
Use OSSL_PARAM types for MAC documentation
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/10011)
Diffstat (limited to 'doc/man7/EVP_MAC-HMAC.pod')
-rw-r--r-- | doc/man7/EVP_MAC-HMAC.pod | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/doc/man7/EVP_MAC-HMAC.pod b/doc/man7/EVP_MAC-HMAC.pod index 3ca2909d03..1b983b2339 100644 --- a/doc/man7/EVP_MAC-HMAC.pod +++ b/doc/man7/EVP_MAC-HMAC.pod @@ -32,24 +32,25 @@ The following parameter can be set with EVP_MAC_CTX_set_params(): =item B<OSSL_MAC_PARAM_FLAGS> ("flags") <octet string> -=item B<OSSL_MAC_PARAM_DIGEST> ("digest") <utf8 string> +=item B<OSSL_MAC_PARAM_DIGEST> ("digest") <UTF8 string> -=item B<OSSL_MAC_PARAM_PROPERTIES> ("properties") <utf8 string> +=item B<OSSL_MAC_PARAM_PROPERTIES> ("properties") <UTF8 string> =back The "flags" parameter is passed directly to HMAC_CTX_set_flags(). -The following parameters can be retrieved with +The following parameter can be retrieved with EVP_MAC_CTX_get_params(): =over 4 -=item B<OSSL_MAC_PARAM_SIZE> ("size") <unsigned int> +=item B<OSSL_MAC_PARAM_SIZE> ("size") <unsigned integer> =back The "size" parameter can also be retrieved with EVP_MAC_size(). +The length of the "size" parameter is equal to that of an B<unsigned int>. =head1 SEE ALSO |