aboutsummaryrefslogtreecommitdiff
path: root/openssl/engines/ccgost/gost2001_keyx.h
diff options
context:
space:
mode:
Diffstat (limited to 'openssl/engines/ccgost/gost2001_keyx.h')
-rw-r--r--openssl/engines/ccgost/gost2001_keyx.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/openssl/engines/ccgost/gost2001_keyx.h b/openssl/engines/ccgost/gost2001_keyx.h
new file mode 100644
index 000000000..a014d9c1e
--- /dev/null
+++ b/openssl/engines/ccgost/gost2001_keyx.h
@@ -0,0 +1,10 @@
+GOST_KEY_TRANSPORT *
+make_rfc4490_keytransport_2001(EVP_PKEY *pubk, BIGNUM *eph_key,
+ const unsigned char *key, size_t keylen,
+ unsigned char *ukm, size_t ukm_len);
+
+int decrypt_rfc4490_shared_key_2001(EVP_PKEY *priv,
+ GOST_KEY_TRANSPORT *gkt,
+ unsigned char *key_buf,
+ int key_buf_len) ;
+