1 //-----------------------------------------------------------------------------
2 // Copyright (C) Proxmark3 contributors. See AUTHORS.md for details.
4 // This program is free software: you can redistribute it and/or modify
5 // it under the terms of the GNU General Public License as published by
6 // the Free Software Foundation, either version 3 of the License, or
7 // (at your option) any later version.
9 // This program is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU General Public License for more details.
14 // See LICENSE.txt for the text of the license.
15 //-----------------------------------------------------------------------------
16 // Low frequency G Prox II tag commands
17 //-----------------------------------------------------------------------------
18 #ifndef CMDLFGUARD_H__
19 #define CMDLFGUARD_H__
23 int CmdLFGuard(const char *Cmd
);
24 int detectGProxII(uint8_t *bits
, size_t *size
);
25 int demodGuard(bool verbose
);
26 int getGuardBits(uint8_t xorKey
, uint8_t fmtlen
, uint32_t fc
, uint32_t cn
, uint8_t *guardBits
);