|
OPTIGA™ Trust M
Host Library Documentation
|
Go to the documentation of this file.
39 #ifndef _PAL_OS_MEMORY_H_
40 #define _PAL_OS_MEMORY_H_
90 LIBRARY_EXPORTS
void *
pal_os_calloc(uint32_t number_of_blocks , uint32_t block_size);
130 LIBRARY_EXPORTS
void pal_os_memcpy(
void * p_destination,
const void * p_source, uint32_t size);
151 LIBRARY_EXPORTS
void pal_os_memset(
void * p_buffer, uint32_t value, uint32_t size);
LIBRARY_EXPORTS void * pal_os_calloc(uint32_t number_of_blocks, uint32_t block_size)
Allocates a block of memory specified by the block size and return the pointer to it.
LIBRARY_EXPORTS void * pal_os_malloc(uint32_t block_size)
Allocates a block of memory specified by the block size and return the pointer to it.
LIBRARY_EXPORTS void pal_os_memset(void *p_buffer, uint32_t value, uint32_t size)
Sets the buffer with the given value.
LIBRARY_EXPORTS void pal_os_memcpy(void *p_destination, const void *p_source, uint32_t size)
Copies data from source to destination.
LIBRARY_EXPORTS void pal_os_free(void *block)
Frees the block of memory specified by the block pointer.
This file provides the prototype declarations of platform abstraction layer.