Skip to content

Instantly share code, notes, and snippets.

@blurbdust
Last active May 23, 2023 00:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save blurbdust/77bddb721489fa4359b7af17f68321a0 to your computer and use it in GitHub Desktop.
Save blurbdust/77bddb721489fa4359b7af17f68321a0 to your computer and use it in GitHub Desktop.
diff --git a/CL/rt.cl b/CL/rt.cl
index f825439..a190aa2 100644
--- a/CL/rt.cl
+++ b/CL/rt.cl
@@ -33,8 +33,8 @@ inline void index_to_plaintext(unsigned long index, char *charset, unsigned int
inline void do_hash(unsigned int hash_type, unsigned char *plaintext, unsigned int plaintext_len, unsigned char *hash_value, unsigned int *hash_len /*, __global unsigned char *g_debug*/) {
#if HASH_TYPE == HASH_NETNTLMV1
-// uint32_t SK[32];
- netntlmv1_hash(plaintext, hash_value /*, g_debug*/);
+ uint32_t SK[32];
+ netntlmv1_hash(SK, plaintext, hash_value /*, g_debug*/);
*hash_len = 8;
#endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment