MCUX CLNS
MCUX Crypto Library Normal Secure
mcuxClSession_Functions

Defines all functions of mcuxClSession. More...

Functions

 MCUX_CSSL_FP_PROTECTED_TYPE (mcuxClSession_Status_t) mcuxClSession_init(mcuxClSession_Handle_t pSession
 Initialize a Crypto Library session. More...
 

Variables

uint32_t *const pCpuWaBuffer
 
uint32_t *const uint32_t cpuWaLength
 
uint32_t *const uint32_t uint32_t *const pPkcWaBuffer
 
uint32_t *const uint32_t uint32_t *const uint32_t pkcWaLength
 
uint8_t *const pRtf
 
uint8_t *const mcuxClSession_Rtf_t RtfOptions
 

Detailed Description

Defines all functions of mcuxClSession.

Function Documentation

◆ MCUX_CSSL_FP_PROTECTED_TYPE()

MCUX_CSSL_FP_PROTECTED_TYPE ( mcuxClSession_Status_t  )

Initialize a Crypto Library session.

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.

Destroy a Crypto Library session.

Clean up a Crypto Library session.

Set the RTF option in a Crypto Library session.

Parameters
pSessionSession to be initialized.
pCpuWaBufferPointer to buffer to be used as workarea for CPU operations. This pointer shall be CPU-word aligned.
cpuWaLengthSize (in bytes) of the workarea for CPU operations. The size shall be a multiple of CPU wordsize.
pPkcWaBufferPointer to buffer to be used as workarea for PKC operations. This pointer shall be PKC-word aligned.
pkcWaLengthSize (in bytes) of the workarea for PKC operations. The size shall be a multiple of CPU wordsize.
Returns
status
Return values
MCUXCLSESSION_STATUS_OKSession has been initialized successfully
MCUXCLSESSION_STATUS_ERRORError occurred during session initializing.
Parameters
pSessionSession to be initialized.
pRtfbuffer to store the rtf result.
RtfOptionsOptions to define RTF processing.
Returns
status

This function will (securely) cleanup the session, which will still be usable afterwards.

Parameters
pSessionSession to be cleaned.
Returns
status

This function will (securely) cleanup the session, including uninitialization etc. The session will no longer be usable afterwards.

Parameters
pSessionSession to be destroyed.
Returns
status