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

Presentation layer structure. More...

#include <ifx_i2c_config.h>

Collaboration diagram for ifx_i2c_prl:

Public Attributes

uint8_t state
 
uint8_t hs_state
 
uint8_t negotiation_state
 Handshake negotiation state. More...
 
uint8_t mc_state
 Manage context state. More...
 
uint32_t master_sequence_number
 Master sequence number. More...
 
uint32_t slave_sequence_number
 Slave sequence number. More...
 
uint32_t save_slave_sequence_number
 Save slave sequence number. More...
 
uint8_t * p_actual_payload
 Pointer to packet provided by user. More...
 
uint16_t actual_payload_length
 Total received data. More...
 
uint8_t * p_recv_payload_buffer
 Pointer to user provided receive buffer. More...
 
uint16_t * p_recv_payload_buffer_length
 Length of receive buffer. More...
 
uint8_t sctr
 SCTR status byte. More...
 
uint8_t saved_sctr
 Saved SCTR status byte. More...
 
uint8_t alert_type
 Alert type. More...
 
uint8_t prl_header_offset
 Presentation header offset. More...
 
uint8_t session_key [40]
 Buffer to store prf. More...
 
uint8_t random [32]
 Randon data. More...
 
uint8_t prl_txrx_buffer [58]
 Receive buffer. More...
 
uint16_t prl_txrx_receive_length
 Receive txrx buffer length. More...
 
uint8_t associate_data [8]
 Associate data buffer. More...
 
uint16_t prl_receive_length
 Receive buffer length. More...
 
uint8_t decryption_failure_counter
 Master retransmit counter. More...
 
uint8_t data_retransmit_counter
 Slave retransmit counter. More...
 
optiga_lib_status_t return_status
 Return status. More...
 
uint8_t restore_context_flag
 Restore context flag. More...
 
ifx_i2c_prl_manage_context_t prl_saved_ctx
 
ifx_i2c_event_handler_t upper_layer_event_handler
 
uint8_t trans_repeat_status
 

Detailed Description

Presentation layer structure.

Member Data Documentation

◆ actual_payload_length

uint16_t ifx_i2c_prl::actual_payload_length

Total received data.

◆ alert_type

uint8_t ifx_i2c_prl::alert_type

Alert type.

◆ associate_data

uint8_t ifx_i2c_prl::associate_data[8]

Associate data buffer.

◆ data_retransmit_counter

uint8_t ifx_i2c_prl::data_retransmit_counter

Slave retransmit counter.

◆ decryption_failure_counter

uint8_t ifx_i2c_prl::decryption_failure_counter

Master retransmit counter.

◆ hs_state

uint8_t ifx_i2c_prl::hs_state

◆ master_sequence_number

uint32_t ifx_i2c_prl::master_sequence_number

Master sequence number.

◆ mc_state

uint8_t ifx_i2c_prl::mc_state

Manage context state.

◆ negotiation_state

uint8_t ifx_i2c_prl::negotiation_state

Handshake negotiation state.

◆ p_actual_payload

uint8_t* ifx_i2c_prl::p_actual_payload

Pointer to packet provided by user.

◆ p_recv_payload_buffer

uint8_t* ifx_i2c_prl::p_recv_payload_buffer

Pointer to user provided receive buffer.

◆ p_recv_payload_buffer_length

uint16_t* ifx_i2c_prl::p_recv_payload_buffer_length

Length of receive buffer.

◆ prl_header_offset

uint8_t ifx_i2c_prl::prl_header_offset

Presentation header offset.

◆ prl_receive_length

uint16_t ifx_i2c_prl::prl_receive_length

Receive buffer length.

◆ prl_saved_ctx

ifx_i2c_prl_manage_context_t ifx_i2c_prl::prl_saved_ctx

◆ prl_txrx_buffer

uint8_t ifx_i2c_prl::prl_txrx_buffer[58]

Receive buffer.

◆ prl_txrx_receive_length

uint16_t ifx_i2c_prl::prl_txrx_receive_length

Receive txrx buffer length.

◆ random

uint8_t ifx_i2c_prl::random[32]

Randon data.

◆ restore_context_flag

uint8_t ifx_i2c_prl::restore_context_flag

Restore context flag.

◆ return_status

optiga_lib_status_t ifx_i2c_prl::return_status

Return status.

◆ save_slave_sequence_number

uint32_t ifx_i2c_prl::save_slave_sequence_number

Save slave sequence number.

◆ saved_sctr

uint8_t ifx_i2c_prl::saved_sctr

Saved SCTR status byte.

◆ sctr

uint8_t ifx_i2c_prl::sctr

SCTR status byte.

◆ session_key

uint8_t ifx_i2c_prl::session_key[40]

Buffer to store prf.

◆ slave_sequence_number

uint32_t ifx_i2c_prl::slave_sequence_number

Slave sequence number.

◆ state

uint8_t ifx_i2c_prl::state

◆ trans_repeat_status

uint8_t ifx_i2c_prl::trans_repeat_status

◆ upper_layer_event_handler

ifx_i2c_event_handler_t ifx_i2c_prl::upper_layer_event_handler

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