aboutsummaryrefslogtreecommitdiff
path: root/gost_lcl.h
diff options
context:
space:
mode:
authorNikolay Morozov <nmorozoff77@yandex.ru>2020-02-17 17:01:49 +0300
committerDmitry Belyavskiy <beldmit@users.noreply.github.com>2020-02-17 20:39:30 +0300
commit7ce996d12c96ffb936ec22f0a8b826c64516699f (patch)
treeba965625771bbc6b37b2bbef33aeada3b0b0df72 /gost_lcl.h
parent53579492efb0cfa87405a7a4b1956ffec9506a22 (diff)
downloadgost-engine-7ce996d12c96ffb936ec22f0a8b826c64516699f.zip
gost-engine-7ce996d12c96ffb936ec22f0a8b826c64516699f.tar.gz
gost-engine-7ce996d12c96ffb936ec22f0a8b826c64516699f.tar.bz2
cppcheck: function defenition doen't match function declaration
Diffstat (limited to 'gost_lcl.h')
-rw-r--r--gost_lcl.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/gost_lcl.h b/gost_lcl.h
index bb25ce3..b590bf5 100644
--- a/gost_lcl.h
+++ b/gost_lcl.h
@@ -247,12 +247,12 @@ void inc_counter(unsigned char *buffer, size_t buf_len);
# define EVP_MD_CTRL_SET_KEY (EVP_MD_CTRL_ALG_CTRL+4)
/* EVP_PKEY_METHOD key encryption callbacks */
/* From gost_ec_keyx.c */
-int pkey_gost_encrypt(EVP_PKEY_CTX *ctx, unsigned char *out,
- size_t *outlen, const unsigned char *key,
+int pkey_gost_encrypt(EVP_PKEY_CTX *pctx, unsigned char *out,
+ size_t *out_len, const unsigned char *key,
size_t key_len);
-int pkey_gost_decrypt(EVP_PKEY_CTX *ctx, unsigned char *out,
- size_t *outlen, const unsigned char *in,
+int pkey_gost_decrypt(EVP_PKEY_CTX *pctx, unsigned char *key,
+ size_t *key_len, const unsigned char *in,
size_t in_len);
/* derive functions */
/* From gost_ec_keyx.c */