aboutsummaryrefslogtreecommitdiff
path: root/gost_grasshopper_cipher.h
diff options
context:
space:
mode:
authorVitaly Chikunov <vt@altlinux.org>2018-07-28 10:36:29 +0300
committerVitaly Chikunov <vt@altlinux.org>2018-07-31 11:45:48 +0300
commitae390d45207aadb69eb96d8c11c1ee888f70815f (patch)
tree39dff94b25ee0f787058b233e9ef3ff2f9f4e323 /gost_grasshopper_cipher.h
parent2be13cb5c7e96d6bdead59b37717c2f49a581e9e (diff)
downloadgost-engine-ae390d45207aadb69eb96d8c11c1ee888f70815f.zip
gost-engine-ae390d45207aadb69eb96d8c11c1ee888f70815f.tar.gz
gost-engine-ae390d45207aadb69eb96d8c11c1ee888f70815f.tar.bz2
Optimize out skip_sections and add tests for ACPKM-Master
ACPKM-Master is from R 23565.1.017-2018, it will be required for ACPKM-OMAC for TLS 1.2.
Diffstat (limited to 'gost_grasshopper_cipher.h')
-rw-r--r--gost_grasshopper_cipher.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/gost_grasshopper_cipher.h b/gost_grasshopper_cipher.h
index 0ab17c1..cc67795 100644
--- a/gost_grasshopper_cipher.h
+++ b/gost_grasshopper_cipher.h
@@ -32,7 +32,6 @@ typedef struct {
typedef struct {
gost_grasshopper_cipher_ctx c;
grasshopper_w128_t partial_buffer;
- unsigned int skip_sections; /* 1 or 0, used to skip meshing for a first section */
unsigned int section_size; /* After how much bytes mesh the key,
if 0 never mesh and work like plain ctr. */
} gost_grasshopper_cipher_ctx_ctr;