int no_os_trng_remove(struct no_os_trng_desc *desc)
Free the resources allocated by no_os_trng_init().
Definition no_os_trng.c:70
int no_os_trng_init(struct no_os_trng_desc **desc, const struct no_os_trng_init_param *param)
Initialize the TRNG.
Definition no_os_trng.c:45
int no_os_trng_fill_buffer(struct no_os_trng_desc *desc, uint8_t *buff, uint32_t len)
Fill buffer with rng data.
Definition no_os_trng.c:88
TRNG Descriptor.
Definition no_os_trng.h:51
void * extra
Definition no_os_trng.h:55
const struct no_os_trng_platform_ops * platform_ops
Definition no_os_trng.h:53
Init parameter for TRNG.
Definition no_os_trng.h:62
void * extra
Definition no_os_trng.h:66
uint32_t dev_id
Definition no_os_trng.h:64
const struct no_os_trng_platform_ops * platform_ops
Definition no_os_trng.h:68