APIs of mcuxClPkc component. More...
#include <stdint.h>
#include <stdbool.h>
#include <mcuxCsslFlowProtection.h>
#include <mcuxClPkc_Types.h>
Go to the source code of this file.
Data Structures | |
struct | mcuxClPkc_State_t |
Structure of PKC state backup. More... | |
Macros | |
#define | MCUXCLPKC_FP_INITIALIZE(pState) |
Helper macro to call mcuxClPkc_Initialize with flow protection. More... | |
#define | MCUXCLPKC_FP_DEINITIALIZE(pState) |
Helper macro to call mcuxClPkc_Deinitialize with flow protection. More... | |
#define | MCUXCLPKC_FP_GENERATEUPTRT(pUPTRT, pBaseBuffer, bufferSize, noOfBuffer) |
Helper macro to call mcuxClPkc_GenerateUPTRT with flow protection. More... | |
#define | MCUXCLPKC_FP_CALCFUP(pUPTR, ulen) |
Helper macro to call mcuxClPkc_CalcFup with flow protection. More... | |
#define | MCUXCLPKC_FP_CALCFUP_OFFSET(pUPTR, skipLen, ulen) |
Helper macro to call mcuxClPkc_CalcFup (skipping first skipLen calculation(s)) with flow protection. More... | |
#define | MCUXCLPKC_FP_WAITFORFINISH() |
Helper macro to call mcuxClPkc_WaitForFinish with flow protection. More... | |
#define | MCUXCLPKC_FP_WAITFORREADY() |
Helper macro to call mcuxClPkc_WaitForReady with flow protection. More... | |
Typedefs | |
typedef const struct mcuxClPkc_FUPEntry * | mcuxClPkc_PtrFUPEntry_t |
type of FUP program address. More... | |
Functions | |
mcuxClPkc_Status_Protected_t | mcuxClPkc_Initialize (mcuxClPkc_State_t *pState) |
initialize PKC hardware More... | |
mcuxClPkc_Status_Protected_t | mcuxClPkc_Deinitialize (const mcuxClPkc_State_t *pState) |
deinitialize PKC hardware More... | |
mcuxClPkc_Status_Protected_t | mcuxClPkc_GenerateUPTRT (uint16_t *pUPTRT, const uint8_t *pBaseBuffer, uint16_t bufferSize, uint8_t noOfBuffer) |
Initialize UPTR table. More... | |
mcuxClPkc_Status_Protected_t | mcuxClPkc_RandomizeUPTRT (uint16_t *pUPTRT, uint8_t noOfBuffer) |
Randomize UPTR table. More... | |
mcuxClPkc_Status_Protected_t | mcuxClPkc_ReRandomizeUPTRT (uint16_t *pUPTRT, uint16_t bufferSize, uint8_t noOfBuffer) |
Randomize UPTR table and operands in PKC workarea. More... | |
mcuxClPkc_Status_Protected_t | mcuxClPkc_Calc (uint16_t param_mode, uint32_t iR_iX_iY_iZ) |
Start a PKC calculation. More... | |
mcuxClPkc_Status_Protected_t | mcuxClPkc_CalcConst (uint16_t param_mode, uint32_t iR_iX_iY_C) |
Start a PKC calculation with one constant parameter. More... | |
mcuxClPkc_Status_Protected_t | mcuxClPkc_CalcFup (mcuxClPkc_PtrFUPEntry_t pUPTR, uint8_t ulen) |
Start a PKC FUP program calculation. More... | |
mcuxClPkc_Status_Protected_t | mcuxClPkc_WaitForFinish (void) |
Wait until PKC finishes calculations. More... | |
mcuxClPkc_Status_Protected_t | mcuxClPkc_WaitForReady (void) |
Wait until PKC is ready to accept new calculation. More... | |
APIs of mcuxClPkc component.