diff options
author | Vitaly Chikunov <vt@altlinux.org> | 2020-05-12 03:55:39 +0300 |
---|---|---|
committer | Dmitry Belyavskiy <beldmit@users.noreply.github.com> | 2020-05-12 12:55:47 +0300 |
commit | a00d42f4dfec8dff2f290cf3074dc25fb6b2e985 (patch) | |
tree | fad40fa8d460a7d5bb9480762b5d4c0ca5785eb1 /gost_lcl.h | |
parent | 02eb87cc43d7ef6cb7f49b3f023a185d3549bfef (diff) | |
download | gost-engine-a00d42f4dfec8dff2f290cf3074dc25fb6b2e985.zip gost-engine-a00d42f4dfec8dff2f290cf3074dc25fb6b2e985.tar.gz gost-engine-a00d42f4dfec8dff2f290cf3074dc25fb6b2e985.tar.bz2 |
gost_crypt: Allow templates in GOST_cipher
Avoid duplication of struct values with help of 1-level templates.
Diffstat (limited to 'gost_lcl.h')
-rw-r--r-- | gost_lcl.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -320,6 +320,7 @@ BIGNUM *gost_get0_priv_key(const EVP_PKEY *pkey); /* Struct describing cipher and used for init/deinit.*/ struct gost_cipher_st { + struct gost_cipher_st *template; /* template struct */ int nid; EVP_CIPHER *cipher; int block_size; /* (bytes) */ |