Jens Steube
f1cd53e335
Globally fix return parameter handling to not use brackets
8 years ago
Jens Steube
6ba0eb8b39
Get rid of exit() calls in OpenCL wrapper library with the goal to have a better control which error can be ignored under special circumstances
...
Note, not all return codes from some of the subfunctions are uset yet, it would be too much changes at once
This is a preparation for https://github.com/hashcat/hashcat/issues/416
8 years ago
jsteube
49f693a1c9
Replace LINUX macro with compiler predefined macro __linux__
8 years ago
jsteube
96f2ade4bb
Replace DARWIN macro with __APPLE__
...
As discussed on https://github.com/hashcat/hashcat/pull/409
8 years ago
Jens Steube
d77c63a12c
Merge branch 'master' of https://github.com/hashcat/hashcat
8 years ago
Jens Steube
5909bbb7b7
Make use of cl_context_properties[] to clCreateContext(), even if OpenCL specification allow the use of NULL, some runtimes fail without
8 years ago
Nikolai Lifanov
1a3b610601
add tty handling for FreeBSD
8 years ago
Nikolai Lifanov
a2663fb93a
include the right cl.h on FreeBSD
8 years ago
Moritz Kick
69122fb554
Make linux-build POSIX compatible
...
Also allow it to actually compile on musl-libc systems.
From glibc's termio.h:
/* Compatible <termio.h> for old `struct termio' ioctl interface.
This is obsolete; use the POSIX.1 `struct termios' interface
defined in <termios.h> instead. */
8 years ago
jsteube
8702d0e3e1
Workaround memory allocation limit from OpenCL by using multiple buffers for scrypt
8 years ago
jsteube
4ed8977e48
Dynamic tmp_t length for scrypt
8 years ago
Jens Steube
3370820109
Merge pull request #392 from unix-ninja/master
...
Various refactor changes
8 years ago
Unix-Ninja
d8bb00cf77
Make POSIX limits.h explicit declaration
8 years ago
Unix-Ninja
2188a01ae9
Refactor OSX preprocessor constants to read 'DARWIN'
8 years ago
jsteube
115c95eb02
Use dedicated variables to control shutdown of parallel threads like keypress and monitoring
8 years ago
jsteube
0e68b2af25
Don't use device_processor_cores for scrypt
8 years ago
jsteube
6191e8bf79
Fix reset to automatic for NvAPI
8 years ago
jsteube
49811cfee1
Set fanspeed to automatic on shutdown
...
Increase retain temperature from 65c to 75c; Because GTX1080 hits its reference boost clocks of 1733mhz at 80c
8 years ago
Jens Steube
e7df9b112a
windows path update
8 years ago
Unix-Ninja
fce2363fec
Clean end-of-line output usage (not actually POSIX)
8 years ago
Jens Steube
1550b9de07
OSX didn't know about MAX_PATH, had to include limits.h; Use heap not stack memory
8 years ago
Jens Steube
6d2aa559a6
Windows doesn't accept escape characters, falling back to old method for windows
8 years ago
Jens Steube
268b1e3ad0
Remove workaround with multiple include folders; Instead use a naive escape function
8 years ago
Jens Steube
8298cd4926
Drop -m 190, no reason to keep it
8 years ago
jsteube
4444c17ec6
Speed up startup time for --stdout by using an empty kernel
8 years ago
jsteube
07acd52ed4
Some optical change on startup
8 years ago
jsteube
d57ac912cc
Fix https://github.com/hashcat/oclHashcat/issues/374
...
Fix https://github.com/hashcat/oclHashcat/issues/375
8 years ago
jsteube
2bd49e6720
Added --gpu-temp-retain support for windows through nvapi
8 years ago
jsteube
9a970c0955
Added support for XNVCTRL on Linux to add support for --gpu-temp-retain for NVidia GPU
8 years ago
jsteube
28505c350b
Add commandline support to override cpu spinning damper for nvidia runtime
8 years ago
jsteube
5542e46022
Added option --stdout to print candidates instead of trying to crack a hash
8 years ago
Jens Steube
4f0709b3c9
Another slow-hash improvement
8 years ago
jsteube
d275772b9f
Fix for 100% CPU burning loop workaround for slow hashes
8 years ago
jsteube
8abc42e346
Simple, but effective workaround to solve the 100% CPU burning loop bug in Nvidias OpenCL runtime, works Linux and Windows, 0% cpu (alsmost), 100% performance in comparison to CPU burning loop variant. Replaces old previous try with overwritten clock_gettime() function
8 years ago
Jens Steube
3022abf956
some axcrypt fixes
8 years ago
jsteube
b9eefd9b20
Added new hash-mode 13800 = Windows 8+ phone PIN/Password
8 years ago
jsteube
106e781a2f
Fix some workload balancing issue
8 years ago
jsteube
829289b109
Fix calling conventions for external libraries (mingw doesn't handle it alone); Fix first print of PROMPT after autotune;
8 years ago
jsteube
2e706edc18
Do not show *throttle* in status display if the reason is unknown
8 years ago
jsteube
3e30b62bf6
Remove some ugly code from nvapi.h
8 years ago
jsteube
08934db58c
Add NvAPI_GPU_GetPerfPoliciesInfo() and NvAPI_GPU_GetPerfPoliciesStatus() for later use
8 years ago
jsteube
a3e6690a9c
Remove union in hm_attrs_t; Remove code related to threshold_slowdown which will be replaced with NvGetPerfPoliciesInfo()
8 years ago
jsteube
040bbd416a
More nvapi preparations and display skip reason in benchmark
8 years ago
jsteube
34bcbb3091
Prepare for reintegration of nvapi for checking thermal limit
8 years ago
jsteube
3c6296801a
Prepare for reintegration of nvapi for checking thermal limit
8 years ago
Jens Steube
7ba1322d7f
Redesign some of the kernel_power features like too small wordlist detection etc, now based on autotuning results
8 years ago
jsteube
d329451cc1
Here it is: --powertune-enable for nvidia -- Works on both linux and windows
8 years ago
jsteube
a23c0c4716
Added a ton of new NVML stuff
8 years ago
jsteube
d89a8a68d6
Finally got rid of NvAPI on Windows, replace with NVML
8 years ago
jsteube
19e36694da
Added support for --gpu-temp-retain for nvidia devices on windows
...
Disabled retain support by default, you can reactive it using --gpu-temp-retain
Completely get rid of HAVE_ADL, HAVE_NVML and HAVE_NVAPI in sources
8 years ago