39#ifndef MCUXCLSESSION_TYPES_H_
40#define MCUXCLSESSION_TYPES_H_
42#include <mcuxClCore_Platform.h>
59#define MCUXCLSESSION_STATUS_OK ((mcuxClSession_Status_t) 0x0EEE2E03u)
60#define MCUXCLSESSION_STATUS_ERROR ((mcuxClSession_Status_t) 0x0EEE5330u)
61#define MCUXCLSESSION_STATUS_ERROR_MEMORY_ALLOCATION ((mcuxClSession_Status_t) 0x0EEE534Fu)
62#define MCUXCLSESSION_STATUS_FAULT_ATTACK ((mcuxClSession_Status_t) 0x0EEEF0F0u)
64#define MCUXCLSESSION_DMACHANNEL_INVALID ((mcuxClSession_Channel_t) 0xFFFFu)
167 mcuxClSession_HwInterruptHandler_t pCallBackDMA;
168 uint32_t protectionToken_pCallBackDMA;
169 mcuxClSession_HwInterruptHandler_t pCallBackCopro;
170 uint32_t protectionToken_pCallBackCopro;
Definition of function identifiers for the flow protection mechanism.
Type definitions of mcuxClRandom component.
Type definitions for the mcuxClResource component.
Provides the API for the CSSL flow protection mechanism.
struct mcuxClRandom_Config mcuxClRandom_Config_t
Random config type.
Definition mcuxClRandom_Types.h:142
struct mcuxClResource_Context mcuxClResource_Context_t
Resource context type.
Definition mcuxClResource_Types.h:67
mcuxClSession_Status_t mcuxClSession_Status_Protected_t
Deprecated type for mcuxClSession protected status codes.
Definition mcuxClSession_Types.h:91
struct mcuxClSession_HwTable mcuxClSession_HwTable_t
Table recording HW preempted from this session.
Definition mcuxClSession_Types.h:157
mcuxClSession_Descriptor_t *const mcuxClSession_Handle_t
Type for mcuxClSession Handle.
Definition mcuxClSession_Types.h:118
void(* mcuxClSession_Callback_t)(uint32_t status, void *data)
Session callback function pointer type.
Definition mcuxClSession_Types.h:143
struct mcuxClSession_apiCall mcuxClSession_apiCall_t
Type for mcuxClSession API calls.
Definition mcuxClSession_Types.h:177
uint32_t mcuxClSession_Status_t
Type for mcuxClSession status codes.
Definition mcuxClSession_Types.h:86
uint32_t mcuxClSession_SecurityOptions_t
Type for Session security options.
Definition mcuxClSession_Types.h:107
struct mcuxClSession_WorkArea mcuxClSession_WorkArea_t
Type for mcuxClSession workareas flags.
uint16_t mcuxClSession_Channel_t
Session channel type.
Definition mcuxClSession_Types.h:125
#define MCUX_CSSL_FP_PROTECTED_TYPE(resultType)
Based on a given base type, builds a return type with flow protection.
Definition mcuxCsslFlowProtection.h:158
#define MCUX_CSSL_FP_FUNCTION_POINTER(type, definition)
Definition of a flow protected function pointer.
Definition mcuxCsslFlowProtection.h:256
Type for mcuxClSession workareas flags.
Definition mcuxClSession_Types.h:97
uint32_t size
Size of the workarea buffer in words (uint32_t).
Definition mcuxClSession_Types.h:99
uint32_t dirty
Maximum used portion of the workarea buffer in words (uint32_t).
Definition mcuxClSession_Types.h:101
uint32_t used
Used portion of the workarea buffer in words (uint32_t).
Definition mcuxClSession_Types.h:100
uint32_t * buffer
Pointer to the starting address of the workarea buffer.
Definition mcuxClSession_Types.h:98
Session channels type.
Definition mcuxClSession_Types.h:133
Type for mcuxClSession non-blocking job context.
Definition mcuxClSession_Types.h:163
Structure for mcuxClSession Descriptor.
Definition mcuxClSession_Types.h:183
mcuxClSession_JobContext_t jobContext
Context of non-blocking job.
Definition mcuxClSession_Types.h:188
mcuxClRandom_Config_t randomCfg
Configuration of the Rng (contexts and mode).
Definition mcuxClSession_Types.h:186
mcuxClSession_WorkArea_t pkcWa
Workarea for the PKC.
Definition mcuxClSession_Types.h:185
mcuxClSession_WorkArea_t cpuWa
Workarea for the CPU.
Definition mcuxClSession_Types.h:184
mcuxClSession_apiCall_t * apiCall
Context for API calls.
Definition mcuxClSession_Types.h:189
mcuxClResource_Context_t * pResourceCtx
Pointer to global resource context.
Definition mcuxClSession_Types.h:187
uint32_t * pMathUptrt
UPTRT table pointer for math operations.
Definition mcuxClSession_Types.h:190