]> www.wagner.pp.ru Git - openssl-gost/engine.git/blobdiff - gost_gost2015.h
MSVC: Fix casting warning C4057
[openssl-gost/engine.git] / gost_gost2015.h
index 31f71e49c00bb21ce14e1ba57f19574bf63e9eb3..663d31536d15185d9fce0a1b308d12255540346a 100644 (file)
@@ -1,3 +1,9 @@
+/*
+ * Copyright (c) 2020 Dmitry Belyavskiy <beldmit@gmail.com>
+ *
+ * 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