|
hsw-nbt 1.2.0
OPTIGA Authenticate NBT Host Library for C
|
Provides generic error message used in the NBT library. More...
Go to the source code of this file.
Macros | |
| #define | NBT_SW_INCORRECT_LC_LE UINT16_C(0x6700) |
| Incorrect LC value. | |
| #define | NBT_SW_APPLICATION_OR_FILE_NOT_FOUND UINT16_C(0x6A82) |
| Application or file not found. | |
| #define | NBT_SW_SELECT_FILE_WRONG_TLV UINT16_C(0x6A80) |
| Wrong TLV data format for select file with password data. | |
| #define | NBT_SW_INCORRECT_DATA_PARAMETERS UINT16_C(0x6A80) |
| Incorrect parameters in the command data field. | |
| #define | NBT_SW_UNSUPPORTED_DATA UINT16_C(0x6A88) |
| Unknown or unsupported data group, data object. | |
| #define | NBT_SW_SECURITY_ACCESS_DENIED UINT16_C(0x6985) |
| Use of condition not satisfied. If during personalization of password, password ID already exists. If trying to personalize more than 28 passwords. If personalize data command is sent during operational phase. If personalize data command is for Asymmetric ECC key and sales code is NBT 1000. | |
| #define | NBT_SW_WRONG_P1_P2 UINT16_C(0x6A86) |
| Incorrect P1-P2. | |
| #define | NBT_SW_SECURITY_NOT_SATISFIED UINT16_C(0x6982) |
| Security condition not satisfied. | |
| #define | NBT_SW_UPDATE_ACCESS_DENIED UINT16_C(0x6985) |
| CC file is updated for ‘02’ to ‘0E’ offset is not allowed. | |
| #define | NBT_SW_COMMAND_NOT_ALLOWED UINT16_C(0x6986) |
| Command not allowed. | |
| #define | NBT_SW_CONDITIONS_NOT_SATISFIED UINT16_C(0x6985) |
| Conditions of use not satisfied. Password ID already present, if trying to personalize more than 28 passwords. | |
| #define | NBT_SW_INCORRECT_DATA UINT16_C(0x6A80) |
| Wrong data, invalid FileID or format mismatch in FAP policy. | |
| #define | NBT_SW_CONFIG_SELECT_INCORRECT_DATA UINT16_C(0x6A80) |
| Incorrect parameters in the command data field. | |
| #define | NBT_SW_CONFIG_SELECT_INCORRECT_LC UINT16_C(0x6700) |
| Incorrect Lc value for configurator select. | |
| #define | NBT_SW_GET_DATA_WRONG_LE UINT16_C(0x6700) |
| Wrong length, if Lc is present or if Le not equal to ‘00’. | |
| #define | NBT_SW_DATA_NOT_FOUND UINT16_C(0x6A88) |
| Reference data not found. | |
| #define | NBT_MESSAGE_ERROR_COUNTS UINT8_C(0x1E) |
| APDU error message list length (30 bytes) | |
| #define | NBT_LC_INVALID UINT8_C(0x01) |
| Lc must not be zero. | |
| #define | NBT_NFC_APDU_NOT_AVAILABLE UINT8_C(0x02) |
| NFC APDU is not available in pass-through fetch data command response. | |
| #define | NBT_FAP_PARSE_ERROR UINT8_C(0x03) |
| FAP bytes are improper or not have FAP bytes of length (6 bytes). | |
Variables | |
| ifx_apdu_error_map_t | nbt_apdu_errors [] |
| APDU error message list. | |
Provides generic error message used in the NBT library.
Definition in file nbt-errors.h.
| #define NBT_FAP_PARSE_ERROR UINT8_C(0x03) |
FAP bytes are improper or not have FAP bytes of length (6 bytes).
Definition at line 123 of file nbt-errors.h.
| #define NBT_LC_INVALID UINT8_C(0x01) |
Lc must not be zero.
Definition at line 113 of file nbt-errors.h.
| #define NBT_MESSAGE_ERROR_COUNTS UINT8_C(0x1E) |
APDU error message list length (30 bytes)
Definition at line 106 of file nbt-errors.h.
| #define NBT_NFC_APDU_NOT_AVAILABLE UINT8_C(0x02) |
NFC APDU is not available in pass-through fetch data command response.
Definition at line 118 of file nbt-errors.h.
| #define NBT_SW_APPLICATION_OR_FILE_NOT_FOUND UINT16_C(0x6A82) |
Application or file not found.
Definition at line 27 of file nbt-errors.h.
| #define NBT_SW_COMMAND_NOT_ALLOWED UINT16_C(0x6986) |
Command not allowed.
Definition at line 70 of file nbt-errors.h.
| #define NBT_SW_CONDITIONS_NOT_SATISFIED UINT16_C(0x6985) |
Conditions of use not satisfied. Password ID already present, if trying to personalize more than 28 passwords.
Definition at line 76 of file nbt-errors.h.
| #define NBT_SW_CONFIG_SELECT_INCORRECT_DATA UINT16_C(0x6A80) |
Incorrect parameters in the command data field.
Definition at line 86 of file nbt-errors.h.
| #define NBT_SW_CONFIG_SELECT_INCORRECT_LC UINT16_C(0x6700) |
Incorrect Lc value for configurator select.
Definition at line 91 of file nbt-errors.h.
| #define NBT_SW_DATA_NOT_FOUND UINT16_C(0x6A88) |
Reference data not found.
Definition at line 101 of file nbt-errors.h.
| #define NBT_SW_GET_DATA_WRONG_LE UINT16_C(0x6700) |
Wrong length, if Lc is present or if Le not equal to ‘00’.
Definition at line 96 of file nbt-errors.h.
| #define NBT_SW_INCORRECT_DATA UINT16_C(0x6A80) |
Wrong data, invalid FileID or format mismatch in FAP policy.
Definition at line 81 of file nbt-errors.h.
| #define NBT_SW_INCORRECT_DATA_PARAMETERS UINT16_C(0x6A80) |
Incorrect parameters in the command data field.
Definition at line 37 of file nbt-errors.h.
| #define NBT_SW_INCORRECT_LC_LE UINT16_C(0x6700) |
Incorrect LC value.
Definition at line 22 of file nbt-errors.h.
| #define NBT_SW_SECURITY_ACCESS_DENIED UINT16_C(0x6985) |
Use of condition not satisfied. If during personalization of password, password ID already exists. If trying to personalize more than 28 passwords. If personalize data command is sent during operational phase. If personalize data command is for Asymmetric ECC key and sales code is NBT 1000.
Definition at line 50 of file nbt-errors.h.
| #define NBT_SW_SECURITY_NOT_SATISFIED UINT16_C(0x6982) |
Security condition not satisfied.
Definition at line 60 of file nbt-errors.h.
| #define NBT_SW_SELECT_FILE_WRONG_TLV UINT16_C(0x6A80) |
Wrong TLV data format for select file with password data.
Definition at line 32 of file nbt-errors.h.
| #define NBT_SW_UNSUPPORTED_DATA UINT16_C(0x6A88) |
Unknown or unsupported data group, data object.
Definition at line 42 of file nbt-errors.h.
| #define NBT_SW_UPDATE_ACCESS_DENIED UINT16_C(0x6985) |
CC file is updated for ‘02’ to ‘0E’ offset is not allowed.
Definition at line 65 of file nbt-errors.h.
| #define NBT_SW_WRONG_P1_P2 UINT16_C(0x6A86) |
Incorrect P1-P2.
Definition at line 55 of file nbt-errors.h.