X-Git-Url: http://wagner.pp.ru/gitweb/?a=blobdiff_plain;f=gost_lcl.h;h=cc1672c9249152069132041334c3cc9020a5a87a;hb=7b18cc37b96e8c6866ee80964e5f623cdd999081;hp=9b0fa1c1dcbabcb96b73ee5ced3528c25412fd98;hpb=be65ae82130e6908c88b975597d05f128057a287;p=openssl-gost%2Fengine.git diff --git a/gost_lcl.h b/gost_lcl.h index 9b0fa1c..cc1672c 100644 --- a/gost_lcl.h +++ b/gost_lcl.h @@ -248,11 +248,11 @@ void inc_counter(unsigned char *buffer, size_t buf_len); # define EVP_MD_CTRL_MAC_LEN (EVP_MD_CTRL_ALG_CTRL+5) /* EVP_PKEY_METHOD key encryption callbacks */ /* From gost_ec_keyx.c */ -int pkey_GOST_ECcp_encrypt(EVP_PKEY_CTX *ctx, unsigned char *out, +int pkey_gost_encrypt(EVP_PKEY_CTX *ctx, unsigned char *out, size_t *outlen, const unsigned char *key, size_t key_len); -int pkey_GOST_ECcp_decrypt(EVP_PKEY_CTX *ctx, unsigned char *out, +int pkey_gost_decrypt(EVP_PKEY_CTX *ctx, unsigned char *out, size_t *outlen, const unsigned char *in, size_t in_len); /* derive functions */