From 99177f6965456cdccb93b6bafcf476a95ecacd6a Mon Sep 17 00:00:00 2001 From: MikalaiR Date: Mon, 22 Feb 2016 16:24:32 +0000 Subject: KuznechikCrypt: cbc encryption mode git-svn-id: http://svn.miranda-ng.org/main/trunk@16323 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Kuzne4ikCrypt/src/stdcrypt.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'plugins/Kuzne4ikCrypt/src/stdcrypt.h') diff --git a/plugins/Kuzne4ikCrypt/src/stdcrypt.h b/plugins/Kuzne4ikCrypt/src/stdcrypt.h index b0708da257..dd8bb249d8 100644 --- a/plugins/Kuzne4ikCrypt/src/stdcrypt.h +++ b/plugins/Kuzne4ikCrypt/src/stdcrypt.h @@ -29,8 +29,9 @@ struct CCrypt : public MICryptoEngine, public MZeroedObject CMStringA m_password; BYTE m_key[KEY_LENGTH]; + BYTE m_iv [KEY_LENGTH]; - BYTE m_ctx[kEcb14ContextLen]; + BYTE m_ctx[kCbc14ContextLen]; STDMETHODIMP_(void) destroy(); -- cgit v1.2.3