45 void cx_rng_no_throw(
uint8_t *buffer,
size_t len);
58 static inline unsigned char *cx_rng(
uint8_t *buffer,
size_t len)
60 cx_rng_no_throw(buffer, len);
69 static inline uint32_t cx_rng_u32(
void)
72 cx_rng_no_throw((
uint8_t *) &r,
sizeof(uint32_t));
81 static inline uint8_t cx_rng_u8(
void)
88 typedef uint32_t (*cx_rng_u32_range_randfunc_t)(void);
105 uint32_t cx_rng_u32_range_func(uint32_t a, uint32_t b, cx_rng_u32_range_randfunc_t randfunc);
119 static inline uint32_t cx_rng_u32_range(uint32_t a, uint32_t b)
121 return cx_rng_u32_range_func(a, b, cx_rng_u32);
150 WARN_UNUSED_RESULT cx_err_t cx_rng_rfc6979(cx_md_t hash_id,