Commit Graph

  • dbed75d969 Undefine STATIC_PRECOMPUTATION if using the basic config DesWurstes 2019-02-25 11:36:39 +03:00
  • 310111e093
    Keep LDFLAGS if --coverage DesWurstes 2019-02-25 11:34:52 +03:00
  • 85d0e1bcce
    Merge #591: Make bench_internal obey secp256k1_fe_sqrt's contract wrt aliasing. Gregory Maxwell 2019-02-24 18:34:15 +00:00
  • 14196379ec
    Merge #580: Add trivial ecmult_multi algorithm which does not require a scratch space Gregory Maxwell 2019-02-24 03:01:31 +00:00
  • a697d82da9 Add trivial ecmult_multi to the benchmark tool Jonas Nick 2019-02-23 20:22:30 +00:00
  • bade617417 Add trivial ecmult_multi algorithm. It is selected when no scratch space is given and just multiplies and adds the points. Jonas Nick 2018-12-20 20:48:19 +00:00
  • 5545e13dea
    Merge #584: configure: Use CFLAGS_FOR_BUILD when checking native compiler Gregory Maxwell 2019-02-22 01:28:04 +00:00
  • 1bbad3a04b
    Merge pull request #45 from apoelstra/2019-02-musig-docs Andrew Poelstra 2019-02-21 17:10:21 +00:00
  • f6a6bca22f musig: remove musig_session API docs about session ID reuse; link to Blockstream blog post Andrew Poelstra 2019-02-21 15:02:13 +00:00
  • 20c5869df2
    Merge #516: improvements to random seed in src/tests.c Gregory Maxwell 2019-02-21 11:42:08 +00:00
  • b76e45d5d6 Make bench_internal obey secp256k1_fe_sqrt's contract wrt aliasing. Gregory Maxwell 2019-02-21 05:58:33 +00:00
  • 870a977644
    Merge #562: Make use of TAG_PUBKEY constants in secp256k1_eckey_pubkey_parse Gregory Maxwell 2019-02-21 05:32:47 +00:00
  • be40c4d0b5 Fixup for C90 mixed declarations. Gregory Maxwell 2019-02-21 05:00:29 +00:00
  • c71dd2c08f
    Merge #509: Fix algorithm selection in bench_ecmult Gregory Maxwell 2019-02-21 04:45:39 +00:00
  • 6492bf88cc
    Merge #518: Summarize build options after running configure Gregory Maxwell 2019-02-21 04:42:43 +00:00
  • 0e9ada1941
    Merge #567: Correct order of libs returned on pkg-config --libs --static libsecp2… Gregory Maxwell 2019-02-21 04:35:57 +00:00
  • e96901a4b9
    Merge #587: Make randomization of a non-signing context a noop Gregory Maxwell 2019-02-21 04:31:26 +00:00
  • 58df8d03ad
    Merge #511: Portability fix for the configure scripts generated Gregory Maxwell 2019-02-21 04:27:36 +00:00
  • 2ebdad772a
    Merge #552: Make constants static: Gregory Maxwell 2019-02-21 04:24:37 +00:00
  • 1c131affd3
    Merge #551: secp256k1_fe_sqrt: Verify that the arguments don't alias. Gregory Maxwell 2019-02-21 04:21:54 +00:00
  • ba698f883b
    Merge #539: Assorted minor corrections Gregory Maxwell 2019-02-21 04:17:54 +00:00
  • 949e85b009
    Merge #550: Optimize secp256k1_fe_normalize_weak calls. Gregory Maxwell 2019-02-21 04:11:07 +00:00
  • 89b7f5b73b f nits Andrew Poelstra 2019-02-20 15:25:47 +00:00
  • 792d504315
    Update musig.md Janus Troelsen 2019-02-18 16:30:31 +01:00
  • 9125c16622 f remove markdown indentation Andrew Poelstra 2019-02-12 14:54:29 +00:00
  • 0512dd2ba9 f reword adaptor signature stuf Andrew Poelstra 2019-02-12 14:53:36 +00:00
  • 8cab1c5cae f more nits Andrew Poelstra 2019-02-12 14:43:14 +00:00
  • 0492592010 f replace C by L Andrew Poelstra 2019-02-12 14:39:03 +00:00
  • 6b0b22bc89 musig: add user documentation Andrew Poelstra 2019-02-08 19:31:28 +00:00
  • a34bcaadf1 Actually pass CFLAGS_FOR_BUILD and LDFLAGS_FOR_BUILD to linker Tim Ruffing 2019-02-10 11:58:52 +01:00
  • 2d5f4cebdc configure: Use CFLAGS_FOR_BUILD when checking native compiler Tim Ruffing 2019-01-16 17:12:38 +01:00
  • d5e22a59f6
    Merge pull request #35 from jonasnick/2018-10-musig Andrew Poelstra 2019-02-07 00:19:41 +00:00
  • 2fc700a943 Add 3-of-3 MuSig example Jonas Nick 2018-12-22 22:15:19 +00:00
  • 77d5b4ac7d Add MuSig module which allows creating n-of-n multisignatures and adaptor signatures. Jonas Nick 2018-12-22 22:12:35 +00:00
  • b408c6a8b2
    Merge #579: Use __GNUC_PREREQ for detecting __builtin_expect Pieter Wuille 2019-02-04 14:30:56 -08:00
  • f0e4bb9283 Add schnorrsig module which implements BIP-schnorr [0] compatible signing, verification and batch verification. Andrew Poelstra 2018-05-09 15:37:35 +00:00
  • 8260800491 add chacha20 function Andrew Poelstra 2018-04-03 22:06:07 +00:00
  • 6198375218 Make randomization of a non-signing context a noop Tim Ruffing 2019-01-27 13:17:37 +01:00
  • 43dd1f4fe7
    Merge pull request #40 from instagibbs/size_t Andrew Poelstra 2019-01-03 22:56:58 +00:00
  • 6532fa0a96
    Merge pull request #39 from instagibbs/more_builds Andrew Poelstra 2019-01-03 22:56:50 +00:00
  • 2b2429dfaa rangeproof: reduce iteration count in unit tests Andrew Poelstra 2019-01-03 19:17:05 +00:00
  • 12b0e5dda7 Enable more builds with rest of experimental flags Gregory Sanders 2019-01-03 13:45:36 -05:00
  • 8c444eef6a use proper types for rangeproof min/max Gregory Sanders 2019-01-03 14:18:39 -05:00
  • 74e2dbd68e JNI: fix use sig array liuyujun 2019-01-03 09:08:58 +08:00
  • ed59fbe8b7 Add trivial ecmult_multi algorithm. It is selected when no scratch space is given and just multiplies and adds the points. Jonas Nick 2018-12-20 20:48:19 +00:00
  • c663397f46 Use __GNUC_PREREQ for detecting __builtin_expect Tim Ruffing 2018-12-17 11:46:54 +01:00
  • 53ad841caf Add explanation about how BIP32 unhardened derivation can be used to simplify whitelisting Jonas Nick 2018-11-19 15:43:08 +00:00
  • 71c5fe0f6e Add comment to explain effect of max_n_iterations in surjectionproof_init Jonas Nick 2018-04-17 22:34:01 +00:00
  • 85fd42fb7e add unit test for generator and pedersen commitment roundtripping Andrew Poelstra 2018-10-08 05:15:34 +00:00
  • 2ccf885419 rangeproof: fix serialization of pedersen commintments Andrew Poelstra 2018-10-08 05:17:26 +00:00
  • 60c173b640 rangeproof: verify correctness of pedersen commitments when parsing Andrew Poelstra 2018-10-02 18:03:05 +00:00
  • 32d7526cd5 generator: verify correctness of point when parsing Andrew Poelstra 2018-10-02 16:23:35 +00:00
  • ae14e8a9d8 rangeproof: check that points deserialize correctly when verifying rangeproof Andrew Poelstra 2018-10-02 16:23:08 +00:00
  • 44fe43d757 rangeproof: add fixed vector test case Andrew Poelstra 2018-10-02 17:58:39 +00:00
  • e065d7df9f Expose generator in shared library Frank V. Castellucci 2018-07-25 13:30:11 -04:00
  • fb1ba329aa fix spelling in documentation Gregory Sanders 2018-06-20 11:43:18 -04:00
  • fb75faa147 Test for rejection of trailing bytes in range proofs Tim Ruffing 2018-05-24 13:23:08 +02:00
  • 9b2cf1708d Test for rejection of trailing bytes in surjection proofs Tim Ruffing 2018-05-23 15:59:01 +02:00
  • a3a1800ba6 Reject surjection proofs with trailing garbage Tim Ruffing 2018-05-23 14:56:14 +02:00
  • 0c77ae9a75 Minor bugfix. Wrong length due to NUL character. datavetaren 2018-05-16 05:02:21 +02:00
  • b1f31bc4b6 Add whitelisting benchmark Jonas Nick 2018-03-16 13:55:55 +00:00
  • 52a9f8f8f3 add whitelist_impl.h to include for dist Gregory Sanders 2018-02-13 16:28:30 -05:00
  • a707865bc5 generator: add API tests Andrew Poelstra 2017-08-30 18:08:40 +00:00
  • ec1ef040f5 generator: remove unnecessary ARG_CHECK from generate() Andrew Poelstra 2017-08-30 17:59:26 +00:00
  • b0e9aa828f Fix generator makefile Gregory Sanders 2017-08-15 22:39:26 -04:00
  • 526c65499f Fix pedersen_blind_generator_blind_sum return value documentation Jonas Nick 2017-07-10 18:56:00 +02:00
  • b51886e722 Add n_keys argument to whitelist_verify Jonas Nick 2017-07-10 18:51:16 +02:00
  • 37c57de083 Fix checks of whitelist serialize/parse arguments Jonas Nick 2017-06-27 12:14:29 +02:00
  • 9b8a9d91eb whitelist: fix serialize/parse API to take serialized length Andrew Poelstra 2017-06-26 17:08:47 +00:00
  • 7f17515609 Fix include/secp256k1_rangeproof.h function argument documentation. Jonas Nick 2017-05-09 01:46:55 +02:00
  • 0d817020d9 rangeproof: add API tests Andrew Poelstra 2017-05-03 18:08:31 +00:00
  • 417bb0643f surjectionproof: rename unit test functions to be more consistent with other modules Andrew Poelstra 2017-05-03 17:06:39 +00:00
  • 1e2d5c1a26 surjectionproof: add API unit tests Andrew Poelstra 2017-05-02 16:54:14 +00:00
  • 7878a298b2 surjectionproof: tests_impl.h s/assert/CHECK/g Andrew Poelstra 2017-05-02 13:50:58 +00:00
  • e609591b66 rangeproof: fix memory leak in unit tests Andrew Poelstra 2017-04-22 18:31:28 +00:00
  • 0c17f7972a add surjection proof module Andrew Poelstra 2016-07-01 15:51:07 +00:00
  • c174f0c609 Implement ring-signature based whitelist delegation scheme Andrew Poelstra 2016-04-21 22:22:39 +00:00
  • a2bc6604f9 rangeproof: several API changes Andrew Poelstra 2016-07-06 15:44:09 +00:00
  • 21bfb3c91a Expose generator in pedersen/rangeproof API Pieter Wuille 2016-07-06 13:46:23 +02:00
  • f4620de040 Constant-time generator module Pieter Wuille 2016-07-07 00:47:41 +02:00
  • d46fc3c191 rangeproof: expose sidechannel message field in the signing API Andrew Poelstra 2016-07-05 15:46:07 +00:00
  • cf40b1bed2 [RANGEPROOF BREAK] Use quadratic residue for tie break and modularity cleanup Andrew Poelstra 2016-07-04 13:04:57 +00:00
  • 6d28767c79 Get rid of precomputed H tables (Pieter Wuille) Andrew Poelstra 2018-03-13 16:33:31 +00:00
  • ae1e576f67 Pedersen commitments, borromean ring signatures, and ZK range proofs. Gregory Maxwell 2015-08-05 19:04:14 +02:00
  • efc61dc0ca Add 64-bit integer utilities Greg Maxwell 2015-08-05 16:17:50 +02:00
  • 3cb057f842 Fix possible integer overflow in DER parsing Tim Ruffing 2018-11-01 12:15:28 +01:00
  • e100037efa
    Merge pull request #34 from jonasnick/add-whitelist-md-bip32 2018-12-14-secp256k1-zkp Andrew Poelstra 2018-12-04 16:15:14 +00:00
  • 0faeeb5dca Add explanation about how BIP32 unhardened derivation can be used to simplify whitelisting Jonas Nick 2018-11-19 15:43:08 +00:00
  • e34ceb333b
    Merge #557: Eliminate scratch memory used when generating contexts Pieter Wuille 2018-11-26 09:12:55 -08:00
  • b3bf5f99a3 ecmult_impl: expand comment to explain how effective affine interacts with everything Andrew Poelstra 2018-11-10 13:42:55 +00:00
  • efa783f8f0 Store z-ratios in the 'x' coord they'll recover Peter Dettman 2018-11-09 14:50:17 +07:00
  • ffd3b346fe add secp256k1_ge_set_all_gej_var test which deals with many infinite points Andrew Poelstra 2018-10-17 19:50:37 +00:00
  • 84740acd2a ecmult_impl: save one fe_inv_var Andrew Poelstra 2018-10-01 21:00:41 +00:00
  • 47045270fa ecmult_impl: eliminate scratch memory used when generating context Andrew Poelstra 2018-09-20 23:34:02 +00:00
  • 7f7a2ed3a8 ecmult_gen_impl: eliminate scratch memory used when generating context Andrew Poelstra 2018-09-20 22:24:57 +00:00
  • 314a61d724
    Merge #553: add static context object which has no capabilities Pieter Wuille 2018-11-05 18:23:52 -08:00
  • 89a20a8945 Correct order of libs returned on pkg-config --libs --static libsecp256k1 call. Phillip Mienk 2018-10-22 17:24:45 -07:00
  • 1086fda4c1
    Merge #354: [ECDH API change] Support custom hash function Pieter Wuille 2018-10-17 12:12:31 -07:00
  • 809016c819
    Merge pull request #19 from jonasnick/surjectionproof_init_p_give_up Jonas Nick 2018-10-09 22:01:08 -04:00
  • d3cb1f95eb
    Make use of TAG_PUBKEY constants in secp256k1_eckey_pubkey_parse Ben Woosley 2018-10-09 15:40:37 +09:00