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;
uint64_t counter;
} gost_grasshopper_cipher_ctx_ctr;
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