| Updated: October 28, 2024 |
Export a key
#include <qcrypto/qcrypto_plugin.h>
typedef int(* qcrypto_keygen_op_export_raw)(qcrypto_state_ctx_t *sctx,
qcrypto_key_ctx_t *kctx,
uint8_t *kbuf,
size_t *ksize,
qcrypto_key_format_t fmt);
QCRYPTO_R_EOK if successful or qcrypto_errno if an error occurred.