diff options
author | Vitaly Chikunov <vt@altlinux.org> | 2018-07-23 03:35:13 +0300 |
---|---|---|
committer | Vitaly Chikunov <vt@altlinux.org> | 2018-07-23 03:35:13 +0300 |
commit | 1e15537d7583cdd5a4b003b5efb92f0b6e1fdcc6 (patch) | |
tree | 49cbfa4be4f3d2b90f19c6b62d87a7b75a691ca4 /gost_grasshopper_cipher.h | |
parent | d40efde88e6c6589d9d4f5128ec92178776c518a (diff) | |
download | gost-engine-1e15537d7583cdd5a4b003b5efb92f0b6e1fdcc6.zip gost-engine-1e15537d7583cdd5a4b003b5efb92f0b6e1fdcc6.tar.gz gost-engine-1e15537d7583cdd5a4b003b5efb92f0b6e1fdcc6.tar.bz2 |
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.
Diffstat (limited to 'gost_grasshopper_cipher.h')
-rw-r--r-- | gost_grasshopper_cipher.h | 2 |
1 files changed, 0 insertions, 2 deletions
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 { |