code style, code clean up of redundant functions, comments, its many minor fixes across the platform. Sorry for not making 20 commits

This commit is contained in:
iceman1001 2025-02-21 15:38:33 +01:00
commit cef07dedf6
57 changed files with 672 additions and 521 deletions

View file

@ -924,6 +924,9 @@ typedef struct {
// No key available client/pm3: no cryptographic key available.
#define PM3_ENOKEY -28
// Cryptographic error client/pm3: cryptographic operation failed
#define PM3_ECRYPTO -29
// No data client/pm3: no data available, no host frame available (not really an error)
#define PM3_ENODATA -98
// Quit program client: reserved, order to quit the program

View file

@ -205,6 +205,12 @@ ISO 7816-4 Basic interindustry commands. For command APDU's.
#define MIFARE_EV1_UIDF1 0x40
#define MIFARE_EV1_UIDF2 0x20
#define MIFARE_EV1_UIDF3 0x60
#define MIFARE_EV1_SELECT_APP 0x5A
#define MIFARE_EV1_AUTH_AES 0xAA
#define MIFARE_EV1_AUTH_AES_2 0xAF
#define MIFARE_EV1_GET_FILE_INFO 0xF5
#define MIFARE_EV1_READ_DATA 0xBD
#define MIFARE_ULC_WRITE 0xA2
#define MIFARE_ULC_COMP_WRITE 0xA0