1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-02-03 03:11:54 +00:00

Fix vector function calls

This commit is contained in:
jsteube 2017-07-31 15:28:22 +02:00
parent 50aeade65c
commit 443fa960d3
6 changed files with 16 additions and 16 deletions

View File

@ -83,7 +83,7 @@ __kernel void m05300_mxx (__global pw_t *pws, __global const kernel_rule_t *rule
md5_hmac_ctx_t ctx;
md5_hmac_init_vector_64 (&ctx, w0, w1, w2, w3);
md5_hmac_init_64 (&ctx, w0, w1, w2, w3);
md5_hmac_update_global (&ctx, ikepsk_bufs[digests_offset].msg_buf, ikepsk_bufs[digests_offset].msg_len);
@ -178,7 +178,7 @@ __kernel void m05300_sxx (__global pw_t *pws, __global const kernel_rule_t *rule
md5_hmac_ctx_t ctx;
md5_hmac_init_vector_64 (&ctx, w0, w1, w2, w3);
md5_hmac_init_64 (&ctx, w0, w1, w2, w3);
md5_hmac_update_global (&ctx, ikepsk_bufs[digests_offset].msg_buf, ikepsk_bufs[digests_offset].msg_len);

View File

@ -69,9 +69,9 @@ __kernel void m05300_mxx (__global pw_t *pws, __global const kernel_rule_t *rule
c[i] |= w[i];
}
md5_hmac_ctx_vector_t ctx0;
md5_hmac_ctx_t ctx0;
md5_hmac_init_vector (&ctx0, c, pw_len + comb_len);
md5_hmac_init (&ctx0, c, pw_len + comb_len);
md5_hmac_update_global (&ctx0, ikepsk_bufs[digests_offset].nr_buf, ikepsk_bufs[digests_offset].nr_len);
@ -101,7 +101,7 @@ __kernel void m05300_mxx (__global pw_t *pws, __global const kernel_rule_t *rule
md5_hmac_ctx_t ctx;
md5_hmac_init_vector_64 (&ctx, w0, w1, w2, w3);
md5_hmac_init_64 (&ctx, w0, w1, w2, w3);
md5_hmac_update_global (&ctx, ikepsk_bufs[digests_offset].msg_buf, ikepsk_bufs[digests_offset].msg_len);
@ -184,9 +184,9 @@ __kernel void m05300_sxx (__global pw_t *pws, __global const kernel_rule_t *rule
c[i] |= w[i];
}
md5_hmac_ctx_vector_t ctx0;
md5_hmac_ctx_t ctx0;
md5_hmac_init_vector (&ctx0, c, pw_len + comb_len);
md5_hmac_init (&ctx0, c, pw_len + comb_len);
md5_hmac_update_global (&ctx0, ikepsk_bufs[digests_offset].nr_buf, ikepsk_bufs[digests_offset].nr_len);
@ -216,7 +216,7 @@ __kernel void m05300_sxx (__global pw_t *pws, __global const kernel_rule_t *rule
md5_hmac_ctx_t ctx;
md5_hmac_init_vector_64 (&ctx, w0, w1, w2, w3);
md5_hmac_init_64 (&ctx, w0, w1, w2, w3);
md5_hmac_update_global (&ctx, ikepsk_bufs[digests_offset].msg_buf, ikepsk_bufs[digests_offset].msg_len);

View File

@ -87,7 +87,7 @@ __kernel void m05300_mxx (__global pw_t *pws, __global const kernel_rule_t *rule
md5_hmac_ctx_t ctx;
md5_hmac_init_vector_64 (&ctx, w0, w1, w2, w3);
md5_hmac_init_64 (&ctx, w0, w1, w2, w3);
md5_hmac_update_global (&ctx, ikepsk_bufs[digests_offset].msg_buf, ikepsk_bufs[digests_offset].msg_len);
@ -188,7 +188,7 @@ __kernel void m05300_sxx (__global pw_t *pws, __global const kernel_rule_t *rule
md5_hmac_ctx_t ctx;
md5_hmac_init_vector_64 (&ctx, w0, w1, w2, w3);
md5_hmac_init_64 (&ctx, w0, w1, w2, w3);
md5_hmac_update_global (&ctx, ikepsk_bufs[digests_offset].msg_buf, ikepsk_bufs[digests_offset].msg_len);

View File

@ -83,7 +83,7 @@ __kernel void m05400_mxx (__global pw_t *pws, __global const kernel_rule_t *rule
sha1_hmac_ctx_t ctx;
sha1_hmac_init_vector_64 (&ctx, w0, w1, w2, w3);
sha1_hmac_init_64 (&ctx, w0, w1, w2, w3);
sha1_hmac_update_global_swap (&ctx, ikepsk_bufs[digests_offset].msg_buf, ikepsk_bufs[digests_offset].msg_len);
@ -178,7 +178,7 @@ __kernel void m05400_sxx (__global pw_t *pws, __global const kernel_rule_t *rule
sha1_hmac_ctx_t ctx;
sha1_hmac_init_vector_64 (&ctx, w0, w1, w2, w3);
sha1_hmac_init_64 (&ctx, w0, w1, w2, w3);
sha1_hmac_update_global_swap (&ctx, ikepsk_bufs[digests_offset].msg_buf, ikepsk_bufs[digests_offset].msg_len);

View File

@ -101,7 +101,7 @@ __kernel void m05400_mxx (__global pw_t *pws, __global const kernel_rule_t *rule
sha1_hmac_ctx_t ctx;
sha1_hmac_init_vector_64 (&ctx, w0, w1, w2, w3);
sha1_hmac_init_64 (&ctx, w0, w1, w2, w3);
sha1_hmac_update_global_swap (&ctx, ikepsk_bufs[digests_offset].msg_buf, ikepsk_bufs[digests_offset].msg_len);
@ -216,7 +216,7 @@ __kernel void m05400_sxx (__global pw_t *pws, __global const kernel_rule_t *rule
sha1_hmac_ctx_t ctx;
sha1_hmac_init_vector_64 (&ctx, w0, w1, w2, w3);
sha1_hmac_init_64 (&ctx, w0, w1, w2, w3);
sha1_hmac_update_global_swap (&ctx, ikepsk_bufs[digests_offset].msg_buf, ikepsk_bufs[digests_offset].msg_len);

View File

@ -87,7 +87,7 @@ __kernel void m05400_mxx (__global pw_t *pws, __global const kernel_rule_t *rule
sha1_hmac_ctx_t ctx;
sha1_hmac_init_vector_64 (&ctx, w0, w1, w2, w3);
sha1_hmac_init_64 (&ctx, w0, w1, w2, w3);
sha1_hmac_update_global_swap (&ctx, ikepsk_bufs[digests_offset].msg_buf, ikepsk_bufs[digests_offset].msg_len);
@ -188,7 +188,7 @@ __kernel void m05400_sxx (__global pw_t *pws, __global const kernel_rule_t *rule
sha1_hmac_ctx_t ctx;
sha1_hmac_init_vector_64 (&ctx, w0, w1, w2, w3);
sha1_hmac_init_64 (&ctx, w0, w1, w2, w3);
sha1_hmac_update_global_swap (&ctx, ikepsk_bufs[digests_offset].msg_buf, ikepsk_bufs[digests_offset].msg_len);