Skip to content

Instantly share code, notes, and snippets.

@blurbdust
Last active May 23, 2023 22:56
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/d1c2b36608a59acfd2ce4cf558f13dbf to your computer and use it in GitHub Desktop.
Save blurbdust/d1c2b36608a59acfd2ce4cf558f13dbf to your computer and use it in GitHub Desktop.
diff --git a/CL/netntlmv1.cl b/CL/netntlmv1.cl
index 1a07fc1..1c2680a 100644
--- a/CL/netntlmv1.cl
+++ b/CL/netntlmv1.cl
@@ -3103,7 +3103,7 @@ inline void des_ecb_setkey(uint32_t SK[32], const uchar key[DES_KEY_SIZE])
}
}
-inline void des_ecb_setkey_56(uint32_t SK[32], unsigned char _key[DES_KEY_SIZE - 1]) {
+inline void des_ecb_setkey_56(uint32_t SK[32], __generic unsigned char _key[DES_KEY_SIZE - 1]) {
uchar key[DES_KEY_SIZE];
@@ -3129,7 +3129,7 @@ inline void des_ecb_setkey_56(uint32_t SK[32], unsigned char _key[DES_KEY_SIZE -
des_ecb_setkey(SK, key);
}
-inline void netntlmv1_hash(uint32_t SK[32], unsigned char *plaintext, unsigned char *output) {
+inline void netntlmv1_hash(uint32_t SK[32], __generic unsigned char *plaintext, unsigned char *output) {
int i;
uint32_t X, Y, T;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment