X-Git-Url: http://wagner.pp.ru/gitweb/?a=blobdiff_plain;f=gost_lcl.h;h=bb25ce360c3a47612c776dc507cb752bcbd56158;hb=9aa10ba25786b585e29c3f396d74bc4b3594467b;hp=15ff31ead28813bde1ee7ceb4df9ecc0ca2a5aae;hpb=a418dfa28b4c3432a6da7d01adc1038789ce209c;p=openssl-gost%2Fengine.git diff --git a/gost_lcl.h b/gost_lcl.h index 15ff31e..bb25ce3 100644 --- a/gost_lcl.h +++ b/gost_lcl.h @@ -265,6 +265,12 @@ int gost_ec_verify(const unsigned char *dgst, int dgst_len, ECDSA_SIG *sig, EC_KEY *ec); int gost_ec_compute_public(EC_KEY *ec); +/* VKO */ +int VKO_compute_key(unsigned char *shared_key, + const EC_POINT *pub_key, const EC_KEY *priv_key, + const unsigned char *ukm, const size_t ukm_size, + const int vko_dgst_nid); + /* KDF TREE */ int gost_kdftree2012_256(unsigned char *keyout, size_t keyout_len, const unsigned char *key, size_t keylen,