]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
doc: reorder the string and int extract/expand param values
authorPauli <pauli@openssl.org>
Tue, 3 Aug 2021 12:29:03 +0000 (22:29 +1000)
committerPauli <pauli@openssl.org>
Thu, 5 Aug 2021 05:44:00 +0000 (15:44 +1000)
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/16203)

doc/man7/EVP_KDF-HKDF.pod

index ffe1c5ae043dfaf3eb31b6297a1bfd74194935c7..5ef09aed36ffdede24e898cc3d29380c66ed6e44 100644 (file)
@@ -49,7 +49,7 @@ There are three modes that are currently defined:
 
 =over 4
 
-=item B<EVP_KDF_HKDF_MODE_EXTRACT_AND_EXPAND> "EXTRACT_AND_EXPAND"
+=item "EXTRACT_AND_EXPAND" or B<EVP_KDF_HKDF_MODE_EXTRACT_AND_EXPAND>
 
 This is the default mode.  Calling L<EVP_KDF_derive(3)> on an EVP_KDF_CTX set
 up for HKDF will perform an extract followed by an expand operation in one go.
@@ -59,7 +59,7 @@ intermediate fixed-length pseudorandom key K is not returned.
 In this mode the digest, key, salt and info values must be set before a key is
 derived otherwise an error will occur.
 
-=item B<EVP_KDF_HKDF_MODE_EXTRACT_ONLY> "EXTRACT_ONLY"
+=item "EXTRACT_ONLY" or B<EVP_KDF_HKDF_MODE_EXTRACT_ONLY>
 
 In this mode calling L<EVP_KDF_derive(3)> will just perform the extract
 operation. The value returned will be the intermediate fixed-length pseudorandom
@@ -69,7 +69,7 @@ up by calling EVP_KDF_CTX_get_kdf_size() after setting the mode and digest.
 The digest, key and salt values must be set before a key is derived otherwise
 an error will occur.
 
-=item B<EVP_KDF_HKDF_MODE_EXPAND_ONLY> "EXPAND_ONLY"
+=item "EXPAND_ONLY" or B<EVP_KDF_HKDF_MODE_EXPAND_ONLY>
 
 In this mode calling L<EVP_KDF_derive(3)> will just perform the expand
 operation. The input key should be set to the intermediate fixed-length