-/*
- RainbowCrack - a general propose implementation of Philippe Oechslin's faster time-memory trade-off technique.
-
- Copyright (C) Zhu Shuanglei <shuanglei@hotmail.com>
-*/
-
-#ifndef _MEMORYPOOL_H
-#define _MEMORYPOOL_H
-
-class CMemoryPool
-{
-public:
- CMemoryPool(unsigned int bytesForChainWalkSet);
- virtual ~CMemoryPool();
-
-private:
- unsigned char* m_pMem;
- unsigned int m_nMemSize;
-
- unsigned int m_nMemMax;
-
-public:
- unsigned char* Allocate(unsigned int nFileLen, unsigned int& nAllocatedSize);
-};
-
-#endif
+/*\r
+ * rcracki_mt is a multithreaded implementation and fork of the original \r
+ * RainbowCrack\r
+ *\r
+ * Copyright (C) Zhu Shuanglei <shuanglei@hotmail.com>\r
+ * Copyright Martin Westergaard Jørgensen <martinwj2005@gmail.com>\r
+ * Copyright 2009, 2010 Daniël Niggebrugge <niggebrugge@fox-it.com>\r
+ * Copyright 2009, 2010 James Nobis <frt@quelrod.net>\r
+ * Copyright 2010 uroskn\r
+ *\r
+ * This file is part of racrcki_mt.\r
+ *\r
+ * rcracki_mt is free software: you can redistribute it and/or modify\r
+ * it under the terms of the GNU General Public License as published by\r
+ * the Free Software Foundation, either version 2 of the License, or\r
+ * (at your option) any later version.\r
+ *\r
+ * rcracki_mt is distributed in the hope that it will be useful,\r
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\r
+ * GNU General Public License for more details.\r
+ *\r
+ * You should have received a copy of the GNU General Public License\r
+ * along with rcracki_mt. If not, see <http://www.gnu.org/licenses/>.\r
+ */\r
+\r
+#ifndef _MEMORYPOOL_H\r
+#define _MEMORYPOOL_H\r
+\r
+#include "global.h"\r
+\r
+class CMemoryPool \r
+{\r
+public:\r
+ CMemoryPool(unsigned int bytesSaved, bool bDebug, uint64 maxMem);\r
+ virtual ~CMemoryPool();\r
+\r
+private:\r
+ bool debug;\r
+ unsigned char* m_pMem;\r
+ uint64 m_nMemSize;\r
+\r
+ uint64 m_nMemMax;\r
+\r
+public:\r
+ unsigned char* Allocate(unsigned int nFileLen, uint64& nAllocatedSize);\r
+};\r
+\r
+#endif\r