X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=doc%2Fman3%2FEVP_KDF.pod;h=f3d80a17573066b23810ca1da317476567bc9dfb;hp=e175124ad0089920daef8d8e8f88289aeb54fbb8;hb=ee2161e8a6174a06c9f4efe6bfc0b76b2eda46fa;hpb=d6d74cf4a44f08ed63d942b103198a1e3294295a;ds=sidebyside diff --git a/doc/man3/EVP_KDF.pod b/doc/man3/EVP_KDF.pod index e175124ad0..f3d80a1757 100644 --- a/doc/man3/EVP_KDF.pod +++ b/doc/man3/EVP_KDF.pod @@ -75,7 +75,7 @@ NULL is a valid parameter, for which this function is a no-op. EVP_KDF_CTX_new() creates a new context for the KDF implementation I. -EVP_KDF_CTX_free() frees up the context C. If I is NULL, nothing +EVP_KDF_CTX_free() frees up the context I. If I is NULL, nothing is done. EVP_KDF_CTX_kdf() returns the B associated with the context @@ -86,9 +86,9 @@ I. EVP_KDF_reset() resets the context to the default state as if the context had just been created. -EVP_KDF_derive() derives C bytes of key material and places it in the +EVP_KDF_derive() derives I bytes of key material and places it in the I buffer. If the algorithm produces a fixed amount of output then an -error will occur unless the C parameter is equal to that output size, +error will occur unless the I parameter is equal to that output size, as returned by EVP_KDF_size(). EVP_KDF_get_params() retrieves details about the implementation @@ -211,7 +211,7 @@ The memory size must never exceed what can be given with a B. =head1 RETURN VALUES -EVP_MAC_fetch() returns a pointer to a newly fetched B, or +EVP_KDF_fetch() returns a pointer to a newly fetched B, or NULL if allocation failed. EVP_KDF_name() returns the name for the given I, if it has been @@ -220,14 +220,14 @@ added to the object database. EVP_KDF_provider() returns a pointer to the provider for the KDF, or NULL on error. -EVP_MAC_up_ref() returns 1 on success, 0 on error. +EVP_KDF_up_ref() returns 1 on success, 0 on error. EVP_KDF_CTX_new() returns either the newly allocated -C structure or C if an error occurred. +B structure or NULL if an error occurred. EVP_KDF_CTX_free() and EVP_KDF_reset() do not return a value. -EVP_KDF_size() returns the output size. C is returned to indicate +EVP_KDF_size() returns the output size. B is returned to indicate that the algorithm produces a variable amount of output; 0 to indicate failure. The remaining functions return 1 for success and 0 or a negative value for