diff options
author | Chun Kuan Lee <ken2812221@gmail.com> | 2018-10-02 23:40:52 +0800 |
---|---|---|
committer | Chun Kuan Lee <ken2812221@gmail.com> | 2019-02-01 00:28:49 +0800 |
commit | 52091066be15a86a38c4db182338808f9316c35a (patch) | |
tree | 644e3457f541f236fff0e0c288ea979bdbea5f25 /build_msvc/libsecp256k1_config.h | |
parent | 252fd15addf1cd061c3b6258ad916df7deeecf83 (diff) |
msvc: build secp256k1 locally
Diffstat (limited to 'build_msvc/libsecp256k1_config.h')
-rw-r--r-- | build_msvc/libsecp256k1_config.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/build_msvc/libsecp256k1_config.h b/build_msvc/libsecp256k1_config.h new file mode 100644 index 0000000000..5187c946a0 --- /dev/null +++ b/build_msvc/libsecp256k1_config.h @@ -0,0 +1,29 @@ +/********************************************************************** + * Copyright (c) 2013, 2014 Pieter Wuille * + * Distributed under the MIT software license, see the accompanying * + * file COPYING or http://www.opensource.org/licenses/mit-license.php.* + **********************************************************************/ + +#ifndef BITCOIN_LIBSECP256K1_CONFIG_H +#define BITCOIN_LIBSECP256K1_CONFIG_H + +#undef USE_ASM_X86_64 +#undef USE_ENDOMORPHISM +#undef USE_FIELD_10X26 +#undef USE_FIELD_5X52 +#undef USE_FIELD_INV_BUILTIN +#undef USE_FIELD_INV_NUM +#undef USE_NUM_GMP +#undef USE_NUM_NONE +#undef USE_SCALAR_4X64 +#undef USE_SCALAR_8X32 +#undef USE_SCALAR_INV_BUILTIN +#undef USE_SCALAR_INV_NUM + +#define USE_NUM_NONE 1 +#define USE_FIELD_INV_BUILTIN 1 +#define USE_SCALAR_INV_BUILTIN 1 +#define USE_FIELD_10X26 1 +#define USE_SCALAR_8X32 1 + +#endif /* BITCOIN_LIBSECP256K1_CONFIG_H */ |