X-Git-Url: http://wagner.pp.ru/gitweb/?a=blobdiff_plain;f=gost_lcl.h;h=7871eb8b73b21ad9d389227f95a559924b12a801;hb=43a4efa4aab75623b4e34e9677b21ee3db30f20d;hp=75d59b78b7b1c55624c5d56935166f7c60dd6622;hpb=eb01b80247de3fa3848d58d7f2816aff8f396630;p=openssl-gost%2Fengine.git diff --git a/gost_lcl.h b/gost_lcl.h index 75d59b7..7871eb8 100644 --- a/gost_lcl.h +++ b/gost_lcl.h @@ -9,7 +9,6 @@ * OpenSSL 0.9.9 libraries required to compile and use * * this code * **********************************************************************/ -# include "compat.h" # include # include # include @@ -70,7 +69,9 @@ struct gost_pmeth_data { * filled */ EVP_MD *md; unsigned char *shared_ukm; + size_t shared_ukm_size; /* XXX temporary use shared_ukm and hash for 2018 CKE*/ int peer_key_used; + int cipher_nid; /* KExp15/KImp15 algs*/ }; struct gost_mac_pmeth_data { @@ -183,7 +184,9 @@ void imit_gost_cp_12_destroy(void); EVP_MD *magma_omac(void); void magma_omac_destroy(void); EVP_MD *grasshopper_omac(void); +EVP_MD *grasshopper_omac_acpkm(void); void grasshopper_omac_destroy(void); +void grasshopper_omac_acpkm_destroy(void); /* Cipher context used for EVP_CIPHER operation */ struct ossl_gost_cipher_ctx { int paramNID;