Commit graph

49 commits

Author SHA1 Message Date
nvx
d2d6f80d11 Fix some missing frees, null dereferences and missing initialisation picked up by clang-analyzer 2024-01-16 00:22:53 +10:00
Philippe Teuwen
3aeb5c493f fix a few cppcheck warnings 2023-09-07 22:28:37 +02:00
iceman1001
24a138eeb1 fix some potential empty responses and too much inline calls 2023-08-03 08:41:11 +02:00
iceman1001
10504ae4fd text and increasing a buffer 2023-07-24 03:15:14 +02:00
iceman1001
d6142296f3 coverity 2023-07-23 23:23:45 +02:00
Roman D
e1659da755 Remove extraneous num_CPUs() calls. 2023-07-12 13:14:59 +03:00
Roman D
bce1429f60 Dynamically allocate buckets array for the hardnested bruteforce attack. 2023-07-12 13:06:07 +03:00
The-SamminAter
9f87b6dd9c Add ability to compile on iOS 2023-06-24 17:19:46 -07:00
iceman1001
d1783ce2a4 text 2023-05-27 08:49:18 +02:00
Philippe Teuwen
0a19c3e891 cppcheck remove redundant continue as last loop statement 2023-01-15 02:23:19 +01:00
iceman1001
07e5f62cab follow same pattern with assuming memory alignment 2022-07-12 08:59:21 +02:00
Doridian
fe4599fb14 Use snprintf in client/deps 2022-06-10 12:29:18 -07:00
iceman1001
8d9dd8b346 make style 2022-04-09 18:48:13 +02:00
Mark Dietzer
4f345be6e8 Make NEON build detection a bit more robust 2022-03-31 18:29:44 -07:00
Mark Dietzer
d7a652e397 Check for aarch64 as well 2022-03-29 10:25:01 -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
Doridian
c868e54734 Minimal change to utilize ARM NEON capabilities 2022-03-28 11:42:21 -07:00
Philippe Teuwen
e504cdc5f8 hardnested: Fix codeql warnings 2022-02-27 14:29:11 +01:00
iceman1001
61c9252e15 calloc 2022-01-09 00:35:43 +01:00
iceman1001
81c6918ac5 cppcheck 2022-01-06 23:25:25 +01:00
Philippe Teuwen
ebba11b3f5 make style 2022-01-06 20:05:26 +01:00
iceman1001
b3731c6003 cppcheck fixes 2022-01-06 18:18:48 +01:00
iceman1001
287a99d186 hardnested - text output adaptation 2021-11-28 21:20:13 +01:00
iceman1001
e2ed63d96b hf mf hardnested - now uses cliparser 2021-04-12 08:16:11 +02:00
iceman1001
27184d7f5b style 2021-04-08 10:44:31 +02:00
iceman1001
a769752aaf cppchecker invalid-printf 2021-02-24 17:41:12 +01:00
Anže Jenšterle
cd36770c5e
make style 2021-02-09 16:56:55 +01:00
iceman1001
05c5985073 fix #1173 - added guards 2021-01-26 10:47:55 +01:00
iceman1001
c571b1e0ad hf mf hardnested - clear these too 2021-01-25 20:59:32 +01:00
iceman1001
2305411a1d hf mf hardnested - added missing init 2021-01-25 19:38:47 +01:00
iceman1001
078a28550f hf mf hardnested - these are called with u16 in the source 2021-01-25 14:28:47 +01:00
Philippe Teuwen
eadacd82f5 SWIG experiments
Squash of the following commits (a full rebase was too hard :( )
* ef309cfdf N - SWIG: create pm3.c (5 months ago)  <Philippe Teuwen>
* 05ba6a73f N - swig pm3_device -> pm3 (5 months ago)  <Philippe Teuwen>
* d59630183 N - swig: move pm3.i (5 months ago)  <Philippe Teuwen>
* 6adcfad75 N - Fix historic make & cmake (5 months ago)  <Philippe Teuwen>
* bcbef2edf N - Fix typo with script_embedded (5 months ago)  <slurdge>
* 538ee4dab N - Better SWIG integration: autogen func & attributes (5 months ago)  <slurdge>
* 756b62466 N - SWIG: few helper scripts (5 months ago)  <Philippe Teuwen>
* 47ba4acd0 N - SWIG %extend (5 months ago)  <Philippe Teuwen>
* 21841cb9d N - simplify scripts (5 months ago)  <Philippe Teuwen>
* 78c4f7929 N - Revert "SWIG experiments: introduce context" (5 months ago)  <Philippe Teuwen>
* 1562b75fc N - SWIG experiments: introduce context (5 months ago)  <Philippe Teuwen>
* a503dfcd9 N - SWIG experiments (5 months ago)  <Philippe Teuwen>
2020-11-10 23:27:21 +01:00
iceman1001
a659e24064 text 2020-10-06 23:20:50 +02:00
iceman1001
dfaba2ee8c no printf 2020-08-29 16:15:04 +02:00
iceman1001
422e018718 cppcheck 2020-06-02 12:56:20 +02:00
Philippe Teuwen
ffdd338dea make style 2020-05-14 01:04:26 +02:00
Philippe Teuwen
66fd6d70a0 hardnested: more readable preprocessing 2020-05-12 13:26:16 +02:00
Philippe Teuwen
2819792f8e Revert "fix osx"
This reverts commit 09903384fa.
2020-05-12 00:27:21 +02:00
Philippe Teuwen
d2f9fb6084 fix hardnested switch-enum 2020-05-12 00:26:55 +02:00
iceman1001
09903384fa fix osx 2020-05-12 00:25:44 +02:00
Philippe Teuwen
b46a99d7d7 remove switch-enum warnings 2020-05-11 23:50:14 +02:00
Philippe Teuwen
0e39cb8e34 stricter warnings, wip 2020-05-02 23:54:27 +02:00
Philippe Teuwen
07f41da74d fix coverity 226490 even if in practice next_common_bits is never > 7 2020-04-29 20:11:43 +02:00
iceman1001
85f2233161 coverity fix 226496 226492 226490 2020-04-29 17:27:17 +02:00
Philippe Teuwen
ebd476a9c5 hardnested make: fix default compiler 2020-04-24 21:45:46 +02:00
Philippe Teuwen
fbe4e20326 remove c99 and c++11 restrictions 2020-04-24 16:43:21 +02:00
Philippe Teuwen
c2ff11f321 hardnested compilation reorganized to be similar with cmake approach 2020-04-18 19:41:14 +02:00
Bjoern Kerler
81bc0bc2b9 Reorder client src directories 2020-04-16 10:53:24 +02:00