26#define IFX_TLV_DGI_ENCODER UINT8_C(0x01)
32#define IFX_TLV_DGI_DECODER UINT8_C(0x02)
37#define IFX_TLV_DGI_2B_LEN_IDENTIFIER UINT8_C(0xFF)
42#define IFX_TLV_DGI_LEN_IDENTIFIER_SIZE UINT8_C(0x01)
47#define IFX_TLV_DGI_MIN_LEN_SIZE UINT8_C(0x01)
52#define IFX_TLV_DGI_TAG_SIZE UINT8_C(0x02)
57#define IFX_TLV_DGI_LEN_SIZE_1B UINT8_C(0x01)
62#define IFX_TLV_DGI_LEN_SIZE_2B UINT8_C(0x02)
68#define IFX_TLV_DGI_LEN_WITH_ID_SIZE UINT8_C(0x03)
73#define IFX_TLV_DGI_ENCODED_BYTES_INVALID UINT8_C(0xF9)
110 uint32_t tlv_data_count,
134 uint32_t *tlv_data_count,
ifx_tlv_t *tlv_data);
Infineon specific error code creation and parsing.
uint32_t ifx_status_t
Custom return code type used by all Infineon host software libraries.
ifx_status_t ifx_tlv_dgi_decode(const ifx_blob_t *encoded_bytes, uint32_t *tlv_data_count, ifx_tlv_t *tlv_data)
Decodes the byte array into array of TLV type data. This method decodes DGI TLV formatted data,...
ifx_status_t ifx_tlv_dgi_encode(const ifx_tlv_t *tlv_data, uint32_t tlv_data_count, ifx_blob_t *encoded_bytes)
Encodes the array of TLV type data into byte array. This method encodes in DGI TLV format,...
Provides the module, method and error identifiers of the library.
Provides utility functions and macros.
Data storage for data and data length where both are required as parameters.
Data storage for TLV(tag, length & value) fields TLV value field can be NULL.