X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/f7e3ed82874bfd8951c90536bd7185d599d6dbf8..0aa4cfc2f15d99f84929066c879bcdbb8d8ba81f:/armsrc/iso14443a.c diff --git a/armsrc/iso14443a.c b/armsrc/iso14443a.c index 409bd3d6..97254466 100644 --- a/armsrc/iso14443a.c +++ b/armsrc/iso14443a.c @@ -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