qcrypto_keygen_op_import_raw
QNX SDP8.0QNX OS System Security GuideAPIConfiguration
Import a key
Synopsis:
#include <qcrypto/qcrypto_plugin.h>
typedef int(* qcrypto_keygen_op_import_raw)(qcrypto_state_ctx_t *sctx,
qcrypto_key_ctx_t *kctx,
const uint8_t *kbuf,
size_t ksize,
qcrypto_key_type_t type,
qcrypto_key_format_t fmt);
Arguments:
- sctx
- The algorithm state context object.
- kctx
- The key context object.
- kbuf
- The key buffer.
- ksize
- The key buffer size.
- type
- The key type.
- fmt
- The key encoding format.
Library:
libqcryptoReturns:
QCRYPTO_R_EOK if successful or qcrypto_errno
if an error occurred.
Page updated: