diff options
author | Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org> | 2018-07-19 20:11:37 +0300 |
---|---|---|
committer | Vitaly Chikunov <vt@altlinux.org> | 2018-07-25 10:55:39 +0300 |
commit | 74d13288e0a664f2615014d441087792eabc5cfa (patch) | |
tree | 71b943fed2884de3c4201adc7813df0a33d7f489 /gost_grasshopper_cipher.h | |
parent | 3b13010957ba21890b5a9ece321a14aada1d7deb (diff) | |
download | gost-engine-74d13288e0a664f2615014d441087792eabc5cfa.zip gost-engine-74d13288e0a664f2615014d441087792eabc5cfa.tar.gz gost-engine-74d13288e0a664f2615014d441087792eabc5cfa.tar.bz2 |
Fix grasshopper-ctr reinitialization
Also, document why CTR IV size is now set to 16, so user is noted to set
IV appropriately to full extent (including counter). Basically, it's for
openssh (and alike) to make it copy IV from privilege separated process.
Diffstat (limited to 'gost_grasshopper_cipher.h')
-rw-r--r-- | gost_grasshopper_cipher.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gost_grasshopper_cipher.h b/gost_grasshopper_cipher.h index 2486e61..c8957a0 100644 --- a/gost_grasshopper_cipher.h +++ b/gost_grasshopper_cipher.h @@ -31,7 +31,6 @@ typedef struct { typedef struct { gost_grasshopper_cipher_ctx c; - grasshopper_w128_t iv_buffer; grasshopper_w128_t partial_buffer; } gost_grasshopper_cipher_ctx_ctr; |