summaryrefslogtreecommitdiff
path: root/src/core/stdcrypt/commonheaders.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-11-16 14:29:31 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-11-16 14:29:31 +0000
commit1e097cca2844cf509937eafa88e4b37f703c4e7e (patch)
tree2ab83d3c353063fc6ae599178b516eb48bddc339 /src/core/stdcrypt/commonheaders.h
parent04f4f57b6a3f5f516f3700d63ee924ca51b6b042 (diff)
StdCrypt:
- stronger randomizer; - ability to validate passwords; - anti-brutforce key encryption git-svn-id: http://svn.miranda-ng.org/main/trunk@6919 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/core/stdcrypt/commonheaders.h')
-rw-r--r--src/core/stdcrypt/commonheaders.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/stdcrypt/commonheaders.h b/src/core/stdcrypt/commonheaders.h
index f89df739dd..37168497d8 100644
--- a/src/core/stdcrypt/commonheaders.h
+++ b/src/core/stdcrypt/commonheaders.h
@@ -76,3 +76,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include "stdcrypt.h"
extern HINSTANCE hInst;
+
+bool getRandomBytes(BYTE *buf, size_t bufLen);
+void slow_hash(const void *buf, size_t bufLen, BYTE tmpHash[32]);