![]() |
S32 SDK
|
Internal driver state information. More...
#include <csec_driver.h>
Data Fields | |
bool | cmdInProgress |
csec_cmd_t | cmd |
const uint8_t * | inputBuff |
uint8_t * | outputBuff |
uint32_t | index |
uint32_t | fullSize |
uint32_t | partSize |
csec_key_id_t | keyId |
status_t | errCode |
const uint8_t * | iv |
csec_call_sequence_t | seq |
uint32_t | msgLen |
bool * | verifStatus |
bool | macWritten |
const uint8_t * | mac |
uint32_t | macLen |
csec_callback_t | callback |
void * | callbackParam |
Internal driver state information.
Implements : csec_state_t_Class
Definition at line 196 of file csec_driver.h.
csec_callback_t callback |
The callback invoked when an asynchronous command is completed
Definition at line 213 of file csec_driver.h.
void* callbackParam |
User parameter for the command completion callback
Definition at line 214 of file csec_driver.h.
csec_cmd_t cmd |
Specifies the type of the command in execution
Definition at line 198 of file csec_driver.h.
bool cmdInProgress |
Specifies if a command is in progress
Definition at line 197 of file csec_driver.h.
status_t errCode |
Specifies the error code of the last executed command
Definition at line 205 of file csec_driver.h.
uint32_t fullSize |
Specifies the size of the input of the command in execution
Definition at line 202 of file csec_driver.h.
uint32_t index |
Specifies the index in the input buffer of the command in execution
Definition at line 201 of file csec_driver.h.
const uint8_t* inputBuff |
Specifies the input of the command in execution
Definition at line 199 of file csec_driver.h.
const uint8_t* iv |
Specifies the IV of the command in execution (for encryption/decryption using CBC mode)
Definition at line 206 of file csec_driver.h.
csec_key_id_t keyId |
Specifies the key used for the command in execution
Definition at line 204 of file csec_driver.h.
const uint8_t* mac |
Specifies the MAC to be verified for a MAC verification command
Definition at line 211 of file csec_driver.h.
uint32_t macLen |
Specifies the number of bits of the MAC to be verified for a MAC verification command
Definition at line 212 of file csec_driver.h.
bool macWritten |
Specifies if the MAC to be verified was written in CSE_PRAM for a MAC verification command
Definition at line 210 of file csec_driver.h.
uint32_t msgLen |
Specifies the message size (in bits) for the command in execution (for MAC generation/verification)
Definition at line 208 of file csec_driver.h.
uint8_t* outputBuff |
Specifies the output of the command in execution
Definition at line 200 of file csec_driver.h.
uint32_t partSize |
Specifies the size of the chunck of the input currently processed
Definition at line 203 of file csec_driver.h.
Specifies if the information is the first or a following function call.
Definition at line 207 of file csec_driver.h.
bool* verifStatus |
Specifies the result of the last executed MAC verification command
Definition at line 209 of file csec_driver.h.