X-Git-Url: http://wagner.pp.ru/gitweb/?a=blobdiff_plain;ds=sidebyside;f=gost_lcl.h;h=6da6a66257ddd3bf1df21b6b0ad7548cd6f8b4c6;hb=13dc9c81e30ce1d44d76aba6c35bf8bb3b3bcf2d;hp=8471ed062cecde22fe78931015eaec8b0b5eb483;hpb=1c8b7f9a2a51ba2a6d668c2cd4e4672ed6731166;p=openssl-gost%2Fengine.git diff --git a/gost_lcl.h b/gost_lcl.h index 8471ed0..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);\ @@ -338,11 +340,13 @@ extern GOST_cipher magma_ctr_cipher; extern GOST_cipher magma_ctr_acpkm_cipher; extern GOST_cipher magma_ctr_acpkm_omac_cipher; extern GOST_cipher magma_cbc_cipher; +extern GOST_cipher magma_mgm_cipher; extern GOST_cipher grasshopper_ecb_cipher; extern GOST_cipher grasshopper_cbc_cipher; extern GOST_cipher grasshopper_cfb_cipher; extern GOST_cipher grasshopper_ofb_cipher; extern GOST_cipher grasshopper_ctr_cipher; +extern GOST_cipher grasshopper_mgm_cipher; extern GOST_cipher grasshopper_ctr_acpkm_cipher; extern GOST_cipher grasshopper_ctr_acpkm_omac_cipher; extern GOST_cipher magma_kexp15_cipher;