APDUEncode

This commit is contained in:
merlokk
2019-07-11 13:08:43 +03:00
parent 1169a6cf1b
commit 4d8a411413
2 changed files with 45 additions and 26 deletions

View File

@@ -55,7 +55,7 @@ typedef struct
} __attribute__((packed)) APDUStruct;
extern int APDUDecode(uint8_t *data, size_t len, APDUStruct *apdu);
extern int APDUEncode(APDUStruct apdu, uint8_t *data, size_t len);
extern int APDUEncode(APDUStruct *apdu, uint8_t *data, size_t *len);
extern void APDUPrint(APDUStruct apdu);
#endif