qcrypto_keygen_op_keypair_init

Updated: April 19, 2023

Initialize a key pair

Synopsis:

#include <qcrypto/qcrypto_plugin.h>
typedef int(* qcrypto_keygen_op_keypair_init)(qcrypto_state_ctx_t *sctx,
            const qcrypto_key_args_t *kargs);

Arguments:

sctx
The algorithm state context object.
kargs
The key arguments.

Library:

libqcrypto

Returns:

QCRYPTO_R_EOK if successful or qcrypto_errno if an error occurred.