qcrypto_rng_op_seed
QNX SDP8.0QNX OS System Security GuideAPIConfiguration
Seed the random number generator (RNG) algorithm
Synopsis:
#include <qcrypto/qcrypto_plugin.h>
typedef int(* qcrypto_rng_op_seed)(qcrypto_state_ctx_t *sctx,
const uint8_t *seed,
size_t size);
Arguments:
- sctx
- The algorithm state context object.
- seed
- The seed buffer.
- size
- The seed buffer size.
Library:
libqcryptoDescription:
This function seeds the RNG algorithm with an initial value.
Returns:
QCRYPTO_R_EOK if successful or qcrypto_errno
if an error occurred.
Page updated: