From aa35a8a1a6eca2cd3c0afe3bbb0505ff45d305bc Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Wed, 12 Mar 2025 17:40:07 +0100 Subject: [PATCH] missing defines --- client/src/cmdhflist.c | 1 + client/src/cmdhfseos.h | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/client/src/cmdhflist.c b/client/src/cmdhflist.c index 4e04819bf..d23a02507 100644 --- a/client/src/cmdhflist.c +++ b/client/src/cmdhflist.c @@ -31,6 +31,7 @@ #include "protocols.h" #include "cmdhficlass.h" #include "mifare/mifaredefault.h" // mifare consts +#include "cmdhfseos.h" enum MifareAuthSeq { masNone, diff --git a/client/src/cmdhfseos.h b/client/src/cmdhfseos.h index f1dfe99a0..46ce3d32e 100644 --- a/client/src/cmdhfseos.h +++ b/client/src/cmdhfseos.h @@ -21,6 +21,12 @@ #include "common.h" +#define SEOS_ENCRYPTION_2K3DES 0x02 +#define SEOS_ENCRYPTION_3K3DES 0x03 +#define SEOS_ENCRYPTION_AES 0x09 + +#define SEOS_HASHING_SHA1 0x06 +#define SEOS_HASHING_SHA256 0x07 int infoSeos(bool verbose); int CmdHFSeos(const char *Cmd); int seos_kdf(bool encryption, uint8_t *masterKey, uint8_t keyslot,