Commit Graph

  • 40412b1930
    Merge #774: tests: Abort if malloc() fails during context cloning tests Tim Ruffing 2020-07-28 12:34:35 +02:00
  • 2e1b9e0458 tests: Abort if malloc() fails during context cloning tests Tim Ruffing 2020-07-27 13:43:28 +02:00
  • 67a429f31f Suppress a harmless variable-time optimization by clang in _int_cmov Tim Ruffing 2020-07-27 14:35:05 +02:00
  • 5b196338f0 Remove redundant "? 1 : 0" after comparisons in scalar code Tim Ruffing 2020-07-25 00:28:10 +02:00
  • 3e5cfc5c73
    Merge #741: Remove unnecessary sign variable from wnaf_const Tim Ruffing 2020-07-26 12:18:17 +02:00
  • 66bb9320c0
    Merge #773: Fix some compile problems on weird/old compilers. Tim Ruffing 2020-07-26 11:05:08 +02:00
  • 1309c03c45 Fix some compile problems on weird/old compilers. Gregory Maxwell 2020-07-26 05:25:14 +00:00
  • fabc8f74e7 Fix typo in MuSig documentation. Jason Davies 2020-05-06 11:17:29 +01:00
  • 96201b4f6e Require message in musig protocol in an earlier state. In particular, remove the set_msg function and require the message in get_public_nonce at the latest. Jonas Nick 2019-06-21 08:43:18 +00:00
  • 4fd0d56e37 Fix my_index in musig state machine tests Jonas Nick 2019-06-21 14:12:01 +00:00
  • b74f2dc478 Remove mentions of DER in H derivation. Jonas Nick 2019-08-19 14:00:27 +00:00
  • b368a5d163 Fix ARG_NONNULL macro usage in musig include Jonas Nick 2019-08-19 08:35:15 +00:00
  • bedff79848 Add cplusplus directive to musig include Jonas Nick 2019-08-19 08:29:11 +00:00
  • 9957307c3f Fix explanation of H derivation. It doesn't use DER encoding. Jonas Nick 2019-08-18 15:56:44 +00:00
  • d924027765 Add tweak32 parameter to musig_partial_sig_combine which allows to sign for p2c/taproot commitments Jonas Nick 2019-06-22 18:21:22 +00:00
  • a4410ac779 Add musig module tests to travis Jonas Nick 2019-06-25 08:51:53 +00:00
  • d6738e890e surjection proof: Reject proofs with too many used inputs in reduced mode Tim Ruffing 2019-06-05 11:15:11 +02:00
  • bd70820123 allow reducing surjection proof size (to lower generation stack usage) Roman Zeyde 2019-05-30 09:04:40 +03:00
  • 56f69d979f surjectionproof: introduce SECP256K1_SURJECTIONPROOF_MAX_USED_INPUTS constant and set it to 16 Andrew Poelstra 2019-04-30 23:04:08 +00:00
  • b8a3ff5f3b surjectionproof: reduce stack usage Andrew Poelstra 2019-04-30 22:46:05 +00:00
  • 68d937fe11 surjectionproof: fix malleability in surjection proof parsing Andrew Poelstra 2019-06-03 21:50:40 +00:00
  • 41bc9ce129 surjectionproof: add test vectors for "set padding bits" Andrew Poelstra 2019-06-03 21:45:48 +00:00
  • b0644d4ab3 surjectionproof: add fixed test vectors Andrew Poelstra 2019-04-30 21:39:14 +00:00
  • c0415eb0cb Fix read of wrong buffer (and OOB) in surjectionproof tests Tim Ruffing 2019-06-04 14:33:08 +02:00
  • 00fffeb172 Improve comments for surctionproof init+alloc/destroy funcs Dmitry Petukhov 2019-05-26 18:37:29 +05:00
  • 2dc868f35b work in progress: add _allocate_initialized/destroy funcs Dmitry Petukhov 2019-04-21 21:23:13 +05:00
  • 0d4ee3c62d Improve explanation of key cancellation attack in whitelist.md Jonas Nick 2019-03-28 19:32:17 +00:00
  • 2a1750dedd Clarify how to derive alternative generator H Jonas Nick 2019-05-12 11:13:18 +00:00
  • ed7394f005 Add bench_generator and bench_rangeproof to .gitignore Roman Zeyde 2019-05-14 22:04:23 +03:00
  • 9dd117fd2b Clean up ./configure help strings (zkp extensions) Tim Ruffing 2019-04-05 21:26:19 +02:00
  • f35b5e271f Fix a small typo in the generator parameter name Roman Zeyde 2019-04-11 17:59:58 +03:00
  • 068f03c35b generator: remove CHECK abort calls exposed by public API Andrew Poelstra 2019-03-27 20:07:15 +00:00
  • 3424cb1fa3 musig: add user documentation Andrew Poelstra 2019-02-08 19:31:28 +00:00
  • 13ef445721 Add 3-of-3 MuSig example Jonas Nick 2018-12-22 22:15:19 +00:00
  • b86c210747 Add MuSig module which allows creating n-of-n multisignatures and adaptor signatures. Jonas Nick 2018-12-22 22:12:35 +00:00
  • c59c602dd6 Add schnorrsig module which implements BIP-schnorr [0] compatible signing, verification and batch verification. Andrew Poelstra 2018-05-09 15:37:35 +00:00
  • a1f16a0a53 add chacha20 function Andrew Poelstra 2018-04-03 22:06:07 +00:00
  • 3cdc02ef8a use proper types for rangeproof min/max Gregory Sanders 2019-01-03 14:18:39 -05:00
  • cf21c9d715 rangeproof: reduce iteration count in unit tests Andrew Poelstra 2019-01-03 19:17:05 +00:00
  • 0dfb356f95 Enable more builds with rest of experimental flags Gregory Sanders 2019-01-03 13:45:36 -05:00
  • 4c231568fb Add explanation about how BIP32 unhardened derivation can be used to simplify whitelisting Jonas Nick 2018-11-19 15:43:08 +00:00
  • f416e039bb Add comment to explain effect of max_n_iterations in surjectionproof_init Jonas Nick 2018-04-17 22:34:01 +00:00
  • 936d62f248 add unit test for generator and pedersen commitment roundtripping Andrew Poelstra 2018-10-08 05:15:34 +00:00
  • e06540de8c rangeproof: fix serialization of pedersen commintments Andrew Poelstra 2018-10-08 05:17:26 +00:00
  • edb879f578 rangeproof: verify correctness of pedersen commitments when parsing Andrew Poelstra 2018-10-02 18:03:05 +00:00
  • fca4c3b62f generator: verify correctness of point when parsing Andrew Poelstra 2018-10-02 16:23:35 +00:00
  • c50b218698 rangeproof: check that points deserialize correctly when verifying rangeproof Andrew Poelstra 2018-10-02 16:23:08 +00:00
  • c33e597245 rangeproof: add fixed vector test case Andrew Poelstra 2018-10-02 17:58:39 +00:00
  • 0c5cb7cd08 Expose generator in shared library Frank V. Castellucci 2018-07-25 13:30:11 -04:00
  • dbc49df80c fix spelling in documentation Gregory Sanders 2018-06-20 11:43:18 -04:00
  • 47be098bac Test for rejection of trailing bytes in range proofs Tim Ruffing 2018-05-24 13:23:08 +02:00
  • 16aaa4a02c Test for rejection of trailing bytes in surjection proofs Tim Ruffing 2018-05-23 15:59:01 +02:00
  • 949e994cb3 Reject surjection proofs with trailing garbage Tim Ruffing 2018-05-23 14:56:14 +02:00
  • c87618157e Minor bugfix. Wrong length due to NUL character. datavetaren 2018-05-16 05:02:21 +02:00
  • fc3dc94049 Add whitelisting benchmark Jonas Nick 2018-03-16 13:55:55 +00:00
  • edc7cb6cdd add whitelist_impl.h to include for dist Gregory Sanders 2018-02-13 16:28:30 -05:00
  • 4320490e88 generator: add API tests Andrew Poelstra 2017-08-30 18:08:40 +00:00
  • 126493ef01 generator: remove unnecessary ARG_CHECK from generate() Andrew Poelstra 2017-08-30 17:59:26 +00:00
  • 253f131310 Fix generator makefile Gregory Sanders 2017-08-15 22:39:26 -04:00
  • 3997128ad9 Fix pedersen_blind_generator_blind_sum return value documentation Jonas Nick 2017-07-10 18:56:00 +02:00
  • 04f4c09111 Add n_keys argument to whitelist_verify Jonas Nick 2017-07-10 18:51:16 +02:00
  • dbf3d752a8 Fix checks of whitelist serialize/parse arguments Jonas Nick 2017-06-27 12:14:29 +02:00
  • 29d0d562dc whitelist: fix serialize/parse API to take serialized length Andrew Poelstra 2017-06-26 17:08:47 +00:00
  • 660ad39fb3 Fix include/secp256k1_rangeproof.h function argument documentation. Jonas Nick 2017-05-09 01:46:55 +02:00
  • e13bdf2f23 rangeproof: add API tests Andrew Poelstra 2017-05-03 18:08:31 +00:00
  • 18c5c62b45 surjectionproof: rename unit test functions to be more consistent with other modules Andrew Poelstra 2017-05-03 17:06:39 +00:00
  • 5f1ad03d00 surjectionproof: add API unit tests Andrew Poelstra 2017-05-02 16:54:14 +00:00
  • f858a4e3d5 surjectionproof: tests_impl.h s/assert/CHECK/g Andrew Poelstra 2017-05-02 13:50:58 +00:00
  • 002002e735 rangeproof: fix memory leak in unit tests Andrew Poelstra 2017-04-22 18:31:28 +00:00
  • ba8b4f53ef add surjection proof module Andrew Poelstra 2016-07-01 15:51:07 +00:00
  • 8c77fe1590 Implement ring-signature based whitelist delegation scheme Andrew Poelstra 2016-04-21 22:22:39 +00:00
  • 94425d4a67 rangeproof: several API changes Andrew Poelstra 2016-07-06 15:44:09 +00:00
  • f6c84a02f3 Expose generator in pedersen/rangeproof API Pieter Wuille 2016-07-06 13:46:23 +02:00
  • 360e218043 Constant-time generator module Pieter Wuille 2016-07-07 00:47:41 +02:00
  • e7a8a5f638 rangeproof: expose sidechannel message field in the signing API Andrew Poelstra 2016-07-05 15:46:07 +00:00
  • a88db4a744 [RANGEPROOF BREAK] Use quadratic residue for tie break and modularity cleanup Andrew Poelstra 2016-07-04 13:04:57 +00:00
  • 16618fcd8d Pedersen commitments, borromean ring signatures, and ZK range proofs. Gregory Maxwell 2015-08-05 19:04:14 +02:00
  • 3cf8f70ba1 Add 64-bit integer utilities Greg Maxwell 2015-08-05 16:17:50 +02:00
  • 2309c7dd4a
    Merge #769: Undef HAVE___INT128 in basic-config.h to fix gen_context compilation Jonas Nick 2020-07-21 19:12:43 +00:00
  • 22e578bb11 Undef HAVE___INT128 in basic-config.h to fix gen_context compilation Tim Ruffing 2020-07-21 11:09:23 +02:00
  • 3f4a5a10e4
    Merge #765: remove dead store in ecdsa_signature_parse_der_lax Jonas Nick 2020-06-29 08:38:20 +00:00
  • f00d6575ca
    remove dead store in ecdsa_signature_parse_der_lax fanquake 2020-06-29 13:17:24 +08:00
  • dbd41db16a
    Merge #759: Fix uninitialized variables in ecmult_multi test Tim Ruffing 2020-06-15 16:00:10 +02:00
  • 2e7fc5b537 Fix uninitialized variables in ecmult_multi test Jonas Nick 2020-06-15 09:02:14 +00:00
  • 2ed54da18a
    Merge #755: Recovery signing: add to constant time test, and eliminate non ct operators Tim Ruffing 2020-06-08 15:44:06 +02:00
  • 28609507e7
    Add tests for the cmov implementations Elichai Turkel 2020-05-31 14:14:05 +03:00
  • 73596a85a2
    Add ecdsa_sign_recoverable to the ctime tests Elichai Turkel 2020-05-27 00:38:46 +03:00
  • 2876af4f8d
    Split ecdsa_sign logic into a new function and use it from ecdsa_sign and recovery Elichai Turkel 2020-05-27 00:37:59 +03:00
  • 5e1c885efb
    Merge #754: Fix uninit values passed into cmov Tim Ruffing 2020-06-02 18:03:42 +02:00
  • f79a7adcf5
    Add valgrind uninit check to cmovs output Elichai Turkel 2020-05-20 15:12:09 +03:00
  • 05d315affe
    Merge #752: autoconf: Use ":" instead of "dnl" as a noop Tim Ruffing 2020-05-22 13:30:25 +02:00
  • a39c2b09de
    Fixed UB(arithmetics on uninit values) in cmovs Elichai Turkel 2020-05-20 15:09:13 +03:00
  • 3a6fd7f636
    Merge #750: Add macOS to the CI Jonas Nick 2020-05-18 19:38:41 +00:00
  • 5e8747ae2a autoconf: Use ":" instead of "dnl" as a noop Tim Ruffing 2020-05-18 12:27:14 +02:00
  • 71757da5cc
    Explictly pass SECP256K1_BENCH_ITERS to the benchmarks in travis.sh Elichai Turkel 2020-05-07 16:07:37 +03:00
  • 99bd661d71
    Replace travis_wait with a loop printing "\a" to stdout every minute Elichai Turkel 2020-05-03 18:01:28 +03:00
  • bc818b160c
    Bump travis Ubuntu from xenial(16.04) to bionic(18.04) Elichai Turkel 2020-05-02 22:06:46 +03:00
  • 0c5ff9066e
    Add macOS support to travis Elichai Turkel 2020-05-02 22:06:04 +03:00
  • b6807d91d8
    Move travis script into a standalone sh file Elichai Turkel 2020-05-02 21:58:42 +03:00
  • dc4181ae30
    Merge pull request #90 from plutomonkey/typo secp256k1-zkp-2020-07-24 Tim Ruffing 2020-05-06 14:12:45 +02:00