Module for application-level commands for Infineon OPTIGA Trust X. More...
Data Structures | |
struct | optiga_comms |
optiga comms structure More... | |
Macros | |
#define | OPTIGA_COMMS_SUCCESS 0x0000 |
Succesfull execution. | |
#define | OPTIGA_COMMS_ERROR 0x0001 |
Error in execution. | |
#define | OPTIGA_COMMS_BUSY 0x0002 |
Busy, doing operation. | |
Typedefs | |
typedef struct optiga_comms | optiga_comms_t |
optiga comms structure | |
Functions | |
LIBRARY_EXPORTS host_lib_status_t | optiga_comms_open (optiga_comms_t *p_ctx) |
Opens the communication channel with OPTIGA. | |
LIBRARY_EXPORTS host_lib_status_t | optiga_comms_reset (optiga_comms_t *p_ctx, uint8_t reset_type) |
Resets the OPTIGA. | |
LIBRARY_EXPORTS host_lib_status_t | optiga_comms_transceive (optiga_comms_t *p_ctx, const uint8_t *p_data, const uint16_t *p_data_length, uint8_t *p_buffer, uint16_t *p_buffer_len) |
Sends and receives the APDU. | |
LIBRARY_EXPORTS host_lib_status_t | optiga_comms_close (optiga_comms_t *p_ctx) |
Closes the communication channel with OPTIGA. | |
Variables | |
optiga_comms_t | optiga_comms |
Module for application-level commands for Infineon OPTIGA Trust X.