mcuxCsslMemory_Set Function Definitions More...
Functions | |
| MCUX_CSSL_FP_PROTECTED_TYPE (mcuxCsslMemory_Status_t) mcuxCsslMemory_Set(mcuxCsslParamIntegrity_Checksum_t chk | |
Set length bytes of data at pDst. More... | |
Variables | |
| void * | pDst |
| void uint8_t | val |
| void uint8_t size_t | length |
| void uint8_t size_t size_t | bufLength |
mcuxCsslMemory_Set Function Definitions
| MCUX_CSSL_FP_PROTECTED_TYPE | ( | mcuxCsslMemory_Status_t | ) |
Set length bytes of data at 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: Parameter integrity protection: the function returns immediately in case of an incorrect parameter checksum. Code flow protection: the function call is protected. Buffer overflow protection: no data is written to pDst beyond bufLength bytes.
| [in] | chk | The parameter checksum, generated with mcuxCsslParamIntegrity_Protect. |
| [in] | pDst | The destination pointer to buffer to be set. Must not be NULL. |
| [in] | val | The byte value to be set. |
| [in] | length | The size in bytes to set. Must be different from zero. |
| [in] | bufLength | The buffer size (if bufLength < length, only bufLength bytes are set). |
| MCUXCSSLMEMORY_STATUS_OK | If val set length times at pDst. |
| MCUXCSSLMEMORY_STATUS_INVALID_PARAMETER | If one of the parameters is invalid. |
| MCUXCSSLMEMORY_STATUS_FAULT | If a fault was detected, included invalid checksum chk. |