qcrypto_rng_init()

Updated: October 28, 2024

Initialize an RNG algorithm

Synopsis:

#include <qcrypto/qcrypto.h>
int qcrypto_rng_init(qcrypto_ctx_t *ctx,
                     const qcrypto_rng_args_t *rargs)

Arguments:

ctx
The algorithm context object.
rargs
The RNG arguments.

Library:

libqcrypto

Description:

See also qcrypto_rng_args_t.

Returns:

QCRYPTO_R_EOK if successful or qcrypto_errno if an error occurred.

  翻译: