]> git.ipfire.org Git - thirdparty/openssl.git/blame - include/crypto/bn_dh.h
Add DH keygen to providers
[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
BK
11 extern const BIGNUM _bignum_dh##x##_p; \
12 extern const BIGNUM _bignum_dh##x##_g; \
13 extern const BIGNUM _bignum_dh##x##_q;
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;
ca2bf555
SL
26
27extern const BIGNUM _bignum_modp_1536_p;
28extern const BIGNUM _bignum_modp_2048_p;
29extern const BIGNUM _bignum_modp_3072_p;
30extern const BIGNUM _bignum_modp_4096_p;
31extern const BIGNUM _bignum_modp_6144_p;
32extern const BIGNUM _bignum_modp_8192_p;