PhraseSet size set back to 16

master
Inga 🏳‍🌈 8 years ago
parent ec79a3f41b
commit 7aa6469c72
  1. 2
      dotnet/WhiteRabbit.UnmanagedBridge/WhiteRabbit.UnmanagedBridge.cpp
  2. 2
      dotnet/WhiteRabbit.UnmanagedBridge/constants.h
  3. 10
      dotnet/WhiteRabbit.UnmanagedBridge/phraseset.cpp

@ -10,7 +10,7 @@ void WhiteRabbitUnmanagedBridge::MD5Unmanaged::ComputeMD5(unsigned __int32 * inp
{
#if AVX2
md5(input + 0 * 8 * 8, output + 0 * 8);
//md5(input + 1 * 8 * 8, output + 1 * 8);
md5(input + 1 * 8 * 8, output + 1 * 8);
#elif SIMD
md5(input + 0 * 8 * 4, output + 0 * 4);
md5(input + 1 * 8 * 4, output + 1 * 4);

@ -1,3 +1,3 @@
#pragma once
#define PHRASES_PER_SET 8
#define PHRASES_PER_SET 16

@ -14,7 +14,15 @@
macro(4); \
macro(5); \
macro(6); \
macro(7);
macro(7); \
macro(8); \
macro(9); \
macro(10); \
macro(11); \
macro(12); \
macro(13); \
macro(14); \
macro(15);
#define INIT_WORD(phraseNumber) \
auto permutation = permutationsPointer[permutationOffset + phraseNumber]; \

Loading…
Cancel
Save