mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-12-29 11:52:59 +08:00
Forgot new file...
This commit is contained in:
parent
b63dcb707e
commit
4b88c71e39
1 changed files with 18 additions and 0 deletions
18
include/desfire.h
Normal file
18
include/desfire.h
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
#ifndef __DESFIRE_H
|
||||||
|
#define __DESFIRE_H
|
||||||
|
|
||||||
|
#include "common.h"
|
||||||
|
|
||||||
|
#define DESFIRE_MAX_CRYPTO_BLOCK_SIZE 16
|
||||||
|
#define DESFIRE_MAX_KEY_SIZE 24
|
||||||
|
#define DESFIRE_MAC_LENGTH 4
|
||||||
|
#define DESFIRE_CMAC_LENGTH 8
|
||||||
|
|
||||||
|
typedef enum {
|
||||||
|
T_DES = 0x00,
|
||||||
|
T_3DES = 0x01, //aka 2K3DES
|
||||||
|
T_3K3DES = 0x02,
|
||||||
|
T_AES = 0x03
|
||||||
|
} DesfireCryptoAlgorithm;
|
||||||
|
|
||||||
|
#endif
|
Loading…
Reference in a new issue