Commit Graph

  • 63c6b71616 Reorder comments/function around scalar_split_lambda Pieter Wuille 2020-10-13 11:29:36 -07:00
  • 2edc514c90 WNAF of lambda_split output has max size 129 Pieter Wuille 2020-10-11 10:59:29 -07:00
  • 4232e5b7da Rip out non-endomorphism code Pieter Wuille 2020-09-25 20:06:36 -07:00
  • ebad8414b0 Check correctness of lambda split without -DVERIFY Gregory Maxwell 2020-10-10 20:46:36 +00:00
  • fe7fc1fda8 Make lambda constant accessible Pieter Wuille 2020-10-11 10:49:54 -07:00
  • 9d2f2b44d8 Add tests to exercise lambda split near bounds Pieter Wuille 2020-09-26 13:14:25 -07:00
  • 9aca2f7f07 Add secp256k1_split_lambda_verify Russell O'Connor 2020-09-23 12:52:29 -04:00
  • acab934d24 Detailed comments for secp256k1_scalar_split_lambda Russell O'Connor 2020-09-22 11:01:47 -04:00
  • 73acc8fef6
    Merge pull request #102 from jonasnick/temp-merge-797 Andrew Poelstra 2020-10-13 15:17:02 +00:00
  • 8b70795b5e Fix BE platforms by updating endianness macros to match upstream Andrew Poelstra 2020-10-09 14:16:07 +00:00
  • 76ed922a5f Increase precision of g1 and g2 Russell O'Connor 2020-09-21 11:40:01 -04:00
  • 6173839c90 Switch to our own memcmp function Tim Ruffing 2020-09-24 12:12:48 +02:00
  • d1b13b0014 Merge commit 'f3733c54' into temp-merge-797 Jonas Nick 2020-09-29 13:29:58 +00:00
  • 23bf5b732b
    Merge pull request #101 from jonasnick/temp-merge-778 Andrew Poelstra 2020-09-29 11:22:37 +00:00
  • 0a5b60d8b0 Merge commit '6034a04f' into temp-merge-778 Jonas Nick 2020-09-28 21:59:46 +00:00
  • caa5d24446
    Merge #99: [upstream PR #774]: tests: Abort if malloc() fails during context cloning tests Jonas Nick 2020-09-28 21:24:31 +00:00
  • 1789183cba Merge commit '40412b19' into temp-merge-774 Andrew Poelstra 2020-09-28 13:33:09 +00:00
  • 63150ab4da
    Merge #827: Rename testrand functions to have test in name Tim Ruffing 2020-09-27 11:11:59 +02:00
  • c5257aed0b
    Merge #821: travis: Explicitly set --with-valgrind Tim Ruffing 2020-09-26 11:12:11 +02:00
  • bb1f54280f
    Merge #818: Add static assertion that uint32_t is unsigned int or wider Tim Ruffing 2020-09-26 10:18:17 +02:00
  • a45c1fa63c Rename testrand functions to have test in name Pieter Wuille 2020-09-25 20:50:43 -07:00
  • 5006895bd6
    Merge #808: Exhaustive test improvements + exhaustive schnorrsig tests Pieter Wuille 2020-09-25 20:41:54 -07:00
  • a39b08d672
    Merge #95: [upstream PR #741]: Remove unnecessary sign variable from wnaf_const Jonas Nick 2020-09-25 21:17:16 +00:00
  • a3a3a17f47
    Merge pull request #94 from apoelstra/temp-merge-1309c03c45beece646a7d21fdb6a0e3d38adee2b Andrew Poelstra 2020-09-25 14:23:54 +00:00
  • 4eecb4d6ef travis: VALGRIND->RUN_VALGRIND to avoid confusion with WITH_VALGRIND Jonas Nick 2020-09-21 07:52:11 +00:00
  • 66a765c775 travis: Explicitly set --with-valgrind Jonas Nick 2020-09-21 07:47:40 +00:00
  • d7838ba6a6
    Merge #813: Enable configuring Valgrind support Jonas Nick 2020-09-19 08:47:33 +00:00
  • 7ceb0b7611
    Merge #819: Enable -Wundef warning Jonas Nick 2020-09-19 08:24:42 +00:00
  • 8b7dcdd955 Add exhaustive test for extrakeys and schnorrsig Pieter Wuille 2020-09-04 18:58:25 -07:00
  • 08d7d89299 Make pubkey parsing test whether points are in the correct subgroup Pieter Wuille 2020-09-07 18:23:52 -07:00
  • 87af00b511 Abstract out challenge computation in schnorrsig Pieter Wuille 2020-09-04 17:08:23 -07:00
  • 63e1b2aa7d Disable output buffering in tests_exhaustive.c Pieter Wuille 2020-09-10 09:09:15 -07:00
  • 39f67dd072 Support splitting exhaustive tests across cores Pieter Wuille 2020-09-08 16:27:04 -07:00
  • e99b26fcd5 Give exhaustive_tests count and seed cmdline inputs Pieter Wuille 2020-09-08 13:59:02 -07:00
  • 49e6630bca refactor: move RNG seeding to testrand Pieter Wuille 2020-09-08 13:40:26 -07:00
  • b110c106fa Change exhaustive test groups so they have a point with X=1 Pieter Wuille 2020-09-06 16:46:41 -07:00
  • cec7b18a34 Select exhaustive lambda in function of order Pieter Wuille 2020-09-08 10:20:31 -07:00
  • 78f6cdfaae Make the curve B constant a secp256k1_fe Pieter Wuille 2020-09-06 16:24:43 -07:00
  • d7f39ae4b6 Delete gej_is_valid_var: unused outside tests Pieter Wuille 2020-09-06 17:25:02 -07:00
  • 8bcd78cd79 Make secp256k1_scalar_b32 detect overflow in scalar_low Pieter Wuille 2020-09-05 20:51:30 -07:00
  • c498366e5b Move exhaustive tests for recovery to module Pieter Wuille 2020-09-04 18:15:40 -07:00
  • be31791543 Make group order purely compile-time in exhaustive tests Pieter Wuille 2020-09-04 13:27:28 -07:00
  • e73ff30922 Enable -Wundef warning Tim Ruffing 2020-09-18 13:36:07 +02:00
  • c0041b5cfc Add static assertion that uint32_t is unsigned int or wider Tim Ruffing 2020-09-17 13:29:55 +02:00
  • 4ad408faf3
    Merge #782: Check if variable=yes instead of if var is set in travis.sh Jonas Nick 2020-09-15 17:48:06 +00:00
  • 412bf874d0 configure: Allow specifying --with[out]-valgrind explicitly Luke Dashjr 2020-09-12 19:15:56 +00:00
  • 34debf7a6d
    Modify .travis.yml to explictly pass no in env vars instead of setting to nothing Elichai Turkel 2020-09-14 18:02:25 +03:00
  • a0e99fc121
    Merge #814: tests: Initialize random group elements fully Tim Ruffing 2020-09-13 22:45:23 +02:00
  • 5738e8622d tests: Initialize random group elements fully Tim Ruffing 2020-09-13 11:27:15 +02:00
  • c9939ba55d
    Merge #812: travis: run bench_schnorrsig Jonas Nick 2020-09-12 11:38:24 +00:00
  • a51f2af62b travis: run bench_schnorrsig Jonas Nick 2020-09-11 22:04:04 +00:00
  • 8ab24e8dad
    Merge #558: Add schnorrsig module which implements BIP-340 compliant signatures Tim Ruffing 2020-09-11 21:22:51 +02:00
  • f3733c5433
    Merge #797: Fix Jacobi benchmarks and other benchmark improvements Jonas Nick 2020-09-10 11:37:53 +00:00
  • b53e0cd61f Avoid overly-wide multiplications Peter Dettman 2020-09-10 15:19:15 +07:00
  • cb5524adc5 Add benchmark for secp256k1_ge_set_gej_var Pieter Wuille 2020-08-11 11:30:16 -07:00
  • 5c6af60ec5 Make jacobi benchmarks vary inputs Pieter Wuille 2020-08-11 11:25:50 -07:00
  • d0fdd5f009 Randomize the Z coordinates in bench_internal Pieter Wuille 2020-08-11 11:02:16 -07:00
  • c7a3424c5f Rename bench_internal variables Pieter Wuille 2020-08-11 10:50:01 -07:00
  • 875d68b95f
    Merge #699: Initialize field elements when resulting in infinity Tim Ruffing 2020-09-09 16:00:12 +02:00
  • 54caf2e74f
    Merge #799: Add fallback LE/BE for architectures with known endianness + SHA256 selftest Tim Ruffing 2020-09-09 15:54:16 +02:00
  • f431b3f28a valgrind_ctime_test: Add schnorrsig_sign Jonas Nick 2020-03-12 20:05:07 +00:00
  • 16ffa9d97c schnorrsig: Add taproot test case Jonas Nick 2019-11-14 13:34:51 +00:00
  • 8dfd53ee3f schnorrsig: Add benchmark for sign and verify Jonas Nick 2020-05-12 21:24:38 +00:00
  • 4e43520026 schnorrsig: Add BIP-340 compatible signing and verification Jonas Nick 2020-05-12 16:17:59 +00:00
  • 7332d2db6b schnorrsig: Add BIP-340 nonce function Jonas Nick 2020-05-12 21:23:22 +00:00
  • 7a703fd97d schnorrsig: Init empty experimental module Jonas Nick 2020-05-12 21:19:03 +00:00
  • eabd9bc46a Allow initializing tagged sha256 Jonas Nick 2019-11-14 13:53:46 +00:00
  • 6fcb5b845d extrakeys: Add keypair_xonly_tweak_add Jonas Nick 2020-07-22 09:09:34 +00:00
  • 58254463f9 extrakeys: Add keypair struct with create, pub and pub_xonly Jonas Nick 2020-05-12 14:52:34 +00:00
  • f0010349b8 Separate helper functions for pubkey_create and seckey_tweak_add Jonas Nick 2020-05-12 14:43:48 +00:00
  • 910d9c284c extrakeys: Add xonly_pubkey_tweak_add & xonly_pubkey_tweak_add_test Jonas Nick 2020-05-12 14:49:12 +00:00
  • 176bfb1110 Separate helper function for ec_pubkey_tweak_add Jonas Nick 2020-05-12 14:45:22 +00:00
  • 4cd2ee474d extrakeys: Add xonly_pubkey with serialize, parse and from_pubkey Jonas Nick 2020-05-12 14:40:28 +00:00
  • f49c9896b0
    Merge #806: Trivial: Add test logs to gitignore Tim Ruffing 2020-09-02 02:21:17 +02:00
  • aabf00c155
    Merge #648: Prevent ints from wrapping around in scratch space functions Tim Ruffing 2020-09-02 02:19:16 +02:00
  • f5adab16a9
    Merge #805: Remove the extremely outdated TODO file. Tim Ruffing 2020-09-01 10:45:28 +02:00
  • bceefd6547
    Add test logs to gitignore Jake Rawsthorne 2020-09-01 00:35:47 +01:00
  • 1c325199d5 Remove the extremely outdated TODO file. Gregory Maxwell 2020-08-31 23:11:41 +00:00
  • 47e6618e11 extrakeys: Init empty experimental module Jonas Nick 2020-05-12 13:58:47 +00:00
  • 3e08b02e2a Make the secp256k1_declassify argument constant Jonas Nick 2020-03-30 14:51:38 +00:00
  • 8bc6aeffa9 Add SHA256 selftest Pieter Wuille 2020-08-17 13:48:22 -07:00
  • 670cdd3f8b
    Merge #798: Check assumptions on integer implementation at compile time Tim Ruffing 2020-08-16 12:01:05 +02:00
  • 5e5fb28b4a Use additional system macros to figure out endianness Pieter Wuille 2020-08-14 11:49:34 -07:00
  • 7c068998ba Compile-time check assumptions on integer types Pieter Wuille 2020-08-12 15:52:20 -07:00
  • 02b6c87b52 Add support for (signed) __int128 Pieter Wuille 2020-08-12 17:41:08 -07:00
  • 979961c506
    Merge #787: Use preprocessor macros instead of autoconf to detect endianness Tim Ruffing 2020-08-13 12:25:29 +02:00
  • 887bd1f8b6
    Merge #793: Make scalar/field choice depend on C-detected __int128 availability Tim Ruffing 2020-08-12 15:24:06 +02:00
  • 0dccf98a21 Use preprocessor macros instead of autoconf to detect endianness Tim Ruffing 2020-07-21 14:05:56 +02:00
  • b2c8c42cf1
    Merge #795: Avoid linking libcrypto in the valgrind ct test. Tim Ruffing 2020-08-11 11:20:23 +02:00
  • 57d3a3c64c Avoid linking libcrypto in the valgrind ct test. Gregory Maxwell 2020-08-10 22:13:43 +00:00
  • 79f1f7a4f1 Autodetect __int128 availability on the C side Pieter Wuille 2020-08-09 10:58:40 -07:00
  • 0d7727f95e Add SECP256K1_FE_STORAGE_CONST_GET to 5x52 field Pieter Wuille 2020-08-10 14:32:28 -07:00
  • 805082de11
    Merge #696: Run a Travis test on s390x (big endian) Tim Ruffing 2020-08-07 12:50:43 +02:00
  • 39295362cf Test travis s390x (big endian) Pieter Wuille 2020-07-28 17:41:07 -07:00
  • ef37761fee
    Change travis.sh to check if variables are equal to yes instead of not-empty. Before this, setting VALGRIND=wat was considered as true, and to make it evaluate as false you had to unset the variable VALGRIND= but not it checks if VALGRIND=yes and if it's not yes then it's evaluated to false Elichai Turkel 2020-07-30 11:18:07 +03:00
  • 6034a04fb1
    Merge #778: secp256k1_gej_double_nonzero supports infinity Tim Ruffing 2020-07-29 15:18:30 +02:00
  • f60915906d
    Merge #779: travis: Fix argument quoting for ./configure Jonas Nick 2020-07-29 13:06:12 +00:00
  • 9e49a9b255 travis: Fix argument quoting for ./configure Tim Ruffing 2020-07-29 08:50:42 +02:00
  • 18d36327fd secp256k1_gej_double_nonzero supports infinity Pieter Wuille 2020-07-28 18:12:14 -07:00
  • 214cb3c321
    Merge #772: Improve constant-timeness on PowerPC Tim Ruffing 2020-07-28 16:10:58 +02:00