From ea3d6ea39e1e950b7b9232e7b75d26607fca22dd Mon Sep 17 00:00:00 2001 From: kormax <3392860+kormax@users.noreply.github.com> Date: Mon, 23 Mar 2026 20:24:20 +0200 Subject: [PATCH] Remove unused code; add comment names to AID values --- client/src/cmdhfseos.c | 8 ++------ client/src/cmdhfseos.h | 1 - 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/client/src/cmdhfseos.c b/client/src/cmdhfseos.c index d5f1bf8ef..1d54a7c16 100644 --- a/client/src/cmdhfseos.c +++ b/client/src/cmdhfseos.c @@ -101,8 +101,8 @@ static const known_algo_t known_algorithm_map[] = { }; static const char *known_seos_aids[] = { - "A0000004400001010001", - "A000000382002D000101", + "A0000004400001010001", // STANDARD_SEOS + "A000000382002D000101", // MOBILE_SEOS_ADMIN_CARD }; static int seos_get_custom_aid(CLIParserContext *ctx, int arg_index, uint8_t *aid, int *aid_len) { @@ -1594,10 +1594,6 @@ static int seos_load_keys(char *filename) { return PM3_SUCCESS; } -int infoSeos(bool verbose) { - return seos_select(NULL, 0); -} - static int CmdHfSeosInfo(const char *Cmd) { CLIParserContext *ctx; CLIParserInit(&ctx, "hf seos info", diff --git a/client/src/cmdhfseos.h b/client/src/cmdhfseos.h index abc7f7239..fd31008d9 100644 --- a/client/src/cmdhfseos.h +++ b/client/src/cmdhfseos.h @@ -22,7 +22,6 @@ #include "common.h" #include "seos_cmd.h" -int infoSeos(bool verbose); int CmdHFSeos(const char *Cmd); int seos_kdf(bool encryption, uint8_t *masterKey, uint8_t keyslot, uint8_t *adfOid, size_t adfoid_len, uint8_t *diversifier, uint8_t diversifier_len, uint8_t *out, int encryption_algorithm, int hash_algorithm);