summaryrefslogtreecommitdiff
path: root/libs/tgl/src/mtproto-utils.h
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2016-03-11 14:41:45 +0000
committerKirill Volinsky <mataes2007@gmail.com>2016-03-11 14:41:45 +0000
commitbb5bb4407f2578ed8d6dc3b41f6ddb8b798e560c (patch)
tree1e21750da4e7e9a2b81993f9a5484be95e394cfc /libs/tgl/src/mtproto-utils.h
parent2d0a5026812236b19c573bbe8d08aa20df7083d9 (diff)
tgl compile under vc2013
git-svn-id: http://svn.miranda-ng.org/main/trunk@16457 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'libs/tgl/src/mtproto-utils.h')
-rw-r--r--libs/tgl/src/mtproto-utils.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libs/tgl/src/mtproto-utils.h b/libs/tgl/src/mtproto-utils.h
new file mode 100644
index 0000000000..e9bb6aeef3
--- /dev/null
+++ b/libs/tgl/src/mtproto-utils.h
@@ -0,0 +1,7 @@
+#ifndef __MTPROTO_UTILS_H__
+#define __MTPROTO_UTILS_H__
+#include <openssl/bn.h>
+int tglmp_check_DH_params (struct tgl_state *TLS, BIGNUM *p, int g);
+int tglmp_check_g_a (struct tgl_state *TLS, BIGNUM *p, BIGNUM *g_a);
+int bn_factorize (BIGNUM *pq, BIGNUM *p, BIGNUM *q);
+#endif