This function copies a memory region from src to dst.
More...
Macros | |
| #define | MCUXCLMEMORY_FP_MEMORY_COPY(pTarget, pSource, byteLen) |
| Helper macro to call mcuxClMemory_copy with flow protection. | |
| #define | MCUXCLMEMORY_FP_MEMORY_COPY_WITH_BUFF(pTarget, pSource, byteLen, buffLen) |
| Helper macro to call mcuxClMemory_copy with flow protection with buffer. | |
Functions | |
| void | mcuxClMemory_copy (uint8_t *pDst, uint8_t const *pSrc, size_t length, size_t bufLength) |
| Copies a memory buffer to another location. | |
This function copies a memory region from src to dst.
| #define MCUXCLMEMORY_FP_MEMORY_COPY | ( | pTarget, | |
| pSource, | |||
| byteLen ) |
Helper macro to call mcuxClMemory_copy with flow protection.
| #define MCUXCLMEMORY_FP_MEMORY_COPY_WITH_BUFF | ( | pTarget, | |
| pSource, | |||
| byteLen, | |||
| buffLen ) |
Helper macro to call mcuxClMemory_copy with flow protection with buffer.
| void mcuxClMemory_copy | ( | uint8_t * | pDst, |
| uint8_t const * | pSrc, | ||
| size_t | length, | ||
| size_t | bufLength ) |
Copies a memory buffer to another location.
The two buffers must not overlap.
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).
| [out] | pDst | pointer to the buffer to be copied to. |
| [in] | pSrc | pointer to the buffer to copy. |
| [in] | length | size (in bytes) to be copied. |
| [in] | bufLength | buffer size (if bufLength < length, only bufLength bytes are copied). |