From 115e85e5d4a6bcc551b9329597f34c4a562be00d Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Mon, 2 Oct 2023 21:01:08 +0200 Subject: [PATCH] missing defines --- client/src/mifare/mifaredefault.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/client/src/mifare/mifaredefault.h b/client/src/mifare/mifaredefault.h index 7bb7e144a..f399bb7b0 100644 --- a/client/src/mifare/mifaredefault.h +++ b/client/src/mifare/mifaredefault.h @@ -21,10 +21,13 @@ #include "common.h" +#define DES_KEY_LEN 8 #define AES_KEY_LEN 16 +#define T2DES_KEY_LEN 16 +#define T3DES_KEY_LEN 24 + #define MAX_AES_KEYS_LIST_LEN 1024 -#define MFKEY_SIZE 6 #define MFBLOCK_SIZE 16 #define MIFARE_4K_MAXBLOCK 256