MCUX CLNS MCUX Crypto Library Normal Secure |

Functions
mcuxClMemory_Clear
mcuxClMemory

This function clears a memory region. More...

## Functions
mcuxClMemory_Status_Protected_t | mcuxClMemory_clear (uint8_t *dst, size_t len, size_t buflen)
| Overwrites a memory buffer with null bytes. More...

## Detailed Description

This function clears a memory region.

## Function Documentation

## ◆ mcuxClMemory_clear()

mcuxClMemory_Status_Protected_t mcuxClMemory_clear | ( | uint8_t * | dst,
|  | size_t | len,
|  | size_t | buflen
| ) |  |

Overwrites a memory buffer with null bytes.

Parameters

  [out] | dst | Pointer to the buffer to be cleared.
  [in] | len | size (in bytes) to be cleared.
  [in] | buflen | buffer size (if buflen < len, only buflen bytes are cleared).

Returns
  A flow-protected value (see Flow Protection API), indicating the number of bytes not copied (nonzero if the destination buffer is too small)