Go to the documentation of this file.
41 #ifndef _NO_OS_TRNG_H_
42 #define _NO_OS_TRNG_H_
115 #endif // _NO_OS_TRNG_H_
void * extra
Definition: no_os_trng.h:80
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:83
TRNG Descriptor.
Definition: no_os_trng.h:65
uint32_t dev_id
Definition: no_os_trng.h:78
Init parameter for TRNG.
Definition: no_os_trng.h:76
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:58
const struct no_os_trng_platform_ops * platform_ops
Definition: no_os_trng.h:67
const struct no_os_trng_platform_ops * platform_ops
Definition: no_os_trng.h:82
void * extra
Definition: no_os_trng.h:69
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:101