8 enum RHash { RHASH_UNDEF = -1, RHASH_LM, RHASH_MD4, RHASH_MD5, RHASH_SHA1, RHASH_NTLM };
14 unsigned char* stPlain;
18 unsigned char* charSet;
23 uint64 plainSpaceTotal;
24 unsigned int rainbowChainLen;
27 extern "C" int SetCudaDevice(int device);
28 extern "C" int GetChainsBufferSize(int minSize);
29 extern "C" int CalcChainsOnCUDA(const RCudaTask* task, uint64 *resultBuff);