OPTIGA Trust M  1.1.0
C++ library for Optiga Trust M Chip Security Controller
optiga_context Struct Reference

OPTIGA Context which holds the communication buffer, comms instance and other required. This would be maintained and consumed by OPTIGA Cmd. More...

Collaboration diagram for optiga_context:

Public Attributes

optiga_comms_tp_optiga_comms
 Context of OPTIGA Communication. More...
 
uint16_t comms_tx_size
 comms tx size More...
 
uint16_t comms_rx_size
 comms rx size More...
 
uint8_t sessions [OPTIGA_CMD_MAX_NUMBER_OF_SESSIONS]
 Structure which maintains the session and contexts of requesters to acquire session. More...
 
uint8_t instance_init_state
 Indicates if instance is initialized. More...
 
uint8_t optiga_comms_buffer [OPTIGA_CMD_TOTAL_COMMS_BUFFER_SIZE]
 Communication buffer to send/receive APDUs. More...
 
optiga_cmd_queue_slot_t optiga_cmd_execution_queue [OPTIGA_CMD_MAX_REGISTRATIONS]
 optiga execution queue More...
 
pal_os_event_tp_pal_os_event_ctx
 pal os event instance/context More...
 
uint32_t last_time_stamp
 Last processed cmd time stamp. More...
 
uint8_t optiga_context_handle_buffer [APP_CONTEXT_SIZE]
 optiga context handle buffer More...
 
uint8_t protection_level_state
 Protection level status flag. More...
 

Detailed Description

OPTIGA Context which holds the communication buffer, comms instance and other required. This would be maintained and consumed by OPTIGA Cmd.

Member Data Documentation

◆ comms_rx_size

uint16_t optiga_context::comms_rx_size

comms rx size

◆ comms_tx_size

uint16_t optiga_context::comms_tx_size

comms tx size

◆ instance_init_state

uint8_t optiga_context::instance_init_state

Indicates if instance is initialized.

◆ last_time_stamp

uint32_t optiga_context::last_time_stamp

Last processed cmd time stamp.

◆ optiga_cmd_execution_queue

optiga_cmd_queue_slot_t optiga_context::optiga_cmd_execution_queue[OPTIGA_CMD_MAX_REGISTRATIONS]

optiga execution queue

◆ optiga_comms_buffer

uint8_t optiga_context::optiga_comms_buffer[OPTIGA_CMD_TOTAL_COMMS_BUFFER_SIZE]

Communication buffer to send/receive APDUs.

◆ optiga_context_handle_buffer

uint8_t optiga_context::optiga_context_handle_buffer[APP_CONTEXT_SIZE]

optiga context handle buffer

◆ p_optiga_comms

optiga_comms_t* optiga_context::p_optiga_comms

Context of OPTIGA Communication.

◆ p_pal_os_event_ctx

pal_os_event_t* optiga_context::p_pal_os_event_ctx

pal os event instance/context

◆ protection_level_state

uint8_t optiga_context::protection_level_state

Protection level status flag.

◆ sessions

uint8_t optiga_context::sessions[OPTIGA_CMD_MAX_NUMBER_OF_SESSIONS]

Structure which maintains the session and contexts of requesters to acquire session.


The documentation for this struct was generated from the following file: