bn_dh.h 876 B

12345678910111213141516171819202122232425
  1. #include <contrib/libs/openssl/redef.h>
  2. /*
  3. * Copyright 2015-2016 The OpenSSL Project Authors. All Rights Reserved.
  4. *
  5. * Licensed under the OpenSSL license (the "License"). You may not use
  6. * this file except in compliance with the License. You can obtain a copy
  7. * in the file LICENSE in the source distribution or at
  8. * https://www.openssl.org/source/license.html
  9. */
  10. #define declare_dh_bn(x) \
  11. extern const BIGNUM _bignum_dh##x##_p; \
  12. extern const BIGNUM _bignum_dh##x##_g; \
  13. extern const BIGNUM _bignum_dh##x##_q;
  14. declare_dh_bn(1024_160)
  15. declare_dh_bn(2048_224)
  16. declare_dh_bn(2048_256)
  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_const_2;