Commit Graph
52 Commits
Author SHA1 Message Date
iceman1001 ad292e8810 unify test - step 2 2025-03-25 10:17:42 +01:00
Philippe Teuwen ad84875afd cppcheck nullPointerOutOfMemory 2025-03-24 23:46:43 +01:00
iceman1001 51ecdeb511 now uses the correct realloc pattern with testing the reallocated pointer before assigning 2024-11-15 14:10:34 +01:00
iceman1001 e162cc3953 style and text. Might need some hint for the next step when/how unhash output is used 2024-10-01 10:15:44 +02:00
iceman1001 71c86f4b21 style 2024-09-30 10:36:29 +02:00
Antiklesys f5d8ba3225 Update ikeys.c
Fixed comments and removed commented lines

Signed-off-by: Antiklesys <syselkitna@gmail.com>
2024-09-30 15:08:58 +08:00
Antiklesys 946ae5d3d6 Update ikeys.c
Removed commented lines
2024-09-30 11:39:53 +08:00
Antiklesys 0ae7e2cd68 Completed hf iclass unhash pre-image generation
Finished the pre-image generation algorithm to take in account edge scenarios based on special values of z0..z7 that return the same modulo values even tho they have different original values.
This allows the generation of more than 8 pre-images when reversing hash0, showing the full set of valid pre-images per each diversified key.
2024-09-30 11:24:32 +08:00
Antiklesys d5469d567f Added hf iclass unhash
Added hf iclass unhash based on the document "Exposing iClass Key Diversification"
The command works but only handles the "main" scenarios, retrieving only 8/512 potential hash0 pre-images.
Handling of the additional pre-images is still work in progress.
2024-09-29 21:38:20 +08:00
douniwan5788 5d66bcfd75 fix: WITH_EM4x70. Get rid of the dependency on WITH_ICLASS. 2024-08-26 20:55:58 +08:00
iceman1001 e3ceb2ffe4 const param 2024-05-14 10:10:44 +02:00
iceman1001 376bee42e8 style 2024-02-15 11:16:05 +01:00
iceman1001 482a6464a2 style. we use calloc 2024-01-07 20:47:07 +01:00
iceman1001 97e2d7f026 changed "data num" to accept -r -i parameters where it will reverse or inverse the values.\nrenamed some util functions 2023-12-07 16:44:31 +01:00
Self Not Found f05c6a1f72 Fix the types of parameters in BitstreamOut_t
BitstreamOut_t in client/src/loclass/cipherutils.h
is also used in client/src/cmddata.c for decimatioin,
but uint8_t is too small for such application
2023-01-22 07:15:47 +00:00
iceman1001 c27264e4c4 text 2022-08-22 05:49:47 +02:00
Philippe Teuwen 623169fe02 fix some CodeQL warnings 2022-02-16 20:28:38 +01:00
Philippe Teuwen 160245e0d5 fix some CodeQL warnings 2022-02-15 16:01:23 +01:00
Philippe Teuwen 30aa7aa7d1 Adapting license headers, WIP 2022-01-08 00:40:52 +01:00
iceman1001 a8ccba77d6 cppcheck fixes const 2022-01-07 19:13:24 +01:00
Philippe Teuwen 232843477c typos 2021-10-16 23:44:53 +02:00
Philippe Teuwen 9f36ce1b9d cppcheck reduce variable scopes 2021-09-05 23:42:14 +02:00
merlokk d46d23d079 make style 2021-08-25 14:44:06 +03:00
Philippe Teuwen f6d88dced2 rename typedef structs 2021-08-21 22:09:42 +02:00
iceman1001 56499a8821 fix compiler warning 2021-05-13 19:54:31 +02:00
iceman1001 3418d747d9 fix cppchecker 2021-05-07 11:58:39 +02:00
iceman1001 372a6958fa cppchecker fix, we can simplify test meanwhile 2021-04-05 19:33:25 +02:00
iceman1001 90fb78ff1b cppchecker fix 2021-01-28 21:38:30 +01:00
Philippe Teuwen 59667e5d1b make style (linux) 2020-11-29 00:28:56 +01:00
iceman1001 4bb63577c6 iclass chk / lookup / loclass - speedups 2020-11-28 13:46:16 +01:00
tcprst 448a0546b1 hf iclass sim - now use cliparser 2020-11-27 21:22:23 -05:00
iceman1001 3cb12356a2 textual 2020-11-24 12:53:29 +01:00
iceman1001 0be35a8e7e style 2020-09-07 10:35:09 +02:00
iceman1001 bf3f2da73d link in file 2020-08-29 17:27:55 +02:00
iceman1001 cccee38597 no printf 2020-08-29 14:48:41 +02:00
iceman1001 631a4e853a no printf 2020-08-29 14:31:09 +02:00
iceman1001 927cd71ed9 use reflect fct 2020-07-06 05:43:12 +02:00
Philippe Teuwen 224cb2ffd7 make style 2020-06-08 03:15:10 +02:00
iceman1001 f61ca64681 fix clarify 2020-05-27 22:40:53 +02:00
iceman1001 12a4c5f202 fix clarify bool usage 2020-05-27 20:22:07 +02:00
Philippe Teuwen 72acec5806 Makefile & CMake rework 2020-05-25 02:15:06 +02:00
Philippe Teuwen 2ed5f1f614 iclass bf: avoid slowdown 2020-05-17 14:18:52 +02:00
iceman1001 f3b4028e8a textaul, worked return codes for tests and swaped to printandlog 2020-05-15 17:02:42 +02:00
iceman1001 ddb432ec8f textual 2020-05-15 17:00:53 +02:00
iceman1001 bddd2a9fc1 removed printvar 2020-05-14 17:17:47 +02:00
Philippe Teuwen 3529aea157 stricter warnings, wip 2020-05-03 01:13:28 +02:00
Philippe Teuwen 9358554884 stricter warnings, wip 2020-05-03 00:33:28 +02:00
Philippe Teuwen b3f84bf7b3 make style 2020-04-29 19:41:45 +02:00
iceman1001 a7ececcb5d cppcheck fix - duplicate condition 2020-04-28 22:26:16 +02:00
iceman1001 d98f8e96f4 chg: hf iclass loclass - use defines, cppchecker happy 2020-04-28 13:28:29 +02:00