19#ifndef MCUXCLSESSION_FUNCTIONS_H_
20#define MCUXCLSESSION_FUNCTIONS_H_
22#include <mcuxClCore_Platform.h>
62 uint32_t * const pCpuWaBuffer,
64 uint32_t * const pPkcWaBuffer,
Definition of function identifiers for the flow protection mechanism.
Type definitions for the mcuxClResource component.
Type definitions for the mcuxClSession component.
Provides the API for the CSSL flow protection mechanism.
const mcuxClRandom_ModeDescriptor_t * mcuxClRandom_Mode_t
Random data generation mode/algorithm type.
Definition mcuxClRandom_Types.h:94
mcuxClRandom_ContextDescriptor_t * mcuxClRandom_Context_t
Random context type.
Definition mcuxClRandom_Types.h:71
struct mcuxClResource_Context mcuxClResource_Context_t
Resource context type.
Definition mcuxClResource_Types.h:47
mcuxClSession_Status_t mcuxClSession_cleanup(mcuxClSession_Handle_t pSession)
Clean up a Crypto Library session.
mcuxClSession_Status_t mcuxClSession_destroy(mcuxClSession_Handle_t pSession)
Destroy a Crypto Library session.
mcuxClSession_Status_t mcuxClSession_cleanupOnError(mcuxClSession_Handle_t pSession)
Clean up HW Resources after error case.
mcuxClSession_Status_t mcuxClSession_configure_job(mcuxClSession_Handle_t session, mcuxClSession_Channels_t dmaChannels, mcuxClSession_Callback_t pUserCallback, void *pUserData)
Configure the parameters for non-blocking operations (jobs) in this session.
mcuxClSession_Status_t mcuxClSession_setResource(mcuxClSession_Handle_t session, mcuxClResource_Context_t *pResourceCtx)
Set the resource context in a Crypto Library session.
mcuxClSession_Status_t mcuxClSession_init(mcuxClSession_Handle_t pSession, uint32_t *const pCpuWaBuffer, uint32_t cpuWaLength, uint32_t *const pPkcWaBuffer, uint32_t pkcWaLength)
Initialize a Crypto Library session.
mcuxClSession_Status_t mcuxClSession_setRandom(mcuxClSession_Handle_t session, mcuxClRandom_Mode_t randomMode, mcuxClRandom_Context_t randomCtx)
Function to switch to another random configuration.
mcuxClSession_Descriptor_t *const mcuxClSession_Handle_t
Type for mcuxClSession Handle.
Definition mcuxClSession_Types.h:98
void(* mcuxClSession_Callback_t)(uint32_t status, void *data)
Session callback function pointer type.
Definition mcuxClSession_Types.h:123
uint32_t mcuxClSession_Status_t
Type for mcuxClSession status codes.
Definition mcuxClSession_Types.h:66
#define MCUX_CSSL_FP_FUNCTION_DECL(...)
Declaration of a flow protected function.
Definition mcuxCsslFlowProtection.h:166
#define MCUX_CSSL_FP_PROTECTED_TYPE(resultType)
Based on a given base type, builds a return type with flow protection.
Definition mcuxCsslFlowProtection.h:138
Session channels type.
Definition mcuxClSession_Types.h:113