chg: optimization of iclass mac calculations on deviceside (@pwpiwi) see https://github.com/Proxmark/proxmark3/pull/861

chg: some textual
This commit is contained in:
iceman1001 committed 2019-08-27 10:51:52 +02:00
1 parent 1e648088b1
commit 48d3802d35
5 files changed
+125 -93

No files matched your search

+1 -1
View File
@@ -475,7 +475,7 @@ int calculateMasterKey(uint8_t first16bytes[], uint64_t master_key[]) {
memcpy(master_key, key64, 8);
if (memcmp(z_0, result, 4) != 0) {
PrintAndLogEx(WARNING, "Failed to verify calculated master key (k_cus)! Something is wrong.");
PrintAndLogEx(WARNING, _RED_("Failed to verify") "calculated master key (k_cus)! Something is wrong.");
return 1;
} else {
PrintAndLogEx(NORMAL, "\n");