Commit Graph

  • a3ef354b24
    Fix typo in MuSig documentation. Jason Davies 2020-05-06 11:17:29 +01:00
  • f39f99be0e
    Merge #701: Make ec_ arithmetic more consistent and add documentation Tim Ruffing 2020-04-30 18:11:53 +02:00
  • 37dba329c6 Remove unnecessary sign variable from wnaf_const Jonas Nick 2020-04-17 18:06:47 +00:00
  • 6bb0b77e15 Fix test_constant_wnaf for -1 and add a test for it. Jonas Nick 2020-04-17 18:05:50 +00:00
  • 39198a03ea
    Merge #732: Retry if r is zero during signing Jonas Nick 2020-04-18 12:22:39 +00:00
  • 59a8de8f64
    Merge #742: Fix typo in ecmult_const_impl.h Tim Ruffing 2020-04-18 13:19:47 +02:00
  • 4e284655d9
    Fix typo in ecmult_const_impl.h f-daniel 2020-04-18 12:53:06 +02:00
  • f862b4ca13
    Merge #740: Make recovery/main_impl.h non-executable Tim Ruffing 2020-04-15 22:37:08 +02:00
  • ffef45c98a
    Make recovery/main_impl.h non-executable Elichai Turkel 2020-04-15 23:14:06 +03:00
  • 2361b3719a
    Merge #735: build: fix OpenSSL EC detection on macOS Jonas Nick 2020-04-13 19:52:01 +00:00
  • 3b7d26b23c
    build: add SECP_TEST_INCLUDES to bench_verify CPPFLAGS fanquake 2020-04-09 17:22:56 +08:00
  • 84b5fc5bc3
    build: fix OpenSSL EC detection on macOS fanquake 2020-04-09 15:55:11 +08:00
  • 37ed51a7ea Make ecdsa_sig_sign constant-time again after reverting 25e3cfb Tim Ruffing 2020-03-31 14:57:19 +02:00
  • 93d343bfc5 Revert "ecdsa_impl: replace scalar if-checks with VERIFY_CHECKs in ecdsa_sig_sign" Tim Ruffing 2020-03-31 14:28:48 +02:00
  • 7e3952ae82 Clarify documentation of tweak functions. Jonas Nick 2020-03-20 14:14:11 +00:00
  • 89853a0f2e Make tweak function documentation more consistent. Jonas Nick 2020-03-19 21:52:37 +00:00
  • 41fc785602 Make ec_privkey functions aliases for ec_seckey_negate, ec_seckey_tweak_add and ec_seckey_mul Jonas Nick 2019-12-19 15:02:29 +00:00
  • 22911ee6da Rename private key to secret key in public API (with the exception of function names) Jonas Nick 2019-12-17 17:10:11 +00:00
  • 5a73f14d6c Mention that value is unspecified for In/Out parameters if the function returns 0 Jonas Nick 2019-12-17 17:06:03 +00:00
  • f03df0e6d7 Define valid ECDSA keys in the documentation of seckey_verify Jonas Nick 2019-12-17 17:05:42 +00:00
  • 5894e1f1df Return 0 if the given seckey is invalid in privkey_negate, privkey_tweak_add and privkey_tweak_mul Jonas Nick 2019-12-17 16:52:07 +00:00
  • 8f814cddb9 Add test for boundary conditions of scalar_set_b32 with respect to overflows Jonas Nick 2019-10-08 09:11:16 +00:00
  • 3fec982608 Use scalar_set_b32_seckey in ecdsa_sign, pubkey_create and seckey_verify Jonas Nick 2019-12-17 15:56:09 +00:00
  • 9ab2cbe0eb Add scalar_set_b32_seckey which does the same as scalar_set_b32 and also returns whether it's a valid secret key Jonas Nick 2019-12-17 15:32:00 +00:00
  • 4f27e344c6
    Merge #728: Suppress a harmless variable-time optimization by clang in memczero Jonas Nick 2020-03-27 18:09:07 +00:00
  • 01993878bb Add test for memczero() Tim Ruffing 2020-03-27 10:54:09 +01:00
  • 52a03512c1 Suppress a harmless variable-time optimization by clang in memczero Tim Ruffing 2020-03-25 16:04:49 +01:00
  • 8f78e208ad
    Merge #722: Context isn't freed in the ECDH benchmark Jonas Nick 2020-03-24 15:53:24 +00:00
  • ed1b91171a
    Merge #700: Allow overriding default flags Tim Ruffing 2020-03-20 16:48:45 +01:00
  • 85b35afa76
    Add running benchmarks regularly and under valgrind in travis Elichai Turkel 2020-03-04 16:35:31 +02:00
  • ca4906b02e
    Pass num of iters to benchmarks as variable, and define envvar Elichai Turkel 2020-03-04 15:13:35 +02:00
  • 02dd5f1bbb
    free the ctx at the end of bench_ecdh Elichai Turkel 2020-03-04 14:14:51 +02:00
  • e9fccd4de1
    Merge #708: Constant-time behaviour test using valgrind memtest. Tim Ruffing 2020-03-03 16:49:20 +01:00
  • 08fb6c4926 Run valgrind_ctime_test in travis Jonas Nick 2020-02-12 10:20:38 +00:00
  • 3d2302257f Constant-time behaviour test using valgrind memtest. Gregory Maxwell 2020-01-08 11:56:15 +00:00
  • 96d8ccbd16
    Merge #710: Eliminate harmless non-constant time operations on secret data. Tim Ruffing 2020-02-24 14:02:44 +01:00
  • 0585b8b2ee
    Merge #718: Clarify that a secp256k1_ecdh_hash_function must return 0 or 1 Tim Ruffing 2020-02-23 09:20:47 +01:00
  • 7b50483ad7 Adds a declassify operation to aid constant-time analysis. Gregory Maxwell 2020-01-11 13:31:50 +00:00
  • 34a67c773b Eliminate harmless non-constant time operations on secret data. Gregory Maxwell 2020-01-11 01:01:05 +00:00
  • ca739cba23 Compile with optimization flag -O2 by default instead of -O3 Jonas Nick 2020-02-19 14:07:54 +00:00
  • eb45ef3384 Clarify that a secp256k1_ecdh_hash_function must return 0 or 1 Tim Ruffing 2020-02-10 12:55:30 +01:00
  • 856a01d6ad
    Merge #714: doc: document the length requirements of output parameter. Tim Ruffing 2020-02-10 12:06:17 +01:00
  • d72b9e2483
    Merge #682: Remove Java Native Interface Tim Ruffing 2020-02-10 11:59:06 +01:00
  • 4b48a43106 doc: document the length requirements of output parameter. Rusty Russell 2020-02-10 11:11:11 +10:30
  • 1b4d256e2e
    Merge #713: Docstrings Jonas Nick 2020-01-24 12:34:50 +00:00
  • dabfea7e21
    field: extend docstring of secp256k1_fe_normalize Marko Bencun 2020-01-16 16:52:09 +01:00
  • dc7d8fd9e2
    scalar: extend docstring of secp256k1_scalar_set_b32 Marko Bencun 2020-01-16 16:48:49 +01:00
  • 074ab582dd
    Merge #704: README: add a section for test coverage Pieter Wuille 2020-01-15 07:55:20 -08:00
  • acb7f97eb8
    README: add a section for test coverage Marko Bencun 2019-12-29 21:52:01 +01:00
  • 227a4f2d07
    Merge #709: Remove secret-dependant non-constant time operation in ecmult_const. Pieter Wuille 2020-01-14 13:24:52 -08:00
  • d567b779fe Clarify comments about use of rzr on ge functions and abs function. Gregory Maxwell 2020-01-09 13:07:36 +00:00
  • 2241ae6d14 Remove secret-dependant non-constant time operation in ecmult_const. Gregory Maxwell 2020-01-08 14:58:28 +00:00
  • 642cd062bd Remove Java Native Interface Jonas Nick 2019-10-29 12:23:32 +00:00
  • 83fb1bcef4 Remove -O2 from default CFLAGS because this would override the -O3 flag (see AC_PROG_CC in the Autoconf manual) Jonas Nick 2019-12-17 12:41:44 +00:00
  • ecba8138ec Append instead of Prepend user-CFLAGS to default CFLAGS allowing the user to override default variables Jonas Nick 2019-12-17 12:37:48 +00:00
  • 613c34cd86 Remove test in configure.ac because it doesn't have an effect Jonas Nick 2019-12-17 12:34:26 +00:00
  • f45d897101
    Merge #703: Overhaul README.md Pieter Wuille 2019-12-29 07:00:39 -08:00
  • 2e759ec753 Overhaul README.md Tim Ruffing 2019-12-20 17:25:14 +01:00
  • d644dda5c9
    Merge #689: Remove "except in benchmarks" exception for fp math Tim Ruffing 2019-12-13 13:16:29 +01:00
  • bde2a32286 Convert bench.h to fixed-point math Wladimir J. van der Laan 2019-11-05 14:05:56 +01:00
  • 47a7b8382f
    Clear field elements when writing infinity Elichai Turkel 2019-12-10 18:08:53 +02:00
  • 61d1ecb028
    Added test with additions resulting in infinity Elichai Turkel 2019-12-10 18:08:25 +02:00
  • 387d723c3f
    Merge #679: Add SECURITY.md Jonas Nick 2019-11-26 19:10:02 +00:00
  • 0db61d25c9
    Merge #685: Fix issue where travis does not show the ./tests seed… Tim Ruffing 2019-11-25 15:03:15 +01:00
  • a0771d15e6 Explicitly disable buffering for stderr in tests Jonas Nick 2019-11-25 10:17:02 +00:00
  • fb424fbba2 Make travis show the ./tests seed by removing stdout buffering and always cat tests.log after a travis run. Jonas Nick 2019-11-02 14:06:36 +00:00
  • 22a6031184
    Merge #690: Add valgrind check to travis Jonas Nick 2019-11-25 10:18:44 +00:00
  • 544002c008
    Merge #678: Preventing compiler optimizations in benchmarks without a memory fence Jonas Nick 2019-11-18 20:09:05 +00:00
  • dd98cc988f
    travis: Added a valgrind test without endro and enabled recovery+ecdh Elichai Turkel 2019-11-09 13:40:45 +02:00
  • b4c1382a87
    Add valgrind check to travis Elichai Turkel 2019-11-07 21:31:59 +02:00
  • 0c774d89e6
    Merge #688: Fix ASM setting in travis Tim Ruffing 2019-11-05 12:27:36 +01:00
  • 5c5f71eea5 Fix ASM setting in travis Jonas Nick 2019-11-05 10:56:02 +00:00
  • e2625f8a98
    Merge #684: Make no-float policy explicit Jonas Nick 2019-11-01 10:21:09 +00:00
  • bae1bea3c4
    Make no-float policy explicit Tim Ruffing 2019-11-01 10:39:41 +01:00
  • 78c3836341 Add SECURITY.md Jonas Nick 2019-10-28 14:59:05 +00:00
  • 362bb25608
    Modified bench_scalar_split so it won't get optimized out Elichai Turkel 2019-10-28 16:27:44 +02:00
  • 73a30c6b58
    Added accumulators and checks on benchmarks so they won't get optimized out Elichai Turkel 2019-10-28 16:27:16 +02:00
  • 770b3dcd6f
    Merge #677: Remove note about heap allocation in secp256k1_ecmult_odd_multiples_table_storage_var Tim Ruffing 2019-10-28 13:23:35 +01:00
  • b76142ff25 Remove note about heap allocation in secp256k1_ecmult_odd_multiples_table_storage_var which was removed in 47045270fa90f81205d989f7107769bce1e71c4d Jonas Nick 2019-10-28 12:21:36 +00:00
  • 137d304a6b
    Merge #647: Increase robustness against UB in secp256k1_scalar_cadd_bit Tim Ruffing 2019-10-28 11:53:46 +01:00
  • cad7cc8f34
    Merge pull request #73 from jonasnick/fix-musig-message Andrew Poelstra 2019-10-18 20:42:30 +00:00
  • 0d9540b13f
    Merge #664: Remove mention of ec_privkey_export because it doesn't exist Jonas Nick 2019-10-11 17:31:26 +00:00
  • 59782c68b4 Remove mention of ec_privkey_export because it doesn't exist Jonas Nick 2019-09-15 11:27:17 +00:00
  • 96cd94e385
    Merge #337: variable sized precomputed table for signing Tim Ruffing 2019-09-05 15:25:47 +02:00
  • dcb2e3b3ff
    variable signing precompute table djb 2015-10-18 10:35:16 +02:00
  • b4bff99028
    Merge #661: Make ./configure string consistent Jonas Nick 2019-09-04 22:22:39 +00:00
  • a467047e11
    Make ./configure string consistent Tim Ruffing 2019-09-04 18:53:08 +02:00
  • e729cc7f5a
    Merge #657: Fix a nit in the recovery tests Jonas Nick 2019-08-22 08:49:34 +00:00
  • b64a2e2597
    Fix a nit in the recovery tests Elichai Turkel 2019-08-21 10:07:22 -04:00
  • 85bcb7c951
    Merge #84: port of secp256k1#566 "jni: Use only Guava for hex encoding and decoding" Jonas Nick 2019-08-21 08:30:48 +00:00
  • 682a821759 jni: Use only Guava for hex encoding and decoding Tim Ruffing 2019-08-05 17:02:29 +02:00
  • 1a1a803b7f
    Merge pull request #83 from jonasnick/fixder Tim Ruffing 2019-08-19 16:02:27 +02:00
  • 48089ce788 Remove mentions of DER in H derivation. Jonas Nick 2019-08-19 14:00:27 +00:00
  • cfb14a5d0f
    Merge pull request #82 from jonasnick/fixes Tim Ruffing 2019-08-19 15:51:00 +02:00
  • 13aa54e3af
    Merge pull request #80 from jonasnick/f-H Tim Ruffing 2019-08-19 15:50:08 +02:00
  • 217151df1c Fix ARG_NONNULL macro usage in musig include Jonas Nick 2019-08-19 08:35:15 +00:00
  • 6ba31b8cee Add cplusplus directive to musig include Jonas Nick 2019-08-19 08:29:11 +00:00
  • e028aa33d3
    Merge #650: secp256k1/src/tests.c: Properly handle sscanf return value Jonas Nick 2019-08-18 22:49:23 +00:00
  • b1fb2ce625 Fix explanation of H derivation. It doesn't use DER encoding. Jonas Nick 2019-08-18 15:56:44 +00:00
  • f1e11d363d
    Merge #654: Fix typo (∞) Tim Ruffing 2019-08-17 16:17:50 +02:00