]> git.zerfleddert.de Git - proxmark3-svn/blob - armsrc/desfire_key.h
chg: travis ci again
[proxmark3-svn] / armsrc / desfire_key.h
1 #ifndef __DESFIRE_KEY_INCLUDED
2 #define __DESFIRE_KEY_INCLUDED
3
4 #include <stdlib.h>
5 #include <stdint.h>
6 #include "desfire.h"
7 #include "iso14443a.h" //test
8 void Desfire_des_key_new (const uint8_t value[8], desfirekey_t key);
9 void Desfire_3des_key_new (const uint8_t value[16], desfirekey_t key);
10 void Desfire_des_key_new_with_version (const uint8_t value[8], desfirekey_t key);
11 void Desfire_3des_key_new_with_version (const uint8_t value[16], desfirekey_t key);
12 void Desfire_3k3des_key_new (const uint8_t value[24], desfirekey_t key);
13 void Desfire_3k3des_key_new_with_version (const uint8_t value[24], desfirekey_t key);
14 void Desfire_aes_key_new (const uint8_t value[16], desfirekey_t key);
15 void Desfire_aes_key_new_with_version (const uint8_t value[16], uint8_t version,desfirekey_t key);
16 uint8_t Desfire_key_get_version (desfirekey_t key);
17 void Desfire_key_set_version (desfirekey_t key, uint8_t version);
18 void Desfire_session_key_new (const uint8_t rnda[], const uint8_t rndb[], desfirekey_t authkey, desfirekey_t key);
19 #endif
Impressum, Datenschutz