Commit graph

34 commits

Author SHA1 Message Date
iceman1001 480d5a3241 array init 2024-05-14 11:26:16 +02:00
Alex 6947a61d98 Whitespace 2023-08-09 14:30:07 +02:00
The-SamminAter 9f87b6dd9c Add ability to compile on iOS 2023-06-24 17:19:46 -07:00
Thomas f138e54db6 fix: missing includes when building with "gcc (GCC) 11.2.1 20220127 (Red Hat 11.2.1-9)" 2023-06-22 22:34:49 +02:00
iceman1001 8f20eed914 fix CID #405232 2023-03-04 20:10:46 +01:00
iceman1001 93d7d46776 fix proxspace build 2023-02-24 20:57:42 +01:00
iceman1001 02a801f665 fix CID #404863 printing 2023-02-23 20:58:45 +01:00
iceman1001 9a2e07e1a8 should fix time_t printing issues 2023-02-23 12:33:24 +01:00
iceman1001 628140fd88 correct string formatter in sscanf 2023-02-21 16:20:34 +01:00
iceman1001 49a475899a time is 64b better to accept the same size input timestamps 2023-02-21 04:40:48 +01:00
Philippe Teuwen 8ac8e3d7d0 reduce variable scopes 2023-01-15 02:23:19 +01:00
iceman1001 8d9dd8b346 make style 2022-04-09 18:48:13 +02:00
Doridian 517ddf4bfc Fix compilation on M1 Macs 2022-03-27 11:09:44 -07:00
iceman1001 cce9edcd0f Disabling aesni detection on OSX 2022-03-27 11:05:49 +02:00
iceman1001 a98b9590c6 Disabling aesni detection on OSX 2022-03-27 11:03:13 +02:00
Philippe Teuwen 14ce85a3c7 oops again, but I blame someone else who will recognize himself ;) 2022-02-28 16:14:53 +01:00
Philippe Teuwen 17fc498786 mfd_aes_brute: add openssl include path for macports too, just in case 2022-02-28 16:13:04 +01:00
Philippe Teuwen 91df68d8cd oops typo in copy/paste 2022-02-28 16:02:13 +01:00
Philippe Teuwen 7a0148b788 Fix mfd_aes_brute compilation on OSX/brew 2022-02-28 16:01:05 +01:00
iceman1001 06ccaf555c coverity cid #386958 - tainted value 2022-02-21 21:41:11 +01:00
Philippe Teuwen c2092ee2ed make style 2022-02-17 01:41:56 +01:00
iceman1001 6d5bb3eace fix compilation 2022-02-16 22:56:38 +01:00
iceman1001 841d8e1b09 missed a file. MIT license 2022-02-16 21:58:01 +01:00
iceman1001 e17b0e43fb mfd_multi_brute, a new tool that targets all crypto modes and six different LCG 2022-02-16 21:44:06 +01:00
Philippe Teuwen 0751fbb701 Fix compilation error on mfd_aes_brute 2022-02-14 19:19:08 +01:00
merlokk 3ae9070dd8 make style 2022-02-05 13:32:50 +02:00
iceman1001 df083bffb8 remove cflags 2022-02-03 18:35:29 +01:00
İlteriş Yağıztegin Eroğlu 87400b6156 don't define _POSIX_C_SOURCE in mfd_aes_brute.c if macos
unistd.h in macos has this snippet:

 #if __DARWIN_C_LEVEL >= __DARWIN_C_FULL
 #define _SC_NPROCESSORS_CONF            57
 #define _SC_NPROCESSORS_ONLN            58
 #endif /* __DARWIN_C_LEVEL >= __DARWIN_C_FULL */

__DARWIN_C_FULL is 900000L.

If _POSIX_C_SOURCE gets defined without __DARWIN_C_SOURCE being defined,
__DARWIN_C_LEVEL will be assigned to __DARWIN_C_ANSI, which is 010000L.

Thus this definition will remove _SC_NPROCESSORS_CONF.

If we don't define _POSIX_C_SOURCE, __DARWIN_C_LEVEL will be equal to
__DARWIN_C_FULL, and _SC_NPROCESSORS_CONF will be available.

This commit also includes homebrew and macports prefix definitions for mfd_aes_brute.

Signed-off-by: İlteriş Yağıztegin Eroğlu <ilteris@asenkron.com.tr>
2022-01-31 15:41:06 +03:00
iceman1001 ce74a25d06 use macros instead 2022-01-29 15:12:42 +01:00
iceman1001 1013320aa0 osx needs to link to openssl, since it uses libressl instead 2022-01-29 11:31:18 +01:00
iceman1001 48a872bd52 string formatter 2022-01-29 11:03:30 +01:00
iceman1001 3df14034fe coverity #373452 - tainted value 2022-01-29 10:39:49 +01:00
iceman1001 5b803d2dd4 should fix thread safe call on Mingw (thanks to @gator96100) 2022-01-27 06:10:20 +01:00
iceman1001 2bac77a84f add new bruteforce tools for teleno's compasX software 2022-01-26 19:57:10 +01:00