Go to the documentation of this file.
35 #ifndef _NO_OS_TRNG_H_
36 #define _NO_OS_TRNG_H_
109 #endif // _NO_OS_TRNG_H_
void * extra
Definition: no_os_trng.h:74
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:77
TRNG Descriptor.
Definition: no_os_trng.h:59
uint32_t dev_id
Definition: no_os_trng.h:72
Init parameter for TRNG.
Definition: no_os_trng.h: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:52
const struct no_os_trng_platform_ops * platform_ops
Definition: no_os_trng.h:61
const struct no_os_trng_platform_ops * platform_ops
Definition: no_os_trng.h:76
void * extra
Definition: no_os_trng.h:63
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:95