1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-16 11:48:15 +00:00

cosmetic fix: some fixed typos e.g. to -> too

This commit is contained in:
philsmd 2016-01-19 20:47:18 +01:00
parent decdbc2a07
commit e1ae2538c6
2 changed files with 19 additions and 19 deletions

View File

@ -1103,9 +1103,9 @@ void status_display ()
// not get new candidates it idles around but speed display would
// show it as working.
// if we instantly set it to 0 after reading it happens that the
// speed can be shown as zero if the users refreshs to fast.
// speed can be shown as zero if the users refreshes too fast.
// therefore, we add a timestamp when a stat was recorded and if its
// to old we will not use it
// too old we will not use it
speed_cnt[device_id] = 0;
speed_ms[device_id] = 0;
@ -14228,7 +14228,7 @@ int main (int argc, char **argv)
int engine_clock_profile_max = od_clock_mem_status[device_id].state.aLevels[1].iEngineClock;
int memory_clock_profile_max = od_clock_mem_status[device_id].state.aLevels[1].iMemoryClock;
// warning if profile has to low max values
// warning if profile has too low max values
if ((engine_clock_max - engine_clock_profile_max) > warning_trigger_engine)
{

View File

@ -2661,9 +2661,9 @@ int hm_get_adapter_index_nv (HM_ADAPTER_NV nvGPUHandle[DEVICES_MAX])
{
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++;
}
@ -5202,7 +5202,7 @@ cl_device_type setup_device_types_filter (char *opencl_device_types)
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;
}
@ -6064,7 +6064,7 @@ void ascii_digest (char out_buf[4096], uint salt_pos, uint digest_pos)
}
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]);
@ -6080,7 +6080,7 @@ void ascii_digest (char out_buf[4096], uint salt_pos, uint digest_pos)
}
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]);
@ -6138,7 +6138,7 @@ void ascii_digest (char out_buf[4096], uint salt_pos, uint digest_pos)
}
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]);
@ -6160,7 +6160,7 @@ void ascii_digest (char out_buf[4096], uint salt_pos, uint digest_pos)
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]);
@ -6178,7 +6178,7 @@ void ascii_digest (char out_buf[4096], uint salt_pos, uint digest_pos)
}
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]);
@ -6191,7 +6191,7 @@ void ascii_digest (char out_buf[4096], uint salt_pos, uint digest_pos)
}
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]);
@ -6246,7 +6246,7 @@ void ascii_digest (char out_buf[4096], uint salt_pos, uint digest_pos)
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]);
@ -6275,7 +6275,7 @@ void ascii_digest (char out_buf[4096], uint salt_pos, uint digest_pos)
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]);
@ -6290,7 +6290,7 @@ void ascii_digest (char out_buf[4096], uint salt_pos, uint digest_pos)
}
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]);
@ -6809,7 +6809,7 @@ void ascii_digest (char out_buf[4096], uint salt_pos, uint digest_pos)
}
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]);
@ -9931,7 +9931,7 @@ int wpa_parse_hash (char *input_buf, uint input_len, hash_t *hash_buf)
/*
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)
@ -18912,7 +18912,7 @@ BOOL WINAPI sigHandler_default (DWORD sig)
/*
* 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 ();