X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/3e134b4c20a5528b8264cd87d3fdebd0b2df6fd9..1b12afbd9fd2f6b3de278a1419d0e095cb9181ce:/armsrc/legicrf.h diff --git a/armsrc/legicrf.h b/armsrc/legicrf.h index 69fb442f..e00de6ac 100644 --- a/armsrc/legicrf.h +++ b/armsrc/legicrf.h @@ -11,10 +11,18 @@ #ifndef __LEGICRF_H #define __LEGICRF_H +#include "proxmark3.h" // +#include "apps.h" +#include "util.h" // +#include "string.h" +#include "legic_prng.h" // legic PRNG impl +#include "crc.h" // legic crc-4 + + extern void LegicRfSimulate(int phase, int frame, int reqresp); -extern int LegicRfReader(int bytes, int offset); -extern void LegicRfWriter(int bytes, int offset); -extern void LegicRfRawWriter(int offset, int bytes); +extern int LegicRfReader(int offset, int bytes, int iv); +extern void LegicRfWriter(int offset, int bytes, int iv); +extern void LegicRfRawWriter(int address, int data, int iv); int ice_legic_select_card(); void ice_legic_setup();