]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Update EVP_KDF-X942-ASN1.pod
authorJoachim Vandersmissen <git@jvdsn.com>
Tue, 26 Jul 2022 12:33:43 +0000 (12:33 +0000)
committerPauli <pauli@openssl.org>
Thu, 28 Jul 2022 01:12:04 +0000 (11:12 +1000)
Replaced OSSL_KDF_PARAM_KEY with OSSL_KDF_PARAM_SECRET as that seems to be the intended value from the code (OSSL_KDF_PARAM_KEY is also supported but looks like a fallback).
Fixed name for OSSL_KDF_PARAM_X942_USE_KEYBITS.

CLA: trivial

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18878)

doc/man7/EVP_KDF-X942-ASN1.pod

index c01ec466fa15ebbcb224abf9f0b5264ab5054838..58f0d2b15e2cec95e45e73d092c6d1ef02916b3a 100644 (file)
@@ -30,7 +30,7 @@ The supported parameters are:
 
 These parameters work as described in L<EVP_KDF(3)/PARAMETERS>.
 
-=item "key" (B<OSSL_KDF_PARAM_KEY>) <octet string>
+=item "secret" (B<OSSL_KDF_PARAM_SECRET>) <octet string>
 
 The shared secret used for key derivation.  This parameter sets the secret.
 
@@ -60,7 +60,7 @@ An optional octet string containing public info contributed by the responder.
 An optional octet string containing some additional, mutually-known public
 information. Setting this value also sets "use-keybits" to 0.
 
-=item "use-keybits" (B<OSSL_KDF_PARAM_X942_SUPP_PRIVINFO>) <integer>
+=item "use-keybits" (B<OSSL_KDF_PARAM_X942_USE_KEYBITS>) <integer>
 
 The default value of 1 will use the KEK key length (in bits) as the
 "supp-pubinfo". A value of 0 disables setting the "supp-pubinfo".