num_impl.h 667 B

12345678910111213141516171819202122232425
  1. /**********************************************************************
  2. * Copyright (c) 2013, 2014 Pieter Wuille *
  3. * Distributed under the MIT software license, see the accompanying *
  4. * file COPYING or http://www.opensource.org/licenses/mit-license.php.*
  5. **********************************************************************/
  6. #ifndef _SECP256K1_NUM_IMPL_H_
  7. #define _SECP256K1_NUM_IMPL_H_
  8. #if defined HAVE_CONFIG_H
  9. #include "libsecp256k1-config.h"
  10. #endif
  11. #include "num.h"
  12. #if defined(USE_NUM_GMP)
  13. #include "num_gmp_impl.h"
  14. #elif defined(USE_NUM_NONE)
  15. /* Nothing. */
  16. #else
  17. #error "Please select num implementation"
  18. #endif
  19. #endif