Add NFC Forum public key for MIFARE Classic.

This commit is contained in:
Romuald Conty 2010-07-28 10:06:42 +00:00
parent 6631491dec
commit 8026f33170

View file

@ -32,6 +32,10 @@
* Making the Best of Mifare Classic
* Wouter Teepe (Radboud University Nijmegen)
* October 6, 2008
*
* Mifare Std as NFC Forum Enabled Tag
* Extensions for Mifare standard 1k/4k as NFC Forum Enable Tag
* Rev. 1.1 21 August 2007
*/
#include "config.h"
@ -71,6 +75,11 @@
#define MC_INCREMENT 0xC1
#define MC_RESTORE 0xC2
/* Public Key A value of NFC Forum sectors */
const MifareClassicKey mifare_classic_nfcforum_public_key_a = {
0xd3, 0xf7, 0xd3, 0xf7, 0xd3, 0xf7
};
union mifare_classic_block {
unsigned char data[16];
struct {