Displaying 1 result from an estimated 1 matches for "keybuf_size".
Did you mean:
evbuf_size
2007 Feb 24
1
Bigcrypt password patch
...g.h>
+#include <stdlib.h>
+
+/*
+ * Max cleartext password length in segments of 8 characters this
+ * function can deal with (16 segments of 8 chars= max 128 character
+ * password).
+ */
+
+#define MAX_PASS_LEN 16
+#define SEGMENT_SIZE 8
+#define SALT_SIZE 2
+#define KEYBUF_SIZE ((MAX_PASS_LEN*SEGMENT_SIZE)+SALT_SIZE)
+#define ESEGMENT_SIZE 11
+#define CBUF_SIZE ((MAX_PASS_LEN*ESEGMENT_SIZE)+SALT_SIZE+1)
@@ -19,3 +64,74 @@ char *mycrypt(const char *key, const cha
{
- return crypt(key, salt);
+ char *dec_c2_cryptbuf;
+
+ unsigned long i...