39#ifndef PROTOCORE_RNG_H
40#define PROTOCORE_RNG_H
44#if PROTOCORE_ENABLE_RNG
49#define PROTOCORE_RAND_SEED_LEN 32
98 RngFillArgs fill_args;
108 void (*
const fill)(uint8_t *work);
109 void (*
const reseed)(uint8_t *work);
114void protocore_rng_fill(uint8_t *work);
115void protocore_rng_reseed(uint8_t *work);
121static const RngNs Rng __attribute__((unused)) = {
122 .fill = protocore_rng_fill,
123 .reseed = protocore_rng_reseed,
135uint8_t *protocore_rng_span(
void);
#define PROTOCORE_BEGIN_DECLS
Give a header's declarations C linkage, so their symbol names carry no parameter types.
_Bool proto_bool
The truth value.
#define PROTOCORE_END_DECLS