aboutsummaryrefslogtreecommitdiff
path: root/gost_grasshopper_cipher.h
diff options
context:
space:
mode:
authorDmitry Belyavskiy <beldmit@gmail.com>2020-02-22 16:43:42 +0300
committerDmitry Belyavskiy <beldmit@gmail.com>2020-02-22 16:43:42 +0300
commit77551c5d97feeceed87b10e66070e8004ffb0135 (patch)
treedd21fa03b42d261d7cee603bc22a26cbd63ff260 /gost_grasshopper_cipher.h
parentb87190ec52dc26fce072b05a2d890ea975ef219a (diff)
downloadgost-engine-77551c5d97feeceed87b10e66070e8004ffb0135.zip
gost-engine-77551c5d97feeceed87b10e66070e8004ffb0135.tar.gz
gost-engine-77551c5d97feeceed87b10e66070e8004ffb0135.tar.bz2
No need for special OFB context
Diffstat (limited to 'gost_grasshopper_cipher.h')
-rw-r--r--gost_grasshopper_cipher.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/gost_grasshopper_cipher.h b/gost_grasshopper_cipher.h
index 31dc021..8d32dfa 100644
--- a/gost_grasshopper_cipher.h
+++ b/gost_grasshopper_cipher.h
@@ -27,11 +27,6 @@ typedef struct {
typedef struct {
gost_grasshopper_cipher_ctx c;
- grasshopper_w128_t buffer1;
-} gost_grasshopper_cipher_ctx_ofb;
-
-typedef struct {
- gost_grasshopper_cipher_ctx c;
grasshopper_w128_t partial_buffer;
unsigned int section_size; /* After how much bytes mesh the key,
if 0 never mesh and work like plain ctr. */