diff options
author | Shane Lontis <shane.lontis@oracle.com> | 2020-10-13 14:30:12 +1000 |
---|---|---|
committer | Shane Lontis <shane.lontis@oracle.com> | 2020-10-22 20:47:02 +1000 |
commit | 1ba21239ddbd1b18a3676efaa8dd9402e1468818 (patch) | |
tree | c10c21d0fb1f57bddc2d0fee7cac078ac8a07c32 /doc/man7 | |
parent | 90a2576b9bbb327141df0bd244830b462fcaeee6 (diff) |
Rename EVP_KDF_size() to EVP_KDF_CTX_get_kdf_size().
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/13116)
Diffstat (limited to 'doc/man7')
-rw-r--r-- | doc/man7/EVP_KDF-HKDF.pod | 6 | ||||
-rw-r--r-- | doc/man7/EVP_KDF-KB.pod | 2 | ||||
-rw-r--r-- | doc/man7/EVP_KDF-KRB5KDF.pod | 4 | ||||
-rw-r--r-- | doc/man7/EVP_KDF-SS.pod | 2 | ||||
-rw-r--r-- | doc/man7/EVP_KDF-SSHKDF.pod | 4 | ||||
-rw-r--r-- | doc/man7/EVP_KDF-X942.pod | 2 | ||||
-rw-r--r-- | doc/man7/EVP_KDF-X963.pod | 2 |
7 files changed, 11 insertions, 11 deletions
diff --git a/doc/man7/EVP_KDF-HKDF.pod b/doc/man7/EVP_KDF-HKDF.pod index a8bb5dacd9..830bf90e92 100644 --- a/doc/man7/EVP_KDF-HKDF.pod +++ b/doc/man7/EVP_KDF-HKDF.pod @@ -64,7 +64,7 @@ derived otherwise an error will occur. 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 key K. The I<keylen> parameter must match the size of K, which can be looked -up by calling EVP_KDF_size() after setting the mode and digest. +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. @@ -93,7 +93,7 @@ The output length of an HKDF expand operation is specified via the I<keylen> parameter to the L<EVP_KDF_derive(3)> function. When using EVP_KDF_HKDF_MODE_EXTRACT_ONLY the I<keylen> parameter must equal the size of the intermediate fixed-length pseudorandom key otherwise an error will occur. -For that mode, the fixed output size can be looked up by calling EVP_KDF_size() +For that mode, the fixed output size can be looked up by calling EVP_KDF_CTX_get_kdf_size() after setting the mode and digest on the B<EVP_KDF_CTX>. =head1 EXAMPLES @@ -137,7 +137,7 @@ RFC 5869 L<EVP_KDF(3)>, L<EVP_KDF_CTX_new(3)>, L<EVP_KDF_CTX_free(3)>, -L<EVP_KDF_size(3)>, +L<EVP_KDF_CTX_get_kdf_size(3)>, L<EVP_KDF_CTX_set_params(3)>, L<EVP_KDF_derive(3)>, L<EVP_KDF(3)/PARAMETERS> diff --git a/doc/man7/EVP_KDF-KB.pod b/doc/man7/EVP_KDF-KB.pod index 0a84e925d9..fdaa483e77 100644 --- a/doc/man7/EVP_KDF-KB.pod +++ b/doc/man7/EVP_KDF-KB.pod @@ -137,7 +137,7 @@ NIST SP800-108, IETF RFC 6803, IETF RFC 8009. L<EVP_KDF(3)>, L<EVP_KDF_CTX_free(3)>, -L<EVP_KDF_size(3)>, +L<EVP_KDF_CTX_get_kdf_size(3)>, L<EVP_KDF_derive(3)>, L<EVP_KDF(3)/PARAMETERS> diff --git a/doc/man7/EVP_KDF-KRB5KDF.pod b/doc/man7/EVP_KDF-KRB5KDF.pod index 62f941c3ca..8d730d40b8 100644 --- a/doc/man7/EVP_KDF-KRB5KDF.pod +++ b/doc/man7/EVP_KDF-KRB5KDF.pod @@ -51,7 +51,7 @@ parameter to the L<EVP_KDF_derive(3)> function, and MUST match the key length for the chosen cipher or an error is returned. Moreover, the constant's length must not exceed the block size of the cipher. Since the KRB5KDF output length depends on the chosen cipher, calling -L<EVP_KDF_size(3)> to obtain the requisite length returns the correct length +L<EVP_KDF_CTX_get_kdf_size(3)> to obtain the requisite length returns the correct length only after the cipher is set. Prior to that B<EVP_MAX_KEY_LENGTH> is returned. The caller must allocate a buffer of the correct length for the chosen cipher, and pass that buffer to the L<EVP_KDF_derive(3)> function along @@ -98,7 +98,7 @@ RFC 3961 L<EVP_KDF(3)>, L<EVP_KDF_CTX_free(3)>, L<EVP_KDF_ctrl(3)>, -L<EVP_KDF_size(3)>, +L<EVP_KDF_CTX_get_kdf_size(3)>, L<EVP_KDF_derive(3)>, L<EVP_KDF(3)/PARAMETERS> diff --git a/doc/man7/EVP_KDF-SS.pod b/doc/man7/EVP_KDF-SS.pod index e64417388f..088ffe0ea7 100644 --- a/doc/man7/EVP_KDF-SS.pod +++ b/doc/man7/EVP_KDF-SS.pod @@ -176,7 +176,7 @@ L<EVP_KDF(3)>, L<EVP_KDF_CTX_new(3)>, L<EVP_KDF_CTX_free(3)>, L<EVP_KDF_CTX_set_params(3)>, -L<EVP_KDF_size(3)>, +L<EVP_KDF_CTX_get_kdf_size(3)>, L<EVP_KDF_derive(3)>, L<EVP_KDF(3)/PARAMETERS> diff --git a/doc/man7/EVP_KDF-SSHKDF.pod b/doc/man7/EVP_KDF-SSHKDF.pod index e91858c051..454bb6b699 100644 --- a/doc/man7/EVP_KDF-SSHKDF.pod +++ b/doc/man7/EVP_KDF-SSHKDF.pod @@ -91,7 +91,7 @@ A context for SSHKDF can be obtained by calling: The output length of the SSHKDF derivation is specified via the I<keylen> parameter to the L<EVP_KDF_derive(3)> function. -Since the SSHKDF output length is variable, calling L<EVP_KDF_size(3)> +Since the SSHKDF output length is variable, calling L<EVP_KDF_CTX_get_kdf_size(3)> to obtain the requisite length is not meaningful. The caller must allocate a buffer of the desired length, and pass that buffer to the L<EVP_KDF_derive(3)> function along with the desired length. @@ -142,7 +142,7 @@ L<EVP_KDF(3)>, L<EVP_KDF_CTX_new(3)>, L<EVP_KDF_CTX_free(3)>, L<EVP_KDF_CTX_set_params(3)>, -L<EVP_KDF_size(3)>, +L<EVP_KDF_CTX_get_kdf_size(3)>, L<EVP_KDF_derive(3)>, L<EVP_KDF(3)/PARAMETERS> diff --git a/doc/man7/EVP_KDF-X942.pod b/doc/man7/EVP_KDF-X942.pod index e607212b28..70da41437b 100644 --- a/doc/man7/EVP_KDF-X942.pod +++ b/doc/man7/EVP_KDF-X942.pod @@ -102,7 +102,7 @@ L<EVP_KDF(3)>, L<EVP_KDF_CTX_new(3)>, L<EVP_KDF_CTX_free(3)>, L<EVP_KDF_CTX_set_params(3)>, -L<EVP_KDF_size(3)>, +L<EVP_KDF_CTX_get_kdf_size(3)>, L<EVP_KDF_derive(3)>, L<EVP_KDF(3)/PARAMETERS> diff --git a/doc/man7/EVP_KDF-X963.pod b/doc/man7/EVP_KDF-X963.pod index 93ec14c837..b814fe5b47 100644 --- a/doc/man7/EVP_KDF-X963.pod +++ b/doc/man7/EVP_KDF-X963.pod @@ -91,7 +91,7 @@ L<EVP_KDF(3)>, L<EVP_KDF_CTX_new(3)>, L<EVP_KDF_CTX_free(3)>, L<EVP_KDF_CTX_set_params(3)>, -L<EVP_KDF_size(3)>, +L<EVP_KDF_CTX_get_kdf_size(3)>, L<EVP_KDF_derive(3)>, L<EVP_KDF(3)/PARAMETERS> |