X-Git-Url: http://wagner.pp.ru/gitweb/?a=blobdiff_plain;f=gost_lcl.h;h=6da6a66257ddd3bf1df21b6b0ad7548cd6f8b4c6;hb=13dc9c81e30ce1d44d76aba6c35bf8bb3b3bcf2d;hp=afa19ebb7bc708a5a21d6d8efb21307d1dc02103;hpb=214bb5e2b55c9bece27ef374ddf1db8c16dc2a99;p=openssl-gost%2Fengine.git diff --git a/gost_lcl.h b/gost_lcl.h index afa19eb..6da6a66 100644 --- a/gost_lcl.h +++ b/gost_lcl.h @@ -252,6 +252,8 @@ int gost_ec_verify(const unsigned char *dgst, int dgst_len, int gost_ec_compute_public(EC_KEY *ec); int gost_ec_point_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *n, const EC_POINT *q, const BIGNUM *m, BN_CTX *ctx); +size_t gost_ec_key2buf(const EC_KEY *key, unsigned char **pbuf); +int gost_ec_oct2key(EC_KEY *key, const unsigned char *buf, size_t len); #define CURVEDEF(a) \ int point_mul_##a(const EC_GROUP *group, EC_POINT *r, const EC_POINT *q, const BIGNUM *m, BN_CTX *ctx);\