X-Git-Url: http://wagner.pp.ru/gitweb/?a=blobdiff_plain;f=gost_lcl.h;h=cc1672c9249152069132041334c3cc9020a5a87a;hb=2b244c10039317cf771f1b89a3d8ffe2bf923911;hp=a6b6e1224845a3bb14ac29735d412657817ee487;hpb=e55323c4c29e6b2645e7e7357453c34fb9a42440;p=openssl-gost%2Fengine.git diff --git a/gost_lcl.h b/gost_lcl.h index a6b6e12..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 */ @@ -282,7 +282,7 @@ int gost_kimp15(const unsigned char *expkey, const size_t expkeylen, int cipher_nid, const unsigned char *cipher_key, int mac_nid, unsigned char *mac_key, const unsigned char *iv, const size_t ivlen, - unsigned char *shared_key, size_t shared_len); + unsigned char *shared_key); /*============== miscellaneous functions============================= */ /* from gost_sign.c */ /* Convert GOST R 34.11 hash sum to bignum according to standard */