xref: /openssl/include/crypto/bn_dh.h (revision 8020d79b)
1 /*
2  * Copyright 2015-2021 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 ossl_bignum_dh##x##_p;              \
12     extern const BIGNUM ossl_bignum_dh##x##_q;              \
13     extern const BIGNUM ossl_bignum_dh##x##_g;              \
14 
15 declare_dh_bn(1024_160)
16 declare_dh_bn(2048_224)
17 declare_dh_bn(2048_256)
18 
19 extern const BIGNUM ossl_bignum_const_2;
20 
21 extern const BIGNUM ossl_bignum_ffdhe2048_p;
22 extern const BIGNUM ossl_bignum_ffdhe3072_p;
23 extern const BIGNUM ossl_bignum_ffdhe4096_p;
24 extern const BIGNUM ossl_bignum_ffdhe6144_p;
25 extern const BIGNUM ossl_bignum_ffdhe8192_p;
26 extern const BIGNUM ossl_bignum_ffdhe2048_q;
27 extern const BIGNUM ossl_bignum_ffdhe3072_q;
28 extern const BIGNUM ossl_bignum_ffdhe4096_q;
29 extern const BIGNUM ossl_bignum_ffdhe6144_q;
30 extern const BIGNUM ossl_bignum_ffdhe8192_q;
31 
32 extern const BIGNUM ossl_bignum_modp_1536_p;
33 extern const BIGNUM ossl_bignum_modp_2048_p;
34 extern const BIGNUM ossl_bignum_modp_3072_p;
35 extern const BIGNUM ossl_bignum_modp_4096_p;
36 extern const BIGNUM ossl_bignum_modp_6144_p;
37 extern const BIGNUM ossl_bignum_modp_8192_p;
38 extern const BIGNUM ossl_bignum_modp_1536_q;
39 extern const BIGNUM ossl_bignum_modp_2048_q;
40 extern const BIGNUM ossl_bignum_modp_3072_q;
41 extern const BIGNUM ossl_bignum_modp_4096_q;
42 extern const BIGNUM ossl_bignum_modp_6144_q;
43 extern const BIGNUM ossl_bignum_modp_8192_q;
44