mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-03-01 18:45:10 +08:00
CHG: moved to header file
This commit is contained in:
parent
00e524aaf5
commit
995c94dc03
3 changed files with 6 additions and 6 deletions
|
@ -2,10 +2,8 @@
|
|||
#define __DESFIRE_CRYPTO_H
|
||||
|
||||
#include <string.h>
|
||||
//#include <strings.h>
|
||||
#include <stdarg.h>
|
||||
#include "printf.h"
|
||||
|
||||
#include "iso14443a.h"
|
||||
#include "../common/desfire.h"
|
||||
#include "des.h"
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
*
|
||||
* $Id$
|
||||
*/
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "desfire_key.h"
|
||||
|
||||
static inline void update_key_schedules (desfirekey_t key);
|
||||
|
|
|
@ -1,7 +1,10 @@
|
|||
#ifndef __DESFIRE_KEY_INCLUDED
|
||||
#define __DESFIRE_KEY_INCLUDED
|
||||
#include "iso14443a.h"
|
||||
// desfire_key.h
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdint.h>
|
||||
#include "desfire.h"
|
||||
#include "iso14443a.h" //test
|
||||
void Desfire_des_key_new (const uint8_t value[8], desfirekey_t key);
|
||||
void Desfire_3des_key_new (const uint8_t value[16], desfirekey_t key);
|
||||
void Desfire_des_key_new_with_version (const uint8_t value[8], desfirekey_t key);
|
||||
|
@ -13,5 +16,4 @@ void Desfire_aes_key_new_with_version (const uint8_t value[16], uint8_t versio
|
|||
uint8_t Desfire_key_get_version (desfirekey_t key);
|
||||
void Desfire_key_set_version (desfirekey_t key, uint8_t version);
|
||||
void Desfire_session_key_new (const uint8_t rnda[], const uint8_t rndb[], desfirekey_t authkey, desfirekey_t key);
|
||||
|
||||
#endif
|
Loading…
Reference in a new issue