mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-19 21:03:48 -07:00
chg: emv compilation, will it work better on OSX?
This commit is contained in:
parent
a091feb5ee
commit
f96afe0ce7
2 changed files with 25 additions and 17 deletions
|
@ -24,6 +24,7 @@ APP_CFLAGS = -DWITH_CRC \
|
||||||
-fno-strict-aliasing -ffunction-sections -fdata-sections
|
-fno-strict-aliasing -ffunction-sections -fdata-sections
|
||||||
### IMPORTANT - move the commented variable below this line
|
### IMPORTANT - move the commented variable below this line
|
||||||
# -DWITH_LCD \
|
# -DWITH_LCD \
|
||||||
|
# -DWITH_EMV \
|
||||||
#
|
#
|
||||||
# Standalone Mods
|
# Standalone Mods
|
||||||
#-------------------------------------------------------
|
#-------------------------------------------------------
|
||||||
|
@ -34,6 +35,7 @@ APP_CFLAGS = -DWITH_CRC \
|
||||||
# -DWITH_HF_YOUNG
|
# -DWITH_HF_YOUNG
|
||||||
# -DWITH_HF_MATTYRUN
|
# -DWITH_HF_MATTYRUN
|
||||||
|
|
||||||
|
|
||||||
SRC_LCD = fonts.c LCD.c
|
SRC_LCD = fonts.c LCD.c
|
||||||
SRC_LF = lfops.c hitag2.c hitagS.c lfsampling.c pcf7931.c lfdemod.c
|
SRC_LF = lfops.c hitag2.c hitagS.c lfsampling.c pcf7931.c lfdemod.c
|
||||||
SRC_ISO15693 = iso15693.c iso15693tools.c
|
SRC_ISO15693 = iso15693.c iso15693tools.c
|
||||||
|
@ -85,12 +87,18 @@ ARMSRC = fpgaloader.c \
|
||||||
$(SRC_ISO14443b) \
|
$(SRC_ISO14443b) \
|
||||||
$(SRC_CRAPTO1) \
|
$(SRC_CRAPTO1) \
|
||||||
$(SRC_CRC) \
|
$(SRC_CRC) \
|
||||||
$(SRC_ICLASS) \
|
|
||||||
$(SRC_EMV) \
|
|
||||||
parity.c \
|
parity.c \
|
||||||
usb_cdc.c \
|
usb_cdc.c \
|
||||||
cmd.c
|
cmd.c
|
||||||
|
|
||||||
|
ifneq ($(WITH_ICLASS),"")
|
||||||
|
ARMSRC += $(SRC_ICLASS)
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifneq ($(WITH_EMV),"")
|
||||||
|
ARMSRC += $(SRC_EMV)
|
||||||
|
endif
|
||||||
|
|
||||||
# Do not move this inclusion before the definition of {THUMB,ASM,ARM}SRC
|
# Do not move this inclusion before the definition of {THUMB,ASM,ARM}SRC
|
||||||
include ../common/Makefile.common
|
include ../common/Makefile.common
|
||||||
|
|
||||||
|
|
|
@ -234,20 +234,20 @@ void HfSnoop(int , int);
|
||||||
|
|
||||||
//EMV functions
|
//EMV functions
|
||||||
// emvcmd.h
|
// emvcmd.h
|
||||||
void EMVTransaction(void);
|
extern void EMVTransaction(void);
|
||||||
void EMVgetUDOL(void);
|
extern void EMVgetUDOL(void);
|
||||||
void EMVloadvalue(uint32_t tag, uint8_t* datain);
|
extern void EMVloadvalue(uint32_t tag, uint8_t* datain);
|
||||||
void EMVdumpcard(void);
|
extern void EMVdumpcard(void);
|
||||||
//void EMVSelect(uint8_t arg0, uint8_t arg1, uint8_t arg2, uint8_t *data);
|
//extern void EMVSelect(uint8_t arg0, uint8_t arg1, uint8_t arg2, uint8_t *data);
|
||||||
void EMVFuzz_RATS(uint8_t ratslen, uint8_t* RATS);
|
extern void EMVFuzz_RATS(uint8_t ratslen, uint8_t* RATS);
|
||||||
void EMVReadRecord(uint8_t arg0, uint8_t arg1,emvcard* inputcard);
|
extern void EMVReadRecord(uint8_t arg0, uint8_t arg1,emvcard* inputcard);
|
||||||
void EMVSelectPPSE();
|
extern void EMVSelectPPSE();
|
||||||
void EMVSelectAID(uint8_t *AID, uint8_t AIDlen, emvcard* inputcard);
|
extern void EMVSelectAID(uint8_t *AID, uint8_t AIDlen, emvcard* inputcard);
|
||||||
void EMVTransaction();
|
extern void EMVTransaction();
|
||||||
void EMVClone(uint8_t maxsfi, uint8_t maxrecord);
|
extern void EMVClone(uint8_t maxsfi, uint8_t maxrecord);
|
||||||
void EMVSim();
|
extern void EMVSim();
|
||||||
void EMVTest();
|
extern void EMVTest();
|
||||||
void SimulateEMVcard();
|
extern void SimulateEMVcard();
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue