MCUX CLNS
MCUX Crypto Library Normal Secure
McuxClPkc_Functions_Init

mcuxClPkc functions of PKC initialization and deinitialization More...

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...
 

Functions

 MCUX_CSSL_FP_FUNCTION_POINTER (mcuxClPkc_PkcInitializeEngine_t, typedef void(*mcuxClPkc_PkcInitializeEngine_t)(mcuxClPkc_State_t *pState))
 Function type for PKC initialization engine. More...
 
 MCUX_CSSL_FP_FUNCTION_POINTER (mcuxClPkc_PkcDeInitializeEngine_t, typedef void(*mcuxClPkc_PkcDeInitializeEngine_t)(const mcuxClPkc_State_t *pState))
 Function type for PKC deinitialization engine. More...
 
void mcuxClPkc_Initialize (mcuxClPkc_State_t *pState)
 initialize PKC hardware More...
 
void mcuxClPkc_Deinitialize (const mcuxClPkc_State_t *pState)
 deinitialize PKC hardware More...
 

Detailed Description

mcuxClPkc functions of PKC initialization and deinitialization

Macro Definition Documentation

◆ MCUXCLPKC_FP_INITIALIZE

#define MCUXCLPKC_FP_INITIALIZE (   pState)

Helper macro to call mcuxClPkc_Initialize with flow protection.

◆ MCUXCLPKC_FP_DEINITIALIZE

#define MCUXCLPKC_FP_DEINITIALIZE (   pState)

Helper macro to call mcuxClPkc_Deinitialize with flow protection.

Function Documentation

◆ MCUX_CSSL_FP_FUNCTION_POINTER() [1/2]

MCUX_CSSL_FP_FUNCTION_POINTER ( mcuxClPkc_PkcInitializeEngine_t  ,
typedef void(*)(mcuxClPkc_State_t *pState)  mcuxClPkc_PkcInitializeEngine_t 
)

Function type for PKC initialization engine.

Generic function pointer to PKC initialization function

Parameters
[out]pStatepointer to PKC state backup structure. If it's not a NULL pointer, PKC state before initialization will be stored in this structure.

◆ MCUX_CSSL_FP_FUNCTION_POINTER() [2/2]

MCUX_CSSL_FP_FUNCTION_POINTER ( mcuxClPkc_PkcDeInitializeEngine_t  ,
typedef void(*)(const mcuxClPkc_State_t *pState)  mcuxClPkc_PkcDeInitializeEngine_t 
)

Function type for PKC deinitialization engine.

Generic function pointer to PKC deinitialization function

Parameters
[in]pStatepointer to PKC state backup structure. If it's not a NULL pointer, PKC state will be restored from this structure.

◆ mcuxClPkc_Initialize()

void mcuxClPkc_Initialize ( mcuxClPkc_State_t pState)

initialize PKC hardware

This function initializes PKC hardware, and optionally backups the original PKC configuration (except STOP bit).

Parameters
[out]pStatepointer to PKC state backup structure. If it's not a NULL pointer, PKC state before initialization will be stored in this structure.

◆ mcuxClPkc_Deinitialize()

void mcuxClPkc_Deinitialize ( const mcuxClPkc_State_t pState)

deinitialize PKC hardware

This function deinitializes PKC hardware, and optionally restores PKC configuration (except STOP bit).

Parameters
[in]pStatepointer to PKC state backup structure. If it's not a NULL pointer, PKC state will be restored from this structure.