From 9cf021b8f3cc7b0f49ecd2f165bd1864903c90d0 Mon Sep 17 00:00:00 2001 From: Dmitry Belyavskiy Date: Sun, 10 May 2020 15:14:48 +0300 Subject: GOST CMS encryption implementation. --- gost_lcl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gost_lcl.h') 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 */ }; -- cgit v1.1