From: Dmitry Belyavskiy Date: Tue, 4 Sep 2018 13:32:48 +0000 (+0300) Subject: Update comment to match reality X-Git-Tag: v3.0.0~357 X-Git-Url: http://www.wagner.pp.ru/gitweb/?a=commitdiff_plain;h=f72fe5c4cfaa5130d0afb5174eb272bac01a912a;p=openssl-gost%2Fengine.git Update comment to match reality --- diff --git a/gost_keyexpimp.c b/gost_keyexpimp.c index 5bd3b4a..ebd1fa1 100644 --- a/gost_keyexpimp.c +++ b/gost_keyexpimp.c @@ -83,7 +83,8 @@ int gost_kexp15(const unsigned char *shared_key, const int shared_len, } /* - * Function expects that shared_key is a preallocated 32-bytes buffer + * Function expects that shared_key is a preallocated buffer + * with length defined as expkeylen - mac_len defined by mac_nid * */ int gost_kimp15(const unsigned char *expkey, const size_t expkeylen, int cipher_nid, const unsigned char *cipher_key,