X-Git-Url: http://wagner.pp.ru/gitweb/?a=blobdiff_plain;f=gost_grasshopper_cipher.h;h=08aac05b8b95d32fe84aa74f99eed0a4a5510d76;hb=6547c44e46129c1d9d32760fa37a1a81fa085231;hp=7f775a24b8ff2f7576c4d1317f79e70566d581e0;hpb=868ae7a730a86f9c1021ea766cd714f817cb934d;p=openssl-gost%2Fengine.git diff --git a/gost_grasshopper_cipher.h b/gost_grasshopper_cipher.h index 7f775a2..08aac05 100644 --- a/gost_grasshopper_cipher.h +++ b/gost_grasshopper_cipher.h @@ -35,7 +35,6 @@ typedef struct { gost_grasshopper_cipher_ctx c; grasshopper_w128_t iv_buffer; grasshopper_w128_t partial_buffer; - uint64_t counter; } gost_grasshopper_cipher_ctx_ctr; typedef int (* grasshopper_init_cipher_func)(EVP_CIPHER_CTX* ctx, const unsigned char* key, const unsigned char* iv, @@ -101,6 +100,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