bn_dh.h 836 B

123456789101112131415161718192021222324
  1. /*
  2. * Copyright 2015-2016 The OpenSSL Project Authors. All Rights Reserved.
  3. *
  4. * Licensed under the OpenSSL license (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##_g; \
  12. extern const BIGNUM _bignum_dh##x##_q;
  13. declare_dh_bn(1024_160)
  14. declare_dh_bn(2048_224)
  15. declare_dh_bn(2048_256)
  16. extern const BIGNUM _bignum_ffdhe2048_p;
  17. extern const BIGNUM _bignum_ffdhe3072_p;
  18. extern const BIGNUM _bignum_ffdhe4096_p;
  19. extern const BIGNUM _bignum_ffdhe6144_p;
  20. extern const BIGNUM _bignum_ffdhe8192_p;
  21. extern const BIGNUM _bignum_const_2;