--- NETNTLM_fmt_plug.c.orig 2013-01-25 02:10:28.196855490 +0000 +++ NETNTLM_fmt_plug.c 2013-01-31 06:02:25.053761282 +0000 @@ -65,12 +65,13 @@ #define BENCHMARK_LENGTH 0 #define PLAINTEXT_LENGTH 125 #define BINARY_SIZE 24 -#define BINARY_ALIGN 1 +#define BINARY_ALIGN ARCH_SIZE #define PARTIAL_BINARY_SIZE 8 -#define SALT_SIZE 8 -#define SALT_ALIGN 1 +#define BARE_SALT_SIZE 8 +#define SALT_SIZE (0x80000 + BARE_SALT_SIZE) +#define SALT_ALIGN ARCH_SIZE #define CIPHERTEXT_LENGTH 48 -#define TOTAL_LENGTH (10 + 2 * 2 * SALT_SIZE + CIPHERTEXT_LENGTH) +#define TOTAL_LENGTH (10 + 2 * 2 * BARE_SALT_SIZE + CIPHERTEXT_LENGTH) // these may be altered in init() if running OMP #define MIN_KEYS_PER_CRYPT 1 @@ -203,8 +204,9 @@ static void *get_binary(char *ciphertext ciphertext = strrchr(ciphertext, '$') + 1; for (i=0; i