{
if (hc_NVML_nvmlDeviceGetHandleByIndex (data.hm_dll_nv, 1, i, &nvGPUHandle[i]) != NVML_SUCCESS) break;
- //can be used to determine if the device by index matches the cuda device by index
- //char name[100]; memset (name, 0, sizeof (name));
- //hc_NVML_nvmlDeviceGetName (data.hm_dll_nv, nvGPUHandle[i], name, sizeof (name) - 1);
+ // can be used to determine if the device by index matches the cuda device by index
+ // char name[100]; memset (name, 0, sizeof (name));
+ // hc_NVML_nvmlDeviceGetName (data.hm_dll_nv, nvGPUHandle[i], name, sizeof (name) - 1);
pGpuCount++;
}
else
{
// Do not use CPU by default, this often reduces GPU performance because
- // the CPU is to busy to handle GPU synchronization
+ // the CPU is too busy to handle GPU synchronization
device_types_filter = CL_DEVICE_TYPE_ALL & ~CL_DEVICE_TYPE_CPU;
}
}
else if (hash_mode == 101)
{
- // the encoder is a bit to intelligent, it expects the input data in the wrong BOM
+ // the encoder is a bit too intelligent, it expects the input data in the wrong BOM
digest_buf[0] = byte_swap_32 (digest_buf[0]);
digest_buf[1] = byte_swap_32 (digest_buf[1]);
}
else if (hash_mode == 111)
{
- // the encoder is a bit to intelligent, it expects the input data in the wrong BOM
+ // the encoder is a bit too intelligent, it expects the input data in the wrong BOM
digest_buf[0] = byte_swap_32 (digest_buf[0]);
digest_buf[1] = byte_swap_32 (digest_buf[1]);
}
else if (hash_mode == 133)
{
- // the encoder is a bit to intelligent, it expects the input data in the wrong BOM
+ // the encoder is a bit too intelligent, it expects the input data in the wrong BOM
digest_buf[0] = byte_swap_32 (digest_buf[0]);
digest_buf[1] = byte_swap_32 (digest_buf[1]);
memset (tmp_buf, 0, sizeof (tmp_buf));
- // the encoder is a bit to intelligent, it expects the input data in the wrong BOM
+ // the encoder is a bit too intelligent, it expects the input data in the wrong BOM
digest_buf[0] = byte_swap_32 (digest_buf[0]);
digest_buf[1] = byte_swap_32 (digest_buf[1]);
}
else if (hash_mode == 400)
{
- // the encoder is a bit to intelligent, it expects the input data in the wrong BOM
+ // the encoder is a bit too intelligent, it expects the input data in the wrong BOM
digest_buf[0] = byte_swap_32 (digest_buf[0]);
digest_buf[1] = byte_swap_32 (digest_buf[1]);
}
else if (hash_mode == 500)
{
- // the encoder is a bit to intelligent, it expects the input data in the wrong BOM
+ // the encoder is a bit too intelligent, it expects the input data in the wrong BOM
digest_buf[0] = byte_swap_32 (digest_buf[0]);
digest_buf[1] = byte_swap_32 (digest_buf[1]);
memset (tmp_buf, 0, sizeof (tmp_buf));
- // the encoder is a bit to intelligent, it expects the input data in the wrong BOM
+ // the encoder is a bit too intelligent, it expects the input data in the wrong BOM
digest_buf[0] = byte_swap_32 (digest_buf[0]);
digest_buf[1] = byte_swap_32 (digest_buf[1]);
memset (tmp_buf, 0, sizeof (tmp_buf));
- // the encoder is a bit to intelligent, it expects the input data in the wrong BOM
+ // the encoder is a bit too intelligent, it expects the input data in the wrong BOM
digest_buf[0] = byte_swap_32 (digest_buf[0]);
digest_buf[1] = byte_swap_32 (digest_buf[1]);
}
else if (hash_mode == 1600)
{
- // the encoder is a bit to intelligent, it expects the input data in the wrong BOM
+ // the encoder is a bit too intelligent, it expects the input data in the wrong BOM
digest_buf[0] = byte_swap_32 (digest_buf[0]);
digest_buf[1] = byte_swap_32 (digest_buf[1]);
}
else if (hash_mode == 6300)
{
- // the encoder is a bit to intelligent, it expects the input data in the wrong BOM
+ // the encoder is a bit too intelligent, it expects the input data in the wrong BOM
digest_buf[0] = byte_swap_32 (digest_buf[0]);
digest_buf[1] = byte_swap_32 (digest_buf[1]);
/*
http://www.one-net.eu/jsw/j_sec/m_ptype.html
The phrase "Pairwise key expansion"
- Access Point Address (Referred to as Authenticator Address AA)
+ Access Point Address (referred to as Authenticator Address AA)
Supplicant Address (referred to as Supplicant Address SA)
Access Point Nonce (referred to as Authenticator Anonce)
Wireless Device Nonce (referred to as Supplicant Nonce Snonce)
/*
* special case see: https://stackoverflow.com/questions/3640633/c-setconsolectrlhandler-routine-issue/5610042#5610042
* if the user interacts w/ the user-interface (GUI/cmd), we need to do the finalization job within this signal handler
- * function otherwise it is to late (e.g. after returning from this function)
+ * function otherwise it is too late (e.g. after returning from this function)
*/
myabort ();