bn_dh.h 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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. #define declare_dh_bn(x) \
  10. extern const BIGNUM _bignum_dh##x##_p; \
  11. extern const BIGNUM _bignum_dh##x##_q; \
  12. extern const BIGNUM _bignum_dh##x##_g; \
  13. declare_dh_bn(1024_160)
  14. declare_dh_bn(2048_224)
  15. declare_dh_bn(2048_256)
  16. extern const BIGNUM _bignum_const_2;
  17. extern const BIGNUM _bignum_ffdhe2048_p;
  18. extern const BIGNUM _bignum_ffdhe3072_p;
  19. extern const BIGNUM _bignum_ffdhe4096_p;
  20. extern const BIGNUM _bignum_ffdhe6144_p;
  21. extern const BIGNUM _bignum_ffdhe8192_p;
  22. extern const BIGNUM _bignum_ffdhe2048_q;
  23. extern const BIGNUM _bignum_ffdhe3072_q;
  24. extern const BIGNUM _bignum_ffdhe4096_q;
  25. extern const BIGNUM _bignum_ffdhe6144_q;
  26. extern const BIGNUM _bignum_ffdhe8192_q;
  27. extern const BIGNUM _bignum_modp_1536_p;
  28. extern const BIGNUM _bignum_modp_2048_p;
  29. extern const BIGNUM _bignum_modp_3072_p;
  30. extern const BIGNUM _bignum_modp_4096_p;
  31. extern const BIGNUM _bignum_modp_6144_p;
  32. extern const BIGNUM _bignum_modp_8192_p;
  33. extern const BIGNUM _bignum_modp_1536_q;
  34. extern const BIGNUM _bignum_modp_2048_q;
  35. extern const BIGNUM _bignum_modp_3072_q;
  36. extern const BIGNUM _bignum_modp_4096_q;
  37. extern const BIGNUM _bignum_modp_6144_q;
  38. extern const BIGNUM _bignum_modp_8192_q;