qcrypto_keygen_op_keypair_init_params

Initialize a key pair using parameters

Synopsis:

#include <qcrypto/qcrypto_plugin.h>
typedef int(* qcrypto_keygen_op_keypair_init_params)(qcrypto_state_ctx_t *sctx,
            const uint8_t *params,
            size_t size,
            qcrypto_key_format_t fmt);

Arguments:

sctx
The algorithm state context object.
params
The key parameters buffer.
size
The key parameters buffer size.
fmt
The key parameters encoding format.

Library:

libqcrypto

Returns:

QCRYPTO_R_EOK if successful or qcrypto_errno if an error occurred.