mcuxCsslMemory_Copy Function Definitions More...
Functions | |
MCUX_CSSL_FP_PROTECTED_TYPE (mcuxCsslMemory_Status_t) mcuxCsslMemory_Copy(mcuxCsslParamIntegrity_Checksum_t chk | |
Copies length bytes of data from pSrc to pDst . More... | |
Variables | |
void const * | pSrc |
void const void * | pDst |
void const void size_t | dstLength |
void const void size_t size_t | length |
mcuxCsslMemory_Copy Function Definitions
MCUX_CSSL_FP_PROTECTED_TYPE | ( | mcuxCsslMemory_Status_t | ) |
Copies length
bytes of data from pSrc
to pDst
.
Deprecated type for mcuxClSession protected status codes.
Deprecated type for RSA protected status codes.
Deprecated type for error codes used by code-flow protected PKC component functions.
Deprecated type for error codes used by code-flow protected mcuxClMemory component functions.
Deprecated type for error codes used by code-flow protected Math component functions.
Deprecated type for Key component error codes, returned by functions with code-flow protection.
Deprecated type for ELS driver protected status codes.
Deprecated type for mcuxClEcc component return codes.
The implementation is secure in the following aspects:
pSrc
and pDst
have the same offset to the nearest 16-byte boundary, and if length
is the same, the execution sequence of the code is always identical.pDst
beyond dstLength
bytes.[in] | chk | The parameter checksum, generated with mcuxCsslParamIntegrity_Protect. |
[in] | pSrc | The data to be copied. Must not be NULL. Must not overlap with pDst . |
[out] | pDst | The destination pointer. Must not be NULL. Must not overlap with pSrc . |
[in] | dstLength | The size of the destination data buffer in bytes. |
[in] | length | The number of bytes to copy. Must be different from zero. |
MCUXCSSLMEMORY_STATUS_OK | If the contents of src and dst are equal. |
MCUXCSSLMEMORY_STATUS_INVALID_PARAMETER | If one of the parameters was invalid (i.e. pSrc or pDst was NULL or length was zero). |
MCUXCSSLMEMORY_STATUS_FAULT | If a fault was detected. |