From 1e097cca2844cf509937eafa88e4b37f703c4e7e Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 16 Nov 2013 14:29:31 +0000 Subject: 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 --- include/m_crypto.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') 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) -- cgit v1.2.3