]> git.ipfire.org Git - thirdparty/openssl.git/blame - include/crypto/bn_dh.h
Fix DH_get_nid() so that it does not cache values.
[thirdparty/openssl.git] / include / crypto / bn_dh.h
CommitLineData
aa6bb135 1/*
ca2bf555 2 * Copyright 2015-2020 The OpenSSL Project Authors. All Rights Reserved.
aa6bb135 3 *
48f4ad77 4 * Licensed under the Apache License 2.0 (the "License"). You may not use
aa6bb135
RS
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
2f1a5d16 10#define declare_dh_bn(x) \
f44903a4 11 extern const BIGNUM _bignum_dh##x##_p; \
738ee181 12 extern const BIGNUM _bignum_dh##x##_q; \
f44903a4 13 extern const BIGNUM _bignum_dh##x##_g; \
2f1a5d16
BL
14
15declare_dh_bn(1024_160)
16declare_dh_bn(2048_224)
17declare_dh_bn(2048_256)
7806a782 18
7165593c
SL
19extern const BIGNUM _bignum_const_2;
20
7806a782
DSH
21extern const BIGNUM _bignum_ffdhe2048_p;
22extern const BIGNUM _bignum_ffdhe3072_p;
23extern const BIGNUM _bignum_ffdhe4096_p;
24extern const BIGNUM _bignum_ffdhe6144_p;
25extern const BIGNUM _bignum_ffdhe8192_p;
738ee181
SL
26extern const BIGNUM _bignum_ffdhe2048_q;
27extern const BIGNUM _bignum_ffdhe3072_q;
28extern const BIGNUM _bignum_ffdhe4096_q;
29extern const BIGNUM _bignum_ffdhe6144_q;
30extern const BIGNUM _bignum_ffdhe8192_q;
ca2bf555
SL
31
32extern const BIGNUM _bignum_modp_1536_p;
33extern const BIGNUM _bignum_modp_2048_p;
34extern const BIGNUM _bignum_modp_3072_p;
35extern const BIGNUM _bignum_modp_4096_p;
36extern const BIGNUM _bignum_modp_6144_p;
37extern const BIGNUM _bignum_modp_8192_p;
738ee181
SL
38extern const BIGNUM _bignum_modp_1536_q;
39extern const BIGNUM _bignum_modp_2048_q;
40extern const BIGNUM _bignum_modp_3072_q;
41extern const BIGNUM _bignum_modp_4096_q;
42extern const BIGNUM _bignum_modp_6144_q;
43extern const BIGNUM _bignum_modp_8192_q;