Commit Graph

21 Commits

Author SHA1 Message Date
Elichai Turkel 79a1847c02
Remove always debug mode
This is checked automatically using the DEBUG env variable
2019-10-01 15:35:25 -04:00
Wladimir J. van der Laan 62b9f06104 build.rs: Add feature 'lowmemory' to reduce memory usage
Currently, this only set `ECMULT_WINDOW_SIZE` to 4 instead of 15.

Fixes #139.

fixup
2019-08-12 19:21:22 +02:00
Elichai Turkel f7a4a7ef57
Added manual external callbacks that panics 2019-07-03 17:48:35 -04:00
Elichai Turkel 0b770cf407
Added ECMULT window size 2019-07-03 17:48:35 -04:00
Jonas Nick 179f35e0ba Move libsecp USE_ENDOMORPHISM option behind non-default feature flag 2019-06-13 06:38:18 +00:00
Jonas Nick 16da1a854c Move recovery ffi into recovery module and feature gate C-secp recovery module 2019-05-21 07:52:08 +00:00
Pierre Krieger fba7dfbda2 Fix cargo warning output and wrong pointer width (#88)
Fix cargo warning output and wrong pointer width

Co-Authored-By: tomaka <pierre.krieger1708@gmail.com>
2019-01-09 13:15:28 +01:00
Tim Ruffing 28c7881643 Build C with debug information also on MSVC 2018-12-07 22:18:22 +01:00
Andrew Poelstra f528135104 fix build.rs on Windows 2018-10-28 15:15:40 +00:00
Michał Papierski 3b86de9b0f Use correct flag on big endian machines.
This will fix `tests::sign` test case on mips/mips64. Verified with
`cross`[1] tool.

    cross test --target mips-unknown-linux-gnu
    cross test --target mips64el-unknown-linux-gnuabi64

Unfortunately this fix doesn't make `tests::test_debug_output` test case
pass, but this is about debug output so its not as critical as this
patch. See #63 for a discussion.

[1]: https://github.com/japaric/rust-cross
2018-08-31 10:29:00 +02:00
Andrew Poelstra 5cd4533375 add warning if uint128_t detection fails 2018-08-21 18:41:42 +00:00
Andrew Poelstra 5a27abab52 switch to 64-bit compilation; add flag for 32-bit 2018-08-21 18:38:52 +00:00
Andrew Poelstra 6f27422c4c update gcc 0.3 to cc 1.0 2018-07-30 02:53:35 +00:00
Andrew Poelstra a9f479c1f8 build.rs: change build flags to eliminate compiler warnings 2018-07-24 17:31:29 +00:00
Roman Zeyde 5442e710a8 Remove Schnorr support
It was removed from bitcoin-core/libsecp256k1 at e06e878fd7dcc99825025fa99aedb86bc7d5c29f
2018-07-09 15:10:38 +03:00
Andrew Poelstra fa7dc40254 rename gcc::Config to gcc::Build 2017-12-19 22:40:24 +00:00
Andrew Poelstra 458a3d9417 Update libsecp to latest master, c18b869e58aa4d3bff6958f370f6b643d1223c44 2016-01-14 18:35:54 +00:00
Andrew Poelstra 8aa2569818 Expose Schnorr sign/verify 2015-12-15 12:47:07 -06:00
Andrew Poelstra e5c1b42e3c Upgrades for Travis 2015-10-26 16:26:45 -05:00
Andrew Poelstra 8e984c5912 Add "lax DER" support; bump major version number for recent build system changes 2015-10-26 12:59:40 -05:00
Andrew Poelstra e7ca836c2b Switch to static linking of secp256k1
Pieter moved some stuff I need into the contrib/ directory which does
not expose anything through the shared lib, so I need to statically
link.

I might also use this to do evil things to expose the SHA256 code
in libsecp, but not for now ;).
2015-10-26 10:28:01 -05:00