Commit Graph

20999 Commits

Author SHA1 Message Date
Iceman 8302d46e64 Merge pull request #3066 from aaronjamt/patch-1
[hf seos] Another minor bugfix
2025-12-24 09:58:50 +01:00
Aaron Tulino (Aaronjamt) 08f7e0d45a Another minor bugfix 2025-12-23 22:51:29 -07:00
Iceman 50a55c21ae Merge pull request #3065 from aaronjamt/patch-minor-cleanup
[hf seos] Minor cleanup
2025-12-23 23:31:01 +01:00
Aaron Tulino (Aaronjamt) e2bd1444fb Further optimization
Make SHA256 output directly into the final output buffer and make the first SHA1 do the same. The second SHA1 needs an intermediate buffer as it outputs 20 bytes but we only need the first 12.
2025-12-23 14:43:14 -07:00
Iceman 8a1c61d083 Merge pull request #3064 from aaronjamt/patch-fix-3063
Fix #3063
2025-12-23 19:59:28 +01:00
Aaron Tulino (Aaronjamt) 6da3dc3798 [hf seos] Minor cleanup 2025-12-23 11:02:09 -07:00
Aaron Tulino (Aaronjamt) 3a931fb320 Fix #3063 2025-12-23 10:52:27 -07:00
Iceman 6f55a8a9c0 Merge pull request #3060 from aaronjamt/patch-seos-emu-client
[hf seos] Simulate support (2/2)
2025-12-23 11:07:33 +01:00
Iceman 11a5d5d4d9 Merge pull request #3062 from aaronjamt/patch-reduce-arrays
[hf seos] Reduce array usages
2025-12-23 11:06:20 +01:00
Aaron Tulino (Aaronjamt) 53306abd5e Reduce array usages in Seos simulation 2025-12-22 17:53:32 -07:00
Iceman 32aca67b60 Merge pull request #3061 from aaronjamt/patch-synth-iv
[hf seos] Validate synthesized IV
2025-12-22 23:23:42 +01:00
Aaron Tulino (Aaronjamt) f1e6e49484 No more rand() 2025-12-22 15:21:47 -07:00
Aaron Tulino (Aaronjamt) e771408b33 Split single-line ifs 2025-12-22 15:20:30 -07:00
Aaron Tulino (Aaronjamt) 9969e23d98 Remove debug messages 2025-12-22 15:19:31 -07:00
Aaron Tulino (Aaronjamt) 17dfd50907 Update CHANGELOG.md 2025-12-22 15:10:53 -07:00
Aaron Tulino (Aaronjamt) 722a8aac8c [hf seos] Simulate client support 2025-12-22 15:10:51 -07:00
Iceman b4a9a7b522 Merge pull request #3058 from aaronjamt/patch-seos-emu-arm
[hf seos] Simulate support (1/2)
2025-12-22 23:07:53 +01:00
Aaron Tulino (Aaronjamt) d54659370b [hf seos] Validate synthesized IV
Also adds missing return value checks
2025-12-22 14:38:46 -07:00
Aaron Tulino (Aaronjamt) b7f9e3c41d Correct ATS in iso14443a
Turns out, at least for HID RevE readers, the ATS value must specify FSC=256 or it won't read.
2025-12-22 14:11:59 -07:00
Aaron Tulino (Aaronjamt) 262e5d900c Fix compiler errors 2025-12-22 14:08:54 -07:00
Aaron Tulino (Aaronjamt) 1c0eea2985 Use shared work buffers 2025-12-22 14:04:12 -07:00
Iceman 5ba00920a5 Merge pull request #3059 from aaronjamt/patch-docs
Update docs
2025-12-22 11:01:18 +01:00
Aaron Tulino (Aaronjamt) e0fd7414c2 Update docs 2025-12-21 20:55:26 -07:00
Aaron Tulino (Aaronjamt) 223883dfe2 Avoid division on ARM side 2025-12-21 17:26:43 -07:00
Aaron Tulino (Aaronjamt) c0e82539f2 [hf seos] Simulate support 2025-12-21 04:26:44 -07:00
Iceman 772b0addad Merge pull request #3057 from aaronjamt/patch-seos-short-sio
[hf seos] Allow short SIO
2025-12-21 12:09:35 +01:00
Iceman 4c1195461d Merge pull request #3056 from aaronjamt/patch-rotr-conflict
Fix `ROTR` conflict
2025-12-21 12:08:56 +01:00
Aaron Tulino (Aaronjamt) 32f1e4b51c [hf seos] Allow short SIO 2025-12-21 03:55:28 -07:00
Aaron Tulino (Aaronjamt) 2197d9fc9f Fix ROTR conflict 2025-12-21 03:49:45 -07:00
Iceman 16ebc6c7f7 Merge pull request #3055 from aaronjamt/patch-cmac-padding
Fix CMAC padding for ARM
2025-12-21 11:00:07 +01:00
Aaron Tulino (Aaronjamt) 41670bef6a Fix CMAC padding for ARM 2025-12-21 02:58:56 -07:00
Iceman 8f6dd60029 Merge pull request #3054 from aaronjamt/patch-3des-cmac
Add 3DES CMAC for ARM
2025-12-21 10:47:42 +01:00
Aaron Tulino (Aaronjamt) 63fc2b415d Add 3DES CMAC for ARM 2025-12-21 00:34:11 -07:00
Iceman fee7f02320 Merge pull request #3053 from aaronjamt/patch-1
[hf seos] `CommandTable` formatting
2025-12-20 22:29:50 +01:00
Aaron Tulino (Aaronjamt) f45d2798fb [hf seos] CommandTable formatting 2025-12-20 14:13:20 -07:00
Iceman 0cee5705f6 Merge pull request #3052 from aaronjamt/hex_conv_cleanup
Bytes->Hex conversions cleanup
2025-12-20 22:10:45 +01:00
Iceman 54feb3e419 Merge pull request #3051 from aaronjamt/seos_write_2
[hf seos] Add write support
2025-12-20 22:09:57 +01:00
Aaron Tulino (Aaronjamt) d7c9094cad More hex conversion cleanup
Found a few more places that can easily be switched to use `sprint_hex_inrow`
2025-12-20 13:49:05 -07:00
Aaron Tulino (Aaronjamt) d4034d4ea1 [hf seos] Cleanup OID buffer hex conversion 2025-12-20 13:48:10 -07:00
Aaron Tulino (Aaronjamt) c2880be332 Add entry to changelog 2025-12-20 13:32:58 -07:00
Aaron Tulino (Aaronjamt) 179e6c5681 [hf seos] Add write support 2025-12-20 13:32:41 -07:00
Iceman 9a800f8b39 Merge pull request #3050 from kormax/fix-cmakelists
Fix CMakeLists.txt
2025-12-19 15:13:46 +01:00
kormax 5dce150e43 Fix CMakeLists.txt 2025-12-19 14:29:55 +02:00
Iceman 4dab61815a Merge pull request #3044 from aaronjamt/patch-2
[hf seos] Make keyslot configurable
2025-12-19 12:10:54 +01:00
Iceman 42cd659b33 Merge pull request #3049 from kormax/nfc-b-polling-loop-annotations
Add polling loop annotation support for iso14443b
2025-12-19 12:09:55 +01:00
kormax 34f18a0002 Add polling loop annotation support for iso14443b 2025-12-19 09:29:31 +02:00
Aaron Tulino (Aaronjamt) dd47e10a3f Add new keyslot value in keyset 2025-12-18 15:15:37 -07:00
Iceman 2d4129a594 Merge pull request #3048 from tweathers-sec/fix/iclass-sentinel-bit-decoding
Fix iCLASS block 7 decoder to strip sentinel bit
2025-12-18 20:58:38 +01:00
Travis Weathers 61f5493f55 Fix iCLASS block 7 decoder to strip sentinel bit
When decoding iCLASS block 7 Wiegand data, the decoder was showing
incorrect bit counts (27 for 26-bit, 36 for 35-bit, etc.) because
it wasn't stripping the sentinel bit that's added during encoding.

This fix:
- Detects when binary string has sentinel bit (leading '1' making
  length one more than common formats)
- Strips the sentinel bit and recreates u96 values from corrected
  binary string
- Uses corrected length for wiegand decoding

Fixes decoding for 26-bit, 35-bit, and other formats where sentinel
bit causes incorrect format detection.
2025-12-18 14:43:15 -05:00
Iceman bcf1b57ddd Merge pull request #3026 from henrygab/safer_safelok
Safer safelok routines
2025-12-18 15:10:59 +01:00