Update EVP_KDF-X942-ASN1.pod

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)
This commit is contained in:
Joachim Vandersmissen 2022-07-26 12:33:43 +00:00 committed by Pauli
parent 3ebcb2fff5
commit 08c00377cb

View File

@ -30,7 +30,7 @@ The supported parameters are:
These parameters work as described in L<EVP_KDF(3)/PARAMETERS>. 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. 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 An optional octet string containing some additional, mutually-known public
information. Setting this value also sets "use-keybits" to 0. 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 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". "supp-pubinfo". A value of 0 disables setting the "supp-pubinfo".