openHiTLS API openHiTLS 0.1.0-Alpha1

◆ BSL_SAL_Dump()

void * BSL_SAL_Dump ( const void *  src,
uint32_t  size 
)

Duplicate the memory space.

Parameters
srcSource memory address
sizeTotal memory size
Return values
Ifthe allocation is successful, returned the pointer pointing to the memory.
Ifthe allocation failed, return NULL.