X-Git-Url: http://wagner.pp.ru/gitweb/?a=blobdiff_plain;f=gost_gost2015.h;h=663d31536d15185d9fce0a1b308d12255540346a;hb=4ab05fa614cca31eeb5353f3c2554695f2fdb2e7;hp=31f71e49c00bb21ce14e1ba57f19574bf63e9eb3;hpb=15066ba010e653efb062087f81d86e1ede1692cf;p=openssl-gost%2Fengine.git diff --git a/gost_gost2015.h b/gost_gost2015.h index 31f71e4..663d315 100644 --- a/gost_gost2015.h +++ b/gost_gost2015.h @@ -1,3 +1,9 @@ +/* + * Copyright (c) 2020 Dmitry Belyavskiy + * + * Contents licensed under the terms of the OpenSSL license + * See https://www.openssl.org/source/license.html for details + */ #ifndef GOST_GOST2015_H #define GOST_GOST2015_H @@ -24,4 +30,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