From 1e15537d7583cdd5a4b003b5efb92f0b6e1fdcc6 Mon Sep 17 00:00:00 2001 From: Vitaly Chikunov Date: Mon, 23 Jul 2018 03:35:13 +0300 Subject: grasshopper: Fix OFB implementation. Previous implementation was not OFB at all, and fail tests. Note: This implementation is for fixed width 128-bit IV which makes shift regiser redundant. --- gost_grasshopper_cipher.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'gost_grasshopper_cipher.h') diff --git a/gost_grasshopper_cipher.h b/gost_grasshopper_cipher.h index 08aac05..2486e61 100644 --- a/gost_grasshopper_cipher.h +++ b/gost_grasshopper_cipher.h @@ -27,8 +27,6 @@ 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 { -- cgit v1.1