iceman1001
ad292e8810
unify test - step 2
2025-03-25 10:17:42 +01:00
Philippe Teuwen
ffc185cc9e
Should fix clang-19 warning
2024-10-03 19:34:52 +02:00
douniwan5788
ef0bae7bc6
refactor: cleanup PacketResponseNG init
2024-09-24 21:06:42 +08:00
iceman1001
8d0b41a911
this commit fixes #2244 #2246 #1596 #2101 . Its kind of a big refactoring and I most likely broke something. With that said. Now: HF 15 commands now uses NG packets, hf 15 raw support -k keepfield on and -s select, hf 15 dump/rdbl/rdmulti should handle blocksizes of 4 or 8, the error messages are unified and error handling the same. Some understanding how add_option impacts response message from card. A more clear separation between PM3 flags and ISO15693 protocol flags.
2024-01-14 14:23:51 +01:00
iceman1001
482a6464a2
style. we use calloc
2024-01-07 20:47:07 +01:00
Philippe Teuwen
d97f417ee6
Fix clang warnings on increasing alignment requirements
2023-09-07 21:00:07 +02:00
iceman1001
1a788b1c14
make style
2023-07-24 17:42:27 +02:00
iceman1001
d19c9a262a
style, same name everywhere in project
2023-07-24 00:53:35 +02:00
iceman1001
24938e3ed5
remove some redundant code and fixed CID# 416023 with resource leak
2023-07-17 11:21:29 +02:00
iceman1001
b36d5fa04d
fix wrong memcpy offset
2023-07-16 09:45:35 +02:00
Philippe Teuwen
83e083100b
Bring LZ4 support for hardnested tables
...
Testing perfs on an old 8-core laptop:
BZ2 : 2 Mb, average decompression time: 5514 ms
LZ4 -9: 9 Mb, average decompression time: 837 ms
RAW : 704 Mb, average decompression time: 368 ms
Other LZ4 options don't help: -1 is slower and bigger, --favor-decSpeed does not do anything
To enable:
apt install liblz4-dev
cd client/resources/hardnested_tables
for i in *bz2; do bunzip2 $i; lz4 -9 --rm ${i%.bz2}; done
2023-07-15 22:58:00 +02:00
iceman1001
5f8cd5caca
make style
2023-07-14 18:34:14 +02:00
Roman D
b708332ea3
Eliminate extraneous num_CPUs() calls
2023-07-12 10:55:27 +03:00
Roman D
57945c5213
Implement uncompressed hardnested tables loader
2023-07-11 19:04:15 +03:00
iceman1001
97eb0238b1
style
2023-06-02 10:45:04 +02:00
iceman1001
5c604de4c1
adapt hardnested bitflip arrays to load
2023-05-27 10:26:30 +02:00
iceman1001
a62811ae69
hf mf hardnested, now indicates if it failed when recovering key
2023-05-26 05:10:37 +02:00
iceman1001
173841b533
fix CID #405231 - resource leak
2023-03-04 20:14:09 +01:00
iceman1001
317ddf42bc
style
2022-11-20 16:47:49 +01:00
iceman1001
fede61296b
fix return types to follow our style better. 14a/mf needs more love
2022-11-02 14:34:07 +01:00
iceman1001
372ab2af98
style
2022-06-12 11:51:50 +02:00
Doridian
2aa524be94
below 250...
2022-06-11 12:02:48 -07:00
Mark Dietzer
436bfff41e
rename COMPILER_HAS_SIMD to COMPILER_HAS_SIMD_X86
2022-03-29 07:32:11 -07:00
Doridian
62704db5ed
Add very basic feature flagging for NEON
2022-03-28 23:06:40 -07:00
Philippe Teuwen
72ec7bf27b
fix some CodeQL warnings
2022-02-16 22:23:24 +01:00
Philippe Teuwen
5a4584358c
make style
2022-01-09 14:10:26 +01:00
iceman1001
073b47d480
fix to handle when first_byte_sum does not find a match in the possible sums array. ie, leads to a crash
2022-01-09 13:39:37 +01:00
Philippe Teuwen
30aa7aa7d1
Adapting license headers, WIP
2022-01-08 00:40:52 +01:00
iceman1001
0b4d584dd7
cppcheck fixes
2022-01-06 20:49:35 +01:00
iceman1001
287a99d186
hardnested - text output adaptation
2021-11-28 21:20:13 +01:00
iceman1001
d2646122e7
style
2021-04-16 17:10:08 +02:00
iceman1001
0290efb25e
hf mf hardnest - init all values (Thanks @doegox)
2021-04-12 16:18:24 +02:00
iceman1001
59cd54e178
cppchecker
2021-02-23 23:04:47 +01:00
iceman1001
99dcb8122a
cppchecker
2021-02-23 23:04:43 +01:00
Philippe Teuwen
6a13a0c349
hardnested: one more init
2021-01-26 01:07:32 +01:00
Philippe Teuwen
658a62f761
hardnested: add missing init, fixing some segfault
2021-01-25 23:48:19 +01:00
iceman1001
20fccb16aa
hf mf hardnested - changed to calloc, and some text
2021-01-25 22:12:17 +01:00
iceman1001
77d51cae38
hf mf hardnested - just making sure its cleared
2021-01-25 20:55:28 +01:00
iceman1001
ba8cd68942
hf mf hardnested - NUM_SUMS is 19, making loop iterator smaller
2021-01-25 14:31:17 +01:00
Philippe Teuwen
55fa5e7c35
make style
2020-10-11 22:40:05 +02:00
iceman1001
26f7f07120
mem leak out of bounds
2020-10-06 21:35:40 +02:00
iceman1001
ae8be54fca
clean
2020-07-06 05:43:38 +02:00
Philippe Teuwen
15012198f9
client: replace zlib by bzip2
2020-06-08 02:50:43 +02:00
Philippe Teuwen
447105511a
less global vars
2020-06-02 00:51:42 +02:00
Philippe Teuwen
72acec5806
Makefile & CMake rework
2020-05-25 02:15:06 +02:00
Philippe Teuwen
66fd6d70a0
hardnested: more readable preprocessing
2020-05-12 13:26:16 +02:00
Philippe Teuwen
8dcf670f72
ore hardnested switch to handle
2020-05-12 01:17:38 +02:00
Philippe Teuwen
b46a99d7d7
remove switch-enum warnings
2020-05-11 23:50:14 +02:00
Philippe Teuwen
dc8178d43e
Remove type-limits warning
2020-05-09 15:27:35 +02:00
Philippe Teuwen
58f71d97f5
silent some bad-function-cast
2020-05-04 01:18:26 +02:00