This function sets all bytes in a memory region to a specified value.
More...
|
uint8_t | val |
|
uint8_t size_t | length |
|
uint8_t size_t size_t | bufLength |
|
This function sets all bytes in a memory region to a specified value.
◆ MCUXCLMEMORY_FP_MEMORY_SET
#define MCUXCLMEMORY_FP_MEMORY_SET |
( |
|
pTarget, |
|
|
|
val, |
|
|
|
byteLen |
|
) |
| |
Helper macro to call #mcuxClMemory_set with flow protection.
◆ MCUXCLMEMORY_FP_MEMORY_SET_WITH_BUFF
#define MCUXCLMEMORY_FP_MEMORY_SET_WITH_BUFF |
( |
|
pTarget, |
|
|
|
val, |
|
|
|
byteLen, |
|
|
|
buffLen |
|
) |
| |
Helper macro to call #mcuxClMemory_set with flow protection with buffer.
◆ MCUX_CSSL_FP_PROTECTED_TYPE()
MCUX_CSSL_FP_PROTECTED_TYPE |
( |
void |
| ) |
|
Sets all bytes of a memory buffer to a specified value.
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 set. |
[in] | val | byte value to be set. |
[in] | length | size (in bytes) to be set. |
[in] | bufLength | buffer size (if bufLength < length, only bufLength bytes are set). |