diff options
author | George Hazan <george.hazan@gmail.com> | 2013-11-16 14:29:31 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-11-16 14:29:31 +0000 |
commit | 1e097cca2844cf509937eafa88e4b37f703c4e7e (patch) | |
tree | 2ab83d3c353063fc6ae599178b516eb48bddc339 /include | |
parent | 04f4f57b6a3f5f516f3700d63ee924ca51b6b042 (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 'include')
-rw-r--r-- | include/m_crypto.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/m_crypto.h b/include/m_crypto.h index 87e2a61614..1634f7c93e 100644 --- a/include/m_crypto.h +++ b/include/m_crypto.h @@ -35,9 +35,9 @@ struct MICryptoEngine // get/set the instance key
STDMETHOD_(size_t, getKeyLength)(void) PURE;
STDMETHOD_(bool, getKey)(BYTE *pKey, size_t cbKeyLen) PURE;
- STDMETHOD_(int, setKey)(const BYTE *pKey, size_t cbKeyLen) PURE;
+ STDMETHOD_(bool, setKey)(const BYTE *pKey, size_t cbKeyLen) PURE;
- STDMETHOD_(void, generateKey)(void)PURE; // creates a new key inside
+ STDMETHOD_(bool, generateKey)(void)PURE; // creates a new key inside
STDMETHOD_(void, purgeKey)(void)PURE; // purges a key from memory
// sets the master password (in utf-8)
|