diff options
author | Pauli <ppzgs1@gmail.com> | 2021-02-26 10:05:46 +1000 |
---|---|---|
committer | Pauli <ppzgs1@gmail.com> | 2021-02-28 17:25:49 +1000 |
commit | a9603292fb77349ba144f38612d88af07107396a (patch) | |
tree | 765e304191f63a17d11af70a3df69e601e674518 /doc/man7 | |
parent | dc567dc746bcd6fd8656daf59c88362b9cb0456d (diff) |
core: add param argument to KDF derive call
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/14310)
Diffstat (limited to 'doc/man7')
-rw-r--r-- | doc/man7/provider-kdf.pod | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/man7/provider-kdf.pod b/doc/man7/provider-kdf.pod index 4d3d91a4e7..0b13537e8d 100644 --- a/doc/man7/provider-kdf.pod +++ b/doc/man7/provider-kdf.pod @@ -24,7 +24,8 @@ provider-kdf - The KDF library E<lt>-E<gt> provider functions /* Encryption/decryption */ int OSSL_FUNC_kdf_reset(void *kctx); - int OSSL_FUNC_kdf_derive(void *kctx, unsigned char *key, size_t keylen); + int OSSL_FUNC_kdf_derive(void *kctx, unsigned char *key, size_t keylen, + const OSSL_PARAM params[]); /* KDF parameter descriptors */ const OSSL_PARAM *OSSL_FUNC_kdf_gettable_params(void *provctx); @@ -108,7 +109,8 @@ I<kctx> parameter and return the duplicate copy. OSSL_FUNC_kdf_reset() initialises a KDF operation given a provider side KDF context in the I<kctx> parameter. -OSSL_FUNC_kdf_derive() performs the KDF operation. +OSSL_FUNC_kdf_derive() performs the KDF operation after processing the +I<params> as per OSSL_FUNC_kdf_set_ctx_params(). The I<kctx> parameter contains a pointer to the provider side context. The resulting key of the desired I<keylen> should be written to I<key>. If the algorithm does not support the requested I<keylen> the function must |