]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/loclass/cipher.h
iclass additions
[proxmark3-svn] / client / loclass / cipher.h
index 176a29767e1654b058c17a6ce06036ca5b3e1a94..24e868513bb778efc5cf7392902d1f00dfb2dbe5 100644 (file)
 #define CIPHER_H
 #include <stdint.h>
 
 #define CIPHER_H
 #include <stdint.h>
 
-void doMAC(uint8_t *cc_nr_p, int length, uint8_t *div_key_p, uint8_t mac[4]);
+void doMAC(uint8_t *cc_nr_p, uint8_t *div_key_p, uint8_t mac[4]);
+void doMAC_N(uint8_t *cc_nr_p,uint8_t cc_nr_size, uint8_t *div_key_p, uint8_t mac[4]);
+
+#ifndef ON_DEVICE
 int testMAC();
 int testMAC();
+#endif
 
 #endif // CIPHER_H
 
 #endif // CIPHER_H
Impressum, Datenschutz