]>
git.zerfleddert.de Git - proxmark3-svn/blob - client/mifare/mad.h
89fcd795cb539829d35025b07de8df66e0ce8a20
1 //-----------------------------------------------------------------------------
2 // Copyright (C) 2019 Merlok
4 // This code is licensed to you under the terms of the GNU GPL, version 2 or,
5 // at your option, any later version. See the LICENSE.txt file for the text of
7 //-----------------------------------------------------------------------------
8 // MIFARE Application Directory (MAD) functions
9 //-----------------------------------------------------------------------------
20 const char *Description
;
23 extern int MADCheck(uint8_t *sector0
, uint8_t *sector10
, bool verbose
, bool *haveMAD2
);
24 extern int MADDecode(uint8_t *sector0
, uint8_t *sector10
, uint16_t *mad
, size_t *madlen
);
25 extern int MAD1DecodeAndPrint(uint8_t *sector
, bool verbose
, bool *haveMAD2
);
26 extern int MAD2DecodeAndPrint(uint8_t *sector
, bool verbose
);