qcrypto_kdf_generate()
QNX SDP8.0QNX OS System Security GuideAPIConfiguration
Generate a symmetric key via KDF
Synopsis:
#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)Arguments:
- ctx
 - The algorithm context object.
 - key
 - The generated key handle.
 - keysize
 - The key size to generate.
 - kdfargs
 - The KDF parameters.
 - keyctx
 - The algorithm context object that manipulates the resulting key, if required (optional).
 
Library:
libqcryptoDescription:
This function generates a symmetric key based on the specified input data. See also qcrypto_kdf_args_t.
Returns:
QCRYPTO_R_EOK if successful or qcrypto_errno if an error occurred. 
Page updated: 
