32 #define TRACE_LEVEL CRYPTO_TRACE_LEVEL
35 #include "fsl_device_registers.h"
45 static caam_job_ring_interface_t caamJobRingInterface[4];
56 caam_config_t caamConfig;
59 status = kStatus_Success;
66 status = kStatus_Fail;
70 if(status == kStatus_Success)
73 CAAM_GetDefaultConfig(&caamConfig);
76 caamConfig.jobRingInterface[0] = &caamJobRingInterface[0];
77 caamConfig.jobRingInterface[1] = &caamJobRingInterface[1];
78 caamConfig.jobRingInterface[2] = &caamJobRingInterface[2];
79 caamConfig.jobRingInterface[3] = &caamJobRingInterface[3];
82 status = CAAM_Init(CAAM, &caamConfig);