qcrypto_rng_op_init

Updated: April 19, 2023

Initialize an RNG algorithm

Synopsis:

#include <qcrypto/qcrypto_plugin.h>
typedef int(* qcrypto_rng_op_init)(qcrypto_state_ctx_t *sctx,
            const qcrypto_rng_args_t *rargs);

Arguments:

sctx
The algorithm state context object.
rargs
The RNG arguments.

Library:

libqcrypto

Returns:

QCRYPTO_R_EOK if successful or qcrypto_errno if an error occurred.