mirror of
https://github.com/hashcat/hashcat.git
synced 2024-12-24 23:48:39 +00:00
Merge branch 'master' of https://github.com/hashcat/hashcat
This commit is contained in:
commit
94b565262a
@ -25,6 +25,7 @@
|
|||||||
## Improvements
|
## Improvements
|
||||||
##
|
##
|
||||||
|
|
||||||
|
- OpenCL Runtime: Updated AMD ROCm driver version check, warn if version < 1.1
|
||||||
- WPA cracking: Improved nonce-error-corrections mode to use a both positive and negative corrections
|
- WPA cracking: Improved nonce-error-corrections mode to use a both positive and negative corrections
|
||||||
|
|
||||||
* changes v3.5.0 -> v3.6.0:
|
* changes v3.5.0 -> v3.6.0:
|
||||||
|
@ -3295,8 +3295,15 @@ int opencl_ctx_devices_init (hashcat_ctx_t *hashcat_ctx, const int comptime)
|
|||||||
{
|
{
|
||||||
bool amd_warn = true;
|
bool amd_warn = true;
|
||||||
|
|
||||||
|
const char *t1 = strstr (device_param->driver_version, "(HSA,LC)");
|
||||||
|
const char *t2 = strstr (device_param->driver_version, "(PAL,LC)");
|
||||||
|
const char *t3 = strstr (device_param->driver_version, "(PAL,HSAIL)");
|
||||||
|
const char *t4 = strstr (device_param->driver_version, "(HSA, LC)");
|
||||||
|
const char *t5 = strstr (device_param->driver_version, "(PAL, LC)");
|
||||||
|
const char *t6 = strstr (device_param->driver_version, "(PAL, HSAIL)");
|
||||||
|
|
||||||
#if defined (__linux__)
|
#if defined (__linux__)
|
||||||
if (strstr (device_param->driver_version, "(HSA,LC)") == NULL)
|
if ((t1 == NULL) && (t2 == NULL) && (t3 == NULL) && (t4 == NULL) && (t5 == NULL) && (t6 == NULL))
|
||||||
{
|
{
|
||||||
// AMDGPU-PRO Driver 16.40 and higher
|
// AMDGPU-PRO Driver 16.40 and higher
|
||||||
if (atoi (device_param->driver_version) >= 2117) amd_warn = false;
|
if (atoi (device_param->driver_version) >= 2117) amd_warn = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user