mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
move sAPDU
This commit is contained in:
parent
ed4289d462
commit
7726ec6000
2 changed files with 9 additions and 9 deletions
|
@ -34,6 +34,15 @@ typedef struct {
|
||||||
const APDUCode *GetAPDUCode(uint8_t sw1, uint8_t sw2);
|
const APDUCode *GetAPDUCode(uint8_t sw1, uint8_t sw2);
|
||||||
const char *GetAPDUCodeDescription(uint8_t sw1, uint8_t sw2);
|
const char *GetAPDUCodeDescription(uint8_t sw1, uint8_t sw2);
|
||||||
|
|
||||||
|
typedef struct {
|
||||||
|
uint8_t CLA;
|
||||||
|
uint8_t INS;
|
||||||
|
uint8_t P1;
|
||||||
|
uint8_t P2;
|
||||||
|
uint8_t Lc;
|
||||||
|
uint8_t *data;
|
||||||
|
} PACKED sAPDU;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
uint8_t cla;
|
uint8_t cla;
|
||||||
uint8_t ins;
|
uint8_t ins;
|
||||||
|
|
|
@ -45,15 +45,6 @@ enum TransactionType {
|
||||||
};
|
};
|
||||||
extern const char *TransactionTypeStr[];
|
extern const char *TransactionTypeStr[];
|
||||||
|
|
||||||
typedef struct {
|
|
||||||
uint8_t CLA;
|
|
||||||
uint8_t INS;
|
|
||||||
uint8_t P1;
|
|
||||||
uint8_t P2;
|
|
||||||
uint8_t Lc;
|
|
||||||
uint8_t *data;
|
|
||||||
} sAPDU;
|
|
||||||
|
|
||||||
enum CardPSVendor {
|
enum CardPSVendor {
|
||||||
CV_NA,
|
CV_NA,
|
||||||
CV_VISA,
|
CV_VISA,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue