1 #ifndef __MTPROTO_UTILS_H__
2 #define __MTPROTO_UTILS_H__
3 #include "crypto/bn.h"
4 int tglmp_check_DH_params (struct tgl_state *TLS, TGLC_bn *p, int g);
5 int tglmp_check_g_a (struct tgl_state *TLS, TGLC_bn *p, TGLC_bn *g_a);
6 int bn_factorize (TGLC_bn *pq, TGLC_bn *p, TGLC_bn *q);
7 #endif
8