Add initial support for ST25TN and its signature verification

This commit is contained in:
Philippe Teuwen committed 2024-12-15 17:14:41 +01:00
1 parent 67ee460137
commit be79654eb9
7 files changed
+112 -35

No files matched your search

+6 -2
View File
@@ -2680,8 +2680,12 @@ int infoHF14A(bool verbose, bool do_nack_test, bool do_aid_search) {
PrintAndLogEx(HINT, "Hint: try `" _YELLOW_("hf mfdes info") "`");
}
if ((isST) && (card.ats_len >= 0)) {
PrintAndLogEx(HINT, "Hint: try `" _YELLOW_("hf st25ta info") "`");
if (isST) {
if (card.ats_len > 0) {
PrintAndLogEx(HINT, "Hint: try `" _YELLOW_("hf st25ta info") "`");
} else {
PrintAndLogEx(HINT, "Hint: try `" _YELLOW_("hf mfu info") "`");
}
}
if (isEMV) {