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 and GitHub
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 and GitHub
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