]> www.wagner.pp.ru Git - openssl-gost/engine.git/blobdiff - gost_grasshopper_cipher.h
gost_crypt: process full available block in CFB and CNT mode
[openssl-gost/engine.git] / gost_grasshopper_cipher.h
index 34bf8cc2b8f7a76fbf83caa795004162aef1141a..2aae66274bf6d1b6a7a6ff5be0df2fa563322af7 100644 (file)
@@ -31,7 +31,6 @@ typedef struct {
 
 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;
@@ -99,6 +98,7 @@ 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