24#define NBT_FINALIZE_PERSONALIZATION UINT8_C(0x01)
29#define NBT_PERSONALIZE_DATA UINT8_C(0x02)
34#define NBT_BACKEND_TEST UINT8_C(0x03)
39#define NBT_BACKEND_TEST_DISABLE UINT8_C(0x04)
48 NBT_DGI_A001 = UINT16_C(0xA001),
51 NBT_DGI_A002 = UINT16_C(0xA002),
54 NBT_DGI_A003 = UINT16_C(0xA003),
57 NBT_DGI_E104 = UINT16_C(0xE104),
60 NBT_DGI_E1A1 = UINT16_C(0xE1A1),
63 NBT_DGI_E1A2 = UINT16_C(0xE1A2),
66 NBT_DGI_E1A3 = UINT16_C(0xE1A3),
69 NBT_DGI_E1A4 = UINT16_C(0xE1A4),
72 NBT_DGI_E1AF = UINT16_C(0xE1AF),
75 NBT_DGI_BF63 = UINT16_C(0xBF63)
84 NBT_BACKEND_TEST_RANDOM_NUM_GENERATION = (1 << 0),
87 NBT_BACKEND_TEST_ECDSA_SIGN = (1 << 1),
90 NBT_BACKEND_TEST_PUBLIC_KEY_EXTRACTION_FROM_CERT = (1 << 2),
93 NBT_BACKEND_TEST_ECDSA_VERIFY = (1 << 3),
96 NBT_BACKEND_TEST_UID_EXTRACTION_FROM_CERT = (1 << 4),
99 NBT_BACKEND_TEST_UID_COMPARISON = (1 << 5),
102 NBT_BACKEND_TEST_COTT_COMPUTATION = (1 << 6),
105 NBT_BACKEND_TEST_ALL = 0x7F,
uint32_t ifx_status_t
Custom return code type used by all Infineon host software libraries.
Provides utility functions and macros.
Provides the library and module identifiers code of the library.
NBT protocol API for exchanging APDUs with NBT product.
ifx_status_t nbt_finalize_personalization(nbt_cmd_t *self)
Issues finalize personalization command. Personalization is considered completed after successful exe...
nbt_personalize_data_dgi
Enumeration stores data group identifier (DGI) for personalize data command.
ifx_status_t nbt_personalize_data(nbt_cmd_t *self, uint16_t dgi, const ifx_blob_t *dgi_data)
Issues personalize data command to personalize the data elements of the applet. Applet personalizatio...
ifx_status_t nbt_backend_test_disable(nbt_cmd_t *self)
Issues backend test command that permanently disables the backend test support in the chip.
nbt_backend_test_request
Enumeration holds the bitmaps to perform backend tests.
ifx_status_t nbt_backend_test(nbt_cmd_t *self, uint8_t test_request)
Issues backend test command to perform the requested backend tests.
Data storage for data and data length where both are required as parameters.
Generic NBT command set structure for building and performing NBT commands.