]> cvs.zerfleddert.de Git - proxmark3-svn/blame - armsrc/desfire_key.h
CHG: a message..
[proxmark3-svn] / armsrc / desfire_key.h
CommitLineData
f6c18637 1#ifndef __DESFIRE_KEY_INCLUDED
2#define __DESFIRE_KEY_INCLUDED
995c94dc 3
4#include <stdlib.h>
5#include <stdint.h>
53d5dc64 6#include "iso14443a.h"
995c94dc 7#include "desfire.h"
53d5dc64 8//#include "mifare.h" // iso14a_card_select_t struct
f6c18637 9void Desfire_des_key_new (const uint8_t value[8], desfirekey_t key);
10void Desfire_3des_key_new (const uint8_t value[16], desfirekey_t key);
11void Desfire_des_key_new_with_version (const uint8_t value[8], desfirekey_t key);
12void Desfire_3des_key_new_with_version (const uint8_t value[16], desfirekey_t key);
13void Desfire_3k3des_key_new (const uint8_t value[24], desfirekey_t key);
14void Desfire_3k3des_key_new_with_version (const uint8_t value[24], desfirekey_t key);
15void Desfire_aes_key_new (const uint8_t value[16], desfirekey_t key);
16void Desfire_aes_key_new_with_version (const uint8_t value[16], uint8_t version,desfirekey_t key);
17uint8_t Desfire_key_get_version (desfirekey_t key);
18void Desfire_key_set_version (desfirekey_t key, uint8_t version);
19void Desfire_session_key_new (const uint8_t rnda[], const uint8_t rndb[], desfirekey_t authkey, desfirekey_t key);
f38a1528 20#endif
Impressum, Datenschutz