aboutsummaryrefslogtreecommitdiff
path: root/gost_grasshopper_cipher.h
diff options
context:
space:
mode:
authorDmitry Belyavskiy <beldmit@gmail.com>2020-05-03 20:14:30 +0300
committerDmitry Belyavskiy <beldmit@gmail.com>2020-05-04 15:50:12 +0300
commita57c7e869e3017303407ba36e3d0798c9474416b (patch)
tree7a651de7355011db8a63cc1be503fb490371c4ef /gost_grasshopper_cipher.h
parentf1aa1602d4aa644a6944d7c01a808fea4947e4e8 (diff)
downloadgost-engine-a57c7e869e3017303407ba36e3d0798c9474416b.zip
gost-engine-a57c7e869e3017303407ba36e3d0798c9474416b.tar.gz
gost-engine-a57c7e869e3017303407ba36e3d0798c9474416b.tar.bz2
Kuznyechik ASN1 parameters parsing
Diffstat (limited to 'gost_grasshopper_cipher.h')
-rw-r--r--gost_grasshopper_cipher.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gost_grasshopper_cipher.h b/gost_grasshopper_cipher.h
index 8d32dfa..a0acba4 100644
--- a/gost_grasshopper_cipher.h
+++ b/gost_grasshopper_cipher.h
@@ -30,6 +30,7 @@ typedef struct {
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. */
+ unsigned char kdf_seed[8];
} gost_grasshopper_cipher_ctx_ctr;
typedef int (* grasshopper_init_cipher_func)(EVP_CIPHER_CTX* ctx, const unsigned char* key, const unsigned char* iv,