]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - armsrc/iso14443a.c
There is no proof this fix anything. This could just be out of randomness or subtle...
[proxmark3-svn] / armsrc / iso14443a.c
index 409bd3d6cec787c29410fe9d6766177484cbcbf7..972544666a5d8e4d7bbe4bd1ecc421146e77e6c8 100644 (file)
@@ -1,11 +1,18 @@
 //-----------------------------------------------------------------------------
-// Routines to support ISO 14443 type A.
-//
 // Gerhard de Koning Gans - May 2008
+//
+// This code is licensed to you under the terms of the GNU GPL, version 2 or,
+// at your option, any later version. See the LICENSE.txt file for the text of
+// the license.
+//-----------------------------------------------------------------------------
+// Routines to support ISO 14443 type A.
 //-----------------------------------------------------------------------------
+
 #include "proxmark3.h"
 #include "apps.h"
 #include "util.h"
+#include "string.h"
+
 #include "iso14443crc.h"
 
 static uint8_t *trace = (uint8_t *) BigBuf;
@@ -56,7 +63,7 @@ uint32_t GetParity(const uint8_t * pbtCmd, int iLen)
 {
   int i;
   uint32_t dwPar = 0;
-
+  
   // Generate the encrypted data
   for (i = 0; i < iLen; i++) {
     // Save the encrypted parity bit
Impressum, Datenschutz