Derive keying material into key using the parameters bound to ctx.
Synopsis
Declared in <openssl/kdf.h>
int
EVP_KDF_derive(
EVP_KDF_CTX* ctx,
unsigned char* key,
size_t keylen,
OSSL_PARAM const params[]);
Return Value
1 on success, or 0 on failure.
Parameters
Name |
Description |
ctx |
Initialized KDF context. |
key |
Output buffer for the derived key. |
keylen |
Number of bytes to write to |
params |
Optional additional OSSL_PARAM array, or NULL. |
Created with MrDocs