qcrypto_rng_op_bytes
QNX SDP8.0QNX OS System Security GuideAPIConfiguration
Extract a value from the random number generator (RNG) algorithm
Synopsis:
#include <qcrypto/qcrypto_plugin.h>
typedef int(* qcrypto_rng_op_bytes)(qcrypto_state_ctx_t *sctx,
uint8_t *buf,
size_t size);
Arguments:
- sctx
- The algorithm state context object.
- buf
- The buffer to store the random bytes in.
- size
- The buffer size.
Library:
libqcryptoDescription:
This function is used to extract a random-sized value from the RNG algorithm.
Returns:
QCRYPTO_R_EOK if successful or qcrypto_errno
if an error occurred.
Page updated: