move hitag2 crypto parts to the common folder in order to be able to use it on the client side. Some textual and minor adaptations across the bord

This commit is contained in:
iceman1001 committed 2024-03-27 09:32:00 +01:00
1 parent cdc46d5d2b
commit 700d558432
17 files changed
+185 -117

No files matched your search

+3 -1
View File
@@ -26,7 +26,9 @@
#define HITAG_PASSWORD_SIZE 4
#define HITAG_UID_SIZE 4
#define HITAG_BLOCK_SIZE 4
#define HITAG2_MAX_BYTE_SIZE (12 * HITAG_BLOCK_SIZE)
#define HITAG2_MAX_BLOCKS 8
#define HITAG2_MAX_BYTE_SIZE (HITAG2_MAX_BLOCKS * HITAG_BLOCK_SIZE)
// need to see which limits these cards has
#define HITAG1_MAX_BYTE_SIZE 64
#define HITAGS_MAX_BYTE_SIZE 64