Defines all functions of mcuxClSession.
More...
Defines all functions of mcuxClSession.
◆ mcuxClSession_init()
Initialize a Crypto Library session.
- Parameters
-
pSession | Session to be initialized. |
pCpuWaBuffer | Pointer to buffer to be used as workarea for CPU operations. This pointer shall be CPU-word aligned. |
cpuWaLength | Size (in bytes) of the workarea for CPU operations. The size shall be a multiple of CPU wordsize. |
pPkcWaBuffer | Pointer to buffer to be used as workarea for PKC operations. This pointer shall be PKC-word aligned. |
pkcWaLength | Size (in bytes) of the workarea for PKC operations. The size shall be a multiple of CPU wordsize. |
- Returns
- status
- Return values
-
- Examples
- mcuxClRandomModes_PatchMode_CtrDrbg_AES256_DRG3_example.c.
◆ mcuxClSession_setRtf()
Set the RTF option in a Crypto Library session.
- Parameters
-
pSession | Session to be initialized. |
pRtf | buffer to store the rtf result. |
RtfOptions | Options to define RTF processing. |
- Returns
- status
◆ mcuxClSession_cleanup()
Clean up a Crypto Library session.
This function will (securely) cleanup the session, which will still be usable afterwards.
- Parameters
-
pSession | Session to be cleaned. |
- Returns
- status
- Return values
-
◆ mcuxClSession_destroy()
Destroy a Crypto Library session.
This function will (securely) cleanup the session, including uninitialization etc. The session will no longer be usable afterwards.
- Parameters
-
pSession | Session to be destroyed. |
- Returns
- status
- Return values
-