Updated: October 28, 2024 |
Generate a symmetric key via KDF
#include <qcrypto/qcrypto.h>
int qcrypto_kdf_generate(qcrypto_ctx_t *ctx, qcrypto_key_t **key, size_t keysize, const qcrypto_kdf_args_t *kdfargs, qcrypto_ctx_t **keyctx)
This function generates a symmetric key based on the specified input data. See also qcrypto_kdf_args_t.
QCRYPTO_R_EOK if successful or qcrypto_errno if an error occurred.