diff options
author | Dmitry Belyavskiy <beldmit@gmail.com> | 2020-05-10 15:14:48 +0300 |
---|---|---|
committer | Dmitry Belyavskiy <beldmit@gmail.com> | 2020-05-10 17:05:15 +0300 |
commit | 9cf021b8f3cc7b0f49ecd2f165bd1864903c90d0 (patch) | |
tree | d7b377bcfe638510f20e37574e9bbc559aab324a /gost_lcl.h | |
parent | fd5447e7fca18868178b225de76b49bf3dce90c6 (diff) | |
download | gost-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.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 */ }; |