aboutsummaryrefslogtreecommitdiff
path: root/gost_lcl.h
diff options
context:
space:
mode:
authorDmitry Belyavskiy <beldmit@gmail.com>2020-05-10 15:14:48 +0300
committerDmitry Belyavskiy <beldmit@gmail.com>2020-05-10 17:05:15 +0300
commit9cf021b8f3cc7b0f49ecd2f165bd1864903c90d0 (patch)
treed7b377bcfe638510f20e37574e9bbc559aab324a /gost_lcl.h
parentfd5447e7fca18868178b225de76b49bf3dce90c6 (diff)
downloadgost-engine-9cf021b8f3cc7b0f49ecd2f165bd1864903c90d0.zip
gost-engine-9cf021b8f3cc7b0f49ecd2f165bd1864903c90d0.tar.gz
gost-engine-9cf021b8f3cc7b0f49ecd2f165bd1864903c90d0.tar.bz2
GOST CMS encryption implementation.
Diffstat (limited to 'gost_lcl.h')
-rw-r--r--gost_lcl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gost_lcl.h b/gost_lcl.h
index 8af52ce..e693841 100644
--- a/gost_lcl.h
+++ b/gost_lcl.h
@@ -68,8 +68,8 @@ struct gost_pmeth_data {
int sign_param_nid; /* Should be set whenever parameters are
* filled */
EVP_MD *md;
- unsigned char *shared_ukm;
- size_t shared_ukm_size; /* XXX temporary use shared_ukm and hash for 2018 CKE */
+ unsigned char shared_ukm[32];
+ size_t shared_ukm_size;
int peer_key_used;
int cipher_nid; /* KExp15/KImp15 algs */
};