X-Git-Url: http://wagner.pp.ru/gitweb/?a=blobdiff_plain;f=gost_lcl.h;h=4801e17aeb14086e49a6ac10e0c7cf3978720f41;hb=0021eb1fac2d7a6e628b1a4125cecd7520f7b6b6;hp=c3015c9e439f6a970baae464fba3c084bb5f8fc1;hpb=798a847d840c42cc14e67bad882323b830aacab1;p=openssl-gost%2Fengine.git diff --git a/gost_lcl.h b/gost_lcl.h index c3015c9..4801e17 100644 --- a/gost_lcl.h +++ b/gost_lcl.h @@ -10,6 +10,7 @@ * OpenSSL 0.9.9 libraries required to compile and use * * this code * **********************************************************************/ +# include # include # include # include @@ -36,11 +37,14 @@ typedef struct R3410_ec { char *x; char *y; char *cofactor; + EC_GROUP *group; } R3410_ec_params; extern R3410_ec_params R3410_2001_paramset[], *R3410_2012_256_paramset, R3410_2012_512_paramset[]; +void free_cached_groups(void); + extern const ENGINE_CMD_DEFN gost_cmds[]; int gost_control_func(ENGINE *e, int cmd, long i, void *p, void (*f) (void)); const char *get_gost_engine_param(int param);