mcuxClPkc functions of PKC UPTR table setup More...
Macros | |
#define | MCUXCLPKC_FP_GENERATEUPTRT(pUPTRT, pBaseBuffer, bufferSize, noOfBuffer) |
Helper macro to call #mcuxClPkc_GenerateUPTRT with flow protection. More... | |
Functions | |
MCUX_CSSL_FP_PROTECTED_TYPE (mcuxClPkc_Status_t) mcuxClPkc_RandomizeUPTRT(mcuxClSession_Handle_t pSession | |
Randomize UPTR table. More... | |
Variables | |
const uint8_t * | pBaseBuffer |
const uint8_t uint16_t | bufferLength |
const uint8_t uint16_t uint8_t | noOfBuffer |
uint16_t * | pUPTRT |
mcuxClPkc functions of PKC UPTR table setup
#define MCUXCLPKC_FP_GENERATEUPTRT | ( | pUPTRT, | |
pBaseBuffer, | |||
bufferSize, | |||
noOfBuffer | |||
) |
Helper macro to call #mcuxClPkc_GenerateUPTRT with flow protection.
MCUX_CSSL_FP_PROTECTED_TYPE | ( | mcuxClPkc_Status_t | ) |
Randomize UPTR table.
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.
Randomize UPTR table and operands in PKC workarea.
This function randomly permutes offsets stored in UPTR table. It randomizes the buffer allocation (physical address in PKC workarea). When calling this function, there shall be no on-going and pending PKC calculations using the specified UPTR table elements.
[in] | pSession | handle for the current CL session. |
[in,out] | pUPTRT | pointer to the first element to be randomized in UPTR table. |
[in] | noOfBuffer | number of elements to be randomized. |
pUPTRT
MCUXCLPKC_STATUS_OK | if UPTR table is randomized successfully. |
MCUXCLPKC_STATUS_NOK | if the operation failed. |
This function randomly permutes offsets stored in UPTR table, together with operands stored in each buffer in PKC workarea. It randomizes the buffer allocation (physical address in PKC workarea) and moves operands stored accordingly. When calling this function, there shall be no on-going and pending PKC calculations using the specified UPTR table elements.
[in] | pSession | handle for the current CL session. |
[in,out] | pUPTRT | pointer to the first element to be randomized in UPTR table. |
[in] | bufferLength | byte length of each buffer in PKC workarea. |
[in] | noOfBuffer | number of elements to be randomized. |
pUPTRT
bufferLength
MCUXCLPKC_STATUS_OK | if UPTR table is randomized successfully. |
MCUXCLPKC_STATUS_NOK | if the operation failed. |