no-OS
maxim_trng.h
Go to the documentation of this file.
1 /***************************************************************************/
40 #ifndef MAXIM_TRNG_H
41 #define MAXIM_TRNG_H
42 
43 /******************************************************************************/
44 /***************************** Include Files **********************************/
45 /******************************************************************************/
46 #include "no_os_trng.h"
47 
48 /******************************************************************************/
49 /*************************** Types Declarations *******************************/
50 /******************************************************************************/
51 
55 extern const struct no_os_trng_platform_ops max_trng_ops;
56 
57 #endif // MAXIM_TRNG_H
no_os_alloc.h
maxim_trng.h
MAX78000 specific header for TRNG driver.
maxim_trng.h
MAX32665 specific header for TRNG driver.
no_os_trng_platform_ops::init
int(* init)(struct no_os_trng_desc **, const struct no_os_trng_init_param *)
Definition: no_os_trng.h:92
no_os_calloc
void * no_os_calloc(size_t nitems, size_t size)
Allocate memory and return a pointer to it, set memory to 0.
Definition: chibios_alloc.c:60
no_os_trng_desc
TRNG Descriptor.
Definition: no_os_trng.h:65
no_os_error.h
Error codes definition.
no_os_trng.h
Header file of true random number generator.
max_trng_ops
const struct no_os_trng_platform_ops max_trng_ops
MAX32650 platform specific TRNG platform ops structure.
Definition: maxim_trng.c:120
no_os_trng_init_param
Init parameter for TRNG.
Definition: no_os_trng.h:76
NO_OS_UNUSED_PARAM
#define NO_OS_UNUSED_PARAM(x)
Definition: no_os_util.h:115
max_trng_ops
const struct no_os_trng_platform_ops max_trng_ops
Max32650 specific TRNG platform ops structure.
Definition: maxim_trng.c:120
max_trng_init
int max_trng_init(struct no_os_trng_desc **desc, struct no_os_trng_init_param *param)
Initialize the device.
Definition: maxim_trng.c:61
no_os_free
void no_os_free(void *ptr)
Deallocate memory previously allocated by a call to no_os_calloc or no_os_malloc.
Definition: chibios_alloc.c:75
max_trng_remove
int max_trng_remove(struct no_os_trng_desc *desc)
Remove the device and release resources.
Definition: maxim_trng.c:92
max_trng_fill_buffer
int max_trng_fill_buffer(struct no_os_trng_desc *desc, uint8_t *buff, uint32_t len)
Fill buffer with random numbers.
Definition: maxim_trng.c:109
no_os_util.h
Header file of utility functions.
no_os_trng_platform_ops
Structure holding TRNG function pointers that point to the platform specific function.
Definition: no_os_trng.h:90
maxim_trng.h
MAX32670 specific header for TRNG driver.
maxim_trng.h
MAX32650 specific header for TRNG driver.