Enable export_to functions to have access to the libctx
[openssl.git] / include / crypto / bn_dh.h
1 /*
2  * Copyright 2015-2020 The OpenSSL Project Authors. All Rights Reserved.
3  *
4  * Licensed under the Apache License 2.0 (the "License").  You may not use
5  * this file except in compliance with the License.  You can obtain a copy
6  * in the file LICENSE in the source distribution or at
7  * https://www.openssl.org/source/license.html
8  */
9
10 #define declare_dh_bn(x) \
11     extern const BIGNUM _bignum_dh##x##_p;              \
12     extern const BIGNUM _bignum_dh##x##_g;              \
13     extern const BIGNUM _bignum_dh##x##_q;
14
15 declare_dh_bn(1024_160)
16 declare_dh_bn(2048_224)
17 declare_dh_bn(2048_256)
18
19 extern const BIGNUM _bignum_ffdhe2048_p;
20 extern const BIGNUM _bignum_ffdhe3072_p;
21 extern const BIGNUM _bignum_ffdhe4096_p;
22 extern const BIGNUM _bignum_ffdhe6144_p;
23 extern const BIGNUM _bignum_ffdhe8192_p;
24 extern const BIGNUM _bignum_const_2;
25
26 extern const BIGNUM _bignum_modp_1536_p;
27 extern const BIGNUM _bignum_modp_2048_p;
28 extern const BIGNUM _bignum_modp_3072_p;
29 extern const BIGNUM _bignum_modp_4096_p;
30 extern const BIGNUM _bignum_modp_6144_p;
31 extern const BIGNUM _bignum_modp_8192_p;