X-Git-Url: https://wagner.pp.ru/gitweb/?a=blobdiff_plain;f=gost_lcl.h;h=d8b894368ed52f7005eab9e72cbfe61858337b11;hb=97b3db1ebf985b73718faaae6c425782d526d44f;hp=569f7cfbd3c5c38816eedb34f85cea087a83d67d;hpb=fa0478e003f308adbd6e30dc1c39089ea3fdce3a;p=openssl-gost%2Fengine.git diff --git a/gost_lcl.h b/gost_lcl.h index 569f7cf..d8b8943 100644 --- a/gost_lcl.h +++ b/gost_lcl.h @@ -17,6 +17,7 @@ # include # include # include +# include # include "gost89.h" # include "gosthash.h" /* Control commands */ @@ -400,5 +401,15 @@ extern GOST_digest kuznyechik_ctracpkm_omac_digest; extern const OSSL_ALGORITHM GOST_prov_digests[]; void GOST_prov_deinit_digests(void); +/* job to initialize a missing NID */ +struct gost_nid_job { + const char *sn; + const char *ln; + void (*callback)(int nid); + ASN1_OBJECT *asn1; +}; + +typedef struct gost_nid_job GOST_NID_JOB; + #endif /* vim: set expandtab cinoptions=\:0,l1,t0,g0,(0 sw=4 : */