OPTIGA Trust M  1.1.0
C++ library for Optiga Trust M Chip Security Controller
pal_os_memory.h
Go to the documentation of this file.
1 
39 #ifndef _PAL_MEMORY_MGMT_H_
40 #define _PAL_MEMORY_MGMT_H_
41 
42 #ifdef __cplusplus
43 extern "C" {
44 #endif
45 
60 #define pal_os_malloc(block_size) malloc(block_size)
61 
77 #define pal_os_calloc(no_of_blocks, block_size) calloc(no_of_blocks, block_size)
78 
93 #define pal_os_free(p_block) free(p_block)
94 
111 #define pal_os_memcpy(p_destination, p_source, size) memcpy(p_destination, p_source, size)
112 
129 #define pal_os_memset(p_buffer, value, size) memset(p_buffer, value, size)
130 
131 #ifdef __cplusplus
132 }
133 #endif
134 
135 #endif /* _PAL_MEMORY_MGMT_H_*/
136