From 985cb0b34956bbc5d5465ddfc707959fb10dc2ad Mon Sep 17 00:00:00 2001 From: Romuald Conty Date: Wed, 28 Jul 2010 10:12:11 +0000 Subject: [PATCH] Export NFC Forum public key for MIFARE Classic. --- libfreefare/freefare.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libfreefare/freefare.h b/libfreefare/freefare.h index e516162..3af04f7 100644 --- a/libfreefare/freefare.h +++ b/libfreefare/freefare.h @@ -70,6 +70,9 @@ typedef unsigned char MifareClassicBlockNumber; typedef enum { MFC_KEY_A, MFC_KEY_B } MifareClassicKeyType; typedef unsigned char MifareClassicKey[6]; +/* NFC Forum public key */ +extern const MifareClassicKey mifare_classic_nfcforum_public_key_a; + int mifare_classic_connect (MifareTag tag); int mifare_classic_disconnect (MifareTag tag);