Commit Graph

  • 2318f18a90
    Merge pull request #31 from apoelstra/2018-10-commit-fix Andrew Poelstra 2018-10-08 05:59:42 +00:00
  • cfbe581412 add unit test for generator and pedersen commitment roundtripping Andrew Poelstra 2018-10-08 05:15:34 +00:00
  • 2285493a5f rangeproof: fix serialization of pedersen commintments Andrew Poelstra 2018-10-08 05:17:26 +00:00
  • b2dca3ae19
    Merge pull request #30 from apoelstra/2018-09-audit-set-xquad Andrew Poelstra 2018-10-04 16:35:38 +00:00
  • 40fde611bd prevent attempts to modify secp256k1_context_no_precomp Andrew Poelstra 2018-09-20 17:50:43 +00:00
  • ed7c08417a add static context object which has no capabilities Andrew Poelstra 2018-08-15 21:27:25 +00:00
  • 806fbba755 rangeproof: verify correctness of pedersen commitments when parsing Andrew Poelstra 2018-10-02 18:03:05 +00:00
  • 4183dc967f generator: verify correctness of point when parsing Andrew Poelstra 2018-10-02 16:23:35 +00:00
  • 7a72703db3 rangeproof: check that points deserialize correctly when verifying rangeproof Andrew Poelstra 2018-10-02 16:23:08 +00:00
  • 14b7c4e88a rangeproof: add fixed vector test case Andrew Poelstra 2018-10-02 17:58:39 +00:00
  • 496c5b43b8 Make constants static: static const secp256k1_ge secp256k1_ge_const_g; static const int CURVE_B; Russell O'Connor 2018-08-15 15:42:06 -04:00
  • bf8b86cc07 secp256k1_fe_sqrt: Verify that the arguments don't alias. Russell O'Connor 2018-08-14 16:47:14 -04:00
  • 9bd89c836b Optimize secp256k1_fe_normalize_weak calls. Move secp256k1_fe_normalize_weak calls out of ECMULT_TABLE_GET_GE and ECMULT_TABLE_GET_GE_STORAGE and into secp256k1_ge_globalz_set_table_gej instead. Russell O'Connor 2018-08-12 23:47:38 -04:00
  • e38335ad07
    Merge pull request #28 from FrankC01/patch-2 Andrew Poelstra 2018-07-25 17:33:30 +00:00
  • 6cd43f60bb
    Expose generator in shared library Frank V. Castellucci 2018-07-25 13:30:11 -04:00
  • 52ab96fedb clean dependendies in field_*_impl.h Russell O'Connor 2018-07-06 07:38:03 -04:00
  • deff5edd42 Correct math typos in field_*.h Russell O'Connor 2018-07-06 07:53:32 -04:00
  • 4efb3f8dd1 Add check that restrict pointers don't alias with all parameters. Russell O'Connor 2018-07-06 07:26:57 -04:00
  • eca632d585
    Merge pull request #24 from instagibbs/dicrete Andrew Poelstra 2018-06-20 15:55:41 +00:00
  • 31c305b466 fix spelling in documentation Gregory Sanders 2018-06-20 11:43:18 -04:00
  • 1e6f1f5ad5
    Merge #529: fix tests.c in the count == 0 case Pieter Wuille 2018-05-31 12:00:10 -07:00
  • b1458cc914
    Merge pull request #22 from real-or-random/rangeproof-trailing Andrew Poelstra 2018-05-24 12:49:07 +00:00
  • 95c31389fc Test for rejection of trailing bytes in range proofs Tim Ruffing 2018-05-24 13:23:08 +02:00
  • f1c601ed9d
    Merge pull request #21 from real-or-random/secp256k1-zkp Andrew Poelstra 2018-05-23 14:08:15 +00:00
  • 5fd8271f03 Test for rejection of trailing bytes in surjection proofs Tim Ruffing 2018-05-23 15:59:01 +02:00
  • af7d4b0744 Reject surjection proofs with trailing garbage Tim Ruffing 2018-05-23 14:56:14 +02:00
  • 874f07791c
    Merge pull request #20 from datavetaren/secp256k1-zkp Andrew Poelstra 2018-05-17 00:48:33 +00:00
  • c8fbc3c397 [ECDH API change] Allow pass arbitrary data to hash function Kirill Fomichev 2018-05-17 00:12:46 +03:00
  • b00be65056 [ECDH API change] Support custom hash function Kirill Fomichev 2015-11-12 11:43:06 +03:00
  • 6e7db6fd3b Minor bugfix. Wrong length due to NUL character. datavetaren 2018-05-16 05:02:21 +02:00
  • 482cceef08 Add comment to explain effect of max_n_iterations in surjectionproof_init Jonas Nick 2018-04-17 22:34:01 +00:00
  • 4b52f125c6
    Merge pull request #18 from jonasnick/bench_whitelist Andrew Poelstra 2018-04-17 22:18:59 +00:00
  • 410326df67 Add whitelisting benchmark Jonas Nick 2018-03-16 13:55:55 +00:00
  • 95e99f196f fix tests.c in the count == 0 case Andrew Poelstra 2018-04-10 19:32:04 +00:00
  • 7b05707c8f add whitelist_impl.h to include for dist Gregory Sanders 2018-02-13 16:28:30 -05:00
  • bad5b3dc92 generator: add API tests Andrew Poelstra 2017-08-30 18:08:40 +00:00
  • 1c966a2989 generator: remove unnecessary ARG_CHECK from generate() Andrew Poelstra 2017-08-30 17:59:26 +00:00
  • dd13b2b439 Fix generator makefile Gregory Sanders 2017-08-15 22:39:26 -04:00
  • e99b7197ed Fix pedersen_blind_generator_blind_sum return value documentation Jonas Nick 2017-07-10 18:56:00 +02:00
  • 3d6ac31103 Add n_keys argument to whitelist_verify Jonas Nick 2017-07-10 18:51:16 +02:00
  • ee1e30de90 Fix checks of whitelist serialize/parse arguments Jonas Nick 2017-06-27 12:14:29 +02:00
  • c28edd75fc whitelist: fix serialize/parse API to take serialized length Andrew Poelstra 2017-06-26 17:08:47 +00:00
  • c47a60daf9 Fix include/secp256k1_rangeproof.h function argument documentation. Jonas Nick 2017-05-09 01:46:55 +02:00
  • 0ba915f214 rangeproof: add API tests Andrew Poelstra 2017-05-03 18:08:31 +00:00
  • 1bb1723d4e surjectionproof: rename unit test functions to be more consistent with other modules Andrew Poelstra 2017-05-03 17:06:39 +00:00
  • 01a8848609 surjectionproof: add API unit tests Andrew Poelstra 2017-05-02 16:54:14 +00:00
  • 0ca14dcca0 surjectionproof: tests_impl.h s/assert/CHECK/g Andrew Poelstra 2017-05-02 13:50:58 +00:00
  • 995e5b709f rangeproof: fix memory leak in unit tests Andrew Poelstra 2017-04-22 18:31:28 +00:00
  • 88e52d6eec add surjection proof module Andrew Poelstra 2016-07-01 15:51:07 +00:00
  • 1a0ae1b0af Implement ring-signature based whitelist delegation scheme Andrew Poelstra 2016-04-21 22:22:39 +00:00
  • f948ca216d rangeproof: several API changes Andrew Poelstra 2016-07-06 15:44:09 +00:00
  • c3db107c44 Expose generator in pedersen/rangeproof API Pieter Wuille 2016-07-06 13:46:23 +02:00
  • c2f471f11d Constant-time generator module Pieter Wuille 2016-07-07 00:47:41 +02:00
  • 5912d2665f rangeproof: expose sidechannel message field in the signing API Andrew Poelstra 2016-07-05 15:46:07 +00:00
  • e28302cbd7 [RANGEPROOF BREAK] Use quadratic residue for tie break and modularity cleanup Andrew Poelstra 2016-07-04 13:04:57 +00:00
  • e596d3a389 Get rid of precomputed H tables (Pieter Wuille) Andrew Poelstra 2018-03-13 16:33:31 +00:00
  • a6dd429dc7 Pedersen commitments, borromean ring signatures, and ZK range proofs. Gregory Maxwell 2015-08-05 19:04:14 +02:00
  • 26156da781 Add 64-bit integer utilities Greg Maxwell 2015-08-05 16:17:50 +02:00
  • 452d8e4d2a
    Merge #523: scratch: add stack frame support Pieter Wuille 2018-04-05 16:33:43 -07:00
  • 6fe50439ae scratch: add stack frame support Andrew Poelstra 2018-03-20 13:21:33 +00:00
  • 9bc2e26502
    Merge #522: parameterize ecmult_const over input size Pieter Wuille 2018-04-05 14:08:07 -07:00
  • 7c1b91ba4b parameterize ecmult_const over input size Andrew Poelstra 2018-03-13 16:32:51 +00:00
  • dbc3ddd5e2
    Merge #513: Increase sparsity of pippenger fixed window naf representation Pieter Wuille 2018-04-05 09:45:08 -07:00
  • 3965027c81
    Summarize build options in configure script Evan Klitzke 2018-03-10 10:36:59 -08:00
  • 0f0517369c Fix algorithm selection in bench_ecmult Jonas Nick 2018-02-23 16:31:43 +00:00
  • fb9271dcf0
    Merge #510: add a couple missing consts to ecmult_pippenger_wnaf Pieter Wuille 2018-03-26 18:28:18 -07:00
  • cd5f6028e5
    Merge #515: Fix typo Pieter Wuille 2018-03-26 17:18:35 -07:00
  • 09146ae854
    Merge #512: secp256k1_ec_privkey_negate - fix documentation Pieter Wuille 2018-03-26 17:17:35 -07:00
  • ec0a7b3ae3 Don't touch leading zeros in wnaf_fixed. Jonas Nick 2018-03-22 21:32:11 +00:00
  • 9e36d1bfe2 Fix bug in wnaf_fixed where the wnaf array is not completely zeroed when given a 0 scalar. Jonas Nick 2018-03-23 13:57:16 +00:00
  • 96f68a0afc Don't invert scalar in wnaf_fixed when it is even because a caller might intentionally give a scalar with many leading zeros. Jonas Nick 2018-03-11 15:32:54 -04:00
  • 8b3841c91d fix bug in fread() failure check Don Viszneki 2018-03-05 18:45:00 -08:00
  • cddef0c0be tests: add warning message when /dev/urandom fails Don Viszneki 2018-03-05 18:43:31 -08:00
  • 9b7c47a21e
    Fix typo Dimitris Apostolou 2018-03-05 18:53:33 +02:00
  • 6dbb007869 Increase sparsity of pippenger fixed window naf representation Jonas Nick 2018-02-27 21:34:08 +00:00
  • 1646ace4d5
    secp256k1_ec_privkey_negate - fix documentation Thomas Kerin 2018-02-28 14:10:07 +01:00
  • 270f6c80db Portability fix for the configure scripts generated Pierre Pronchery 2018-02-26 02:22:11 +01:00
  • 9b3ff0309d add a couple missing consts to ecmult_pippenger_wnaf Andrew Poelstra 2018-02-24 17:29:34 +00:00
  • 84faa7eb03
    Merge pull request #17 from instagibbs/fixwhitelistdist secp256k1-zkp-20180405 Andrew Poelstra 2018-02-13 21:37:38 +00:00
  • 450e64a427 add whitelist_impl.h to include for dist Gregory Sanders 2018-02-13 16:28:30 -05:00
  • cd329dbc3e
    Merge #460: [build] Update ax_jni_include_dir.m4 macro Gregory Maxwell 2018-02-06 23:06:08 +00:00
  • 7f9c1a1565
    Merge #498: tests: Avoid calling fclose(...) with an invalid argument Gregory Maxwell 2018-02-06 23:04:39 +00:00
  • f99aa8d4d3
    Merge #499: tests: Make sure we get the requested number of bytes from /dev/urandom Gregory Maxwell 2018-02-06 22:56:47 +00:00
  • b549d3d5f7
    Merge #472: [build] Set --enable-jni to no by default instead of auto. Gregory Maxwell 2018-02-06 22:51:01 +00:00
  • d333521516
    Merge #494: Support OpenSSL versions >= 1.1 for ENABLE_OPENSSL_TESTS Gregory Maxwell 2018-02-06 22:43:19 +00:00
  • 2ef8ea5d21
    Merge #495: Add bench_ecmult to .gitignore Gregory Maxwell 2018-02-06 22:26:47 +00:00
  • 82a96e4587 tests: Make sure we get the requested number of bytes from /dev/urandom practicalswift 2018-01-12 11:23:28 +01:00
  • 5aae5b5bb2 Avoid calling fclose(...) with an invalid argument practicalswift 2018-01-12 11:18:25 +01:00
  • cb32940df3 Add bench_ecmult to .gitignore Tony Rizko 2017-12-30 19:59:17 -08:00
  • 31abd3ab8d Support OpenSSL versions >= 1.1 for ENABLE_OPENSSL_TESTS Alexander Block 2017-12-28 11:36:24 +01:00
  • c95f6f1360
    Merge #487: fix tests typo, s/changed/unchanged Pieter Wuille 2017-12-21 14:29:50 -08:00
  • fb46c83881
    Merge #463: Reduce usage of hardcoded size constants Pieter Wuille 2017-12-21 14:07:15 -08:00
  • 02f5001dfc
    Merge #490: Disambiguate bench functions and types Pieter Wuille 2017-12-21 14:05:36 -08:00
  • 1f46d6089e Disambiguate bench functions and types Pieter Wuille 2017-12-18 18:22:09 -08:00
  • f54c6c5083
    Merge #480: Enable benchmark building by default Pieter Wuille 2017-12-18 14:38:35 -08:00
  • c77fc08597
    Merge #486: Add pippenger_wnaf for multi-multiplication Pieter Wuille 2017-12-07 16:46:30 -08:00
  • d2f9c6b5dc Use more precise pippenger bucket windows Jonas Nick 2017-12-06 10:24:00 +00:00
  • 4c950bbeaf Save some additions per window in _pippenger_wnaf Peter Dettman 2017-12-01 02:52:19 +07:00
  • a58f543f5a Add flags for choosing algorithm in ecmult_multi benchmark Jonas Nick 2017-11-05 20:17:11 +00:00
  • 36b22c9337 Use scratch space dependent batching in ecmult_multi Jonas Nick 2017-11-05 19:40:18 +00:00