From: Dr. David von Oheimb Date: Tue, 28 Apr 2020 09:00:07 +0000 (+0200) Subject: Improve description of algorithm NIDs in doc/man3/OSSL_CMP_CTX_new.pod X-Git-Tag: openssl-3.0.0-alpha2~35 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d3d0784e4147d2253ed4a13b7eafea4eeeaf38fb;p=oweals%2Fopenssl.git Improve description of algorithm NIDs in doc/man3/OSSL_CMP_CTX_new.pod Reviewed-by: Matt Caswell Reviewed-by: David von Oheimb (Merged from https://github.com/openssl/openssl/pull/11470) --- diff --git a/doc/man3/OSSL_CMP_CTX_new.pod b/doc/man3/OSSL_CMP_CTX_new.pod index 354965b7d4..1bc9ef8cd0 100644 --- a/doc/man3/OSSL_CMP_CTX_new.pod +++ b/doc/man3/OSSL_CMP_CTX_new.pod @@ -226,18 +226,18 @@ The following options can be set: =item B - The digest algorithm NID to be used in RFC 4210's MSG_SIG_ALG, - if applicable used for message protection and Proof-of-Possession. + The NID of the digest algorithm to be used in RFC 4210's MSG_SIG_ALG + for signature-based message protection and Proof-of-Possession (POPO). Default is SHA256. - OSSL_CMP_OPT_OWF_ALGNID - The digest algorithm NID to be used as one-way function (OWF) - in RFC 4210's MSG_MAC_ALG, if applicable used for message protection. +=item B + The NID of the digest algorithm to be used as one-way function (OWF) + in RFC 4210's MSG_MAC_ALG for PBM-based message protection. Default is SHA256. - OSSL_CMP_OPT_MAC_ALGNID - The MAC algorithm NID to be used in RFC 4210's MSG_MAC_ALG, - if applicable used for message protection. +=item B + The NID of the MAC algorithm to be used in RFC 4210's MSG_MAC_ALG + for PBM-based message protection. Default is HMAC-SHA1 as per RFC 4210. =item B