From d3d0784e4147d2253ed4a13b7eafea4eeeaf38fb Mon Sep 17 00:00:00 2001 From: "Dr. David von Oheimb" Date: Tue, 28 Apr 2020 11:00:07 +0200 Subject: [PATCH] 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) --- doc/man3/OSSL_CMP_CTX_new.pod | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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 -- 2.25.1