This function clears a memory region.
More...
|
size_t | length |
|
size_t size_t | bufLength |
|
This function clears a memory region.
◆ MCUXCLMEMORY_FP_MEMORY_CLEAR
#define MCUXCLMEMORY_FP_MEMORY_CLEAR |
( |
|
pTarget, |
|
|
|
byteLen |
|
) |
| |
Helper macro to call #mcuxClMemory_clear with flow protection.
◆ MCUXCLMEMORY_FP_MEMORY_CLEAR_WITH_BUFF
#define MCUXCLMEMORY_FP_MEMORY_CLEAR_WITH_BUFF |
( |
|
pTarget, |
|
|
|
byteLen, |
|
|
|
buffLen |
|
) |
| |
Helper macro to call #mcuxClMemory_clear with flow protection with buffer.
◆ MCUX_CSSL_FP_PROTECTED_TYPE()
MCUX_CSSL_FP_PROTECTED_TYPE |
( |
void |
| ) |
|
Overwrites a memory buffer with null bytes.
If the destination buffer is too small, i.e. if bufLength < length, (length-bufLength) is added to the Flow Protection token (see Flow Protection API).
- Parameters
-
[out] | pDst | Pointer to the buffer to be cleared. |
[in] | length | size (in bytes) to be cleared. |
[in] | bufLength | buffer size (if bufLength < length, only bufLength bytes are cleared). |