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_gost2015.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_gost2015.h')
-rw-r--r-- | gost_gost2015.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gost_gost2015.h b/gost_gost2015.h index 31f71e4..8aafa8f 100644 --- a/gost_gost2015.h +++ b/gost_gost2015.h @@ -24,4 +24,10 @@ int gost2015_set_asn1_params(ASN1_TYPE *params, int gost2015_process_unprotected_attributes(STACK_OF(X509_ATTRIBUTE) *attrs, int encryption, size_t mac_len, unsigned char *final_tag); + +int gost2015_acpkm_omac_init(int nid, int enc, const unsigned char *inkey, + EVP_MD_CTX *omac_ctx, + unsigned char *outkey, unsigned char *kdf_seed); +int init_zero_kdf_seed(unsigned char *kdf_seed); + #endif |