X-Git-Url: http://wagner.pp.ru/gitweb/?a=blobdiff_plain;f=gost_grasshopper_cipher.h;h=c8957a0cc07c729b41f4fc6ae415c7391c7ad974;hb=a53589ac2f9dffe4ef3c7f92d11d1d1a04cf0c49;hp=edd45a42af8cfb77dda134b700e3a23e2b3123dd;hpb=c6cea32ec6b799ac65f54dda6e035e6bf202f2f1;p=openssl-gost%2Fengine.git diff --git a/gost_grasshopper_cipher.h b/gost_grasshopper_cipher.h index edd45a4..c8957a0 100644 --- a/gost_grasshopper_cipher.h +++ b/gost_grasshopper_cipher.h @@ -27,13 +27,10 @@ typedef struct { typedef struct { gost_grasshopper_cipher_ctx c; grasshopper_w128_t buffer1; - uint32_t g; - uint32_t go; } gost_grasshopper_cipher_ctx_ofb; typedef struct { gost_grasshopper_cipher_ctx c; - grasshopper_w128_t iv_buffer; grasshopper_w128_t partial_buffer; } gost_grasshopper_cipher_ctx_ctr; @@ -100,6 +97,8 @@ extern const EVP_CIPHER* cipher_gost_grasshopper_ofb(); extern const EVP_CIPHER* cipher_gost_grasshopper_cfb(); extern const EVP_CIPHER* cipher_gost_grasshopper_ctr(); +void cipher_gost_grasshopper_destroy(void); + #if defined(__cplusplus) } #endif