Commit Graph

  • 515e7953ca Improve checks at top of _fe_negate methods Peter Dettman 2020-09-14 14:29:20 +07:00
  • b2206619e6
    Merge ElementsProject/secp256k1-zkp#131: Replace MuSig(1) module with MuSig2 Tim Ruffing 2021-12-20 15:11:44 +01:00
  • 26a022a3a0 ci: Remove STATICPRECOMPUTATION Tim Ruffing 2021-12-15 14:03:11 +01:00
  • 10461d8bd3 precompute_ecmult: Always compute all tables up to default WINDOW_G Tim Ruffing 2021-12-20 14:16:14 +01:00
  • be6944ade9
    Merge bitcoin-core/secp256k1#1042: Follow-ups to making all tables fully static Tim Ruffing 2021-12-20 11:22:54 +01:00
  • e05da9e480 Fix c++ build Pieter Wuille 2021-12-17 15:43:50 -05:00
  • c45386d994 Cleanup preprocessor indentation in precompute{,d}_ecmult{,_gen} Pieter Wuille 2021-12-17 14:34:15 -05:00
  • 19d96e15f9 Split off .c file from precomputed_ecmult.h Pieter Wuille 2021-12-17 14:21:38 -05:00
  • 1a6691adae Split off .c file from precomputed_ecmult_gen.h Pieter Wuille 2021-12-17 13:50:39 -05:00
  • bb36331412 Simplify precompute_ecmult_print_* Pieter Wuille 2021-12-17 12:12:24 -05:00
  • 38cd84a0cb Compute ecmult tables at runtime for tests_exhaustive Pieter Wuille 2021-12-17 12:07:42 -05:00
  • e458ec26d6 Move ecmult table computation code to separate file Pieter Wuille 2021-12-17 12:02:40 -05:00
  • fc1bf9f15f Split ecmult table computation and printing Pieter Wuille 2021-12-17 11:52:20 -05:00
  • 31feab053b Rename function secp256k1_ecmult_gen_{create_prec -> compute}_table Pieter Wuille 2021-12-18 16:11:52 -05:00
  • 725370c3f2 Rename ecmult_gen_prec -> ecmult_gen_compute_table Pieter Wuille 2021-12-17 11:33:38 -05:00
  • 075252c1b7 Rename ecmult_static_pre_g -> precomputed_ecmult Pieter Wuille 2021-12-17 11:28:48 -05:00
  • 7cf47f72bc Rename ecmult_gen_static_prec_table -> precomputed_ecmult_gen Pieter Wuille 2021-12-17 11:23:51 -05:00
  • f95b8106d0 Rename gen_ecmult_static_pre_g -> precompute_ecmult Pieter Wuille 2021-12-17 11:19:45 -05:00
  • bae77685eb Rename gen_ecmult_gen_static_prec_table -> precompute_ecmult_gen Pieter Wuille 2021-12-17 11:15:37 -05:00
  • ac1e36769d musig: turn off multiexponentiation for now Jonas Nick 2021-12-17 13:41:47 +00:00
  • 3c79d97bd9 ci: increase timeout for macOS tasks Jonas Nick 2021-12-17 11:04:46 +00:00
  • 22c88815c7 musig: replace MuSig(1) with MuSig2 Jonas Nick 2021-05-05 15:45:31 +00:00
  • 0559fc6e41
    Merge bitcoin-core/secp256k1#988: Make signing table fully static Tim Ruffing 2021-12-15 10:19:42 +01:00
  • 7dfceceea6 build: Remove #undef hack for ASM in the precomputation programs Tim Ruffing 2021-12-02 13:44:36 +01:00
  • bb36fe9be0 ci: Test make precomp Tim Ruffing 2021-11-13 15:52:44 +01:00
  • d94a37a20c build: Remove CC_FOR_BUILD stuff Tim Ruffing 2021-11-10 10:20:43 +01:00
  • ad63bb4c29 build: Prebuild and distribute ecmult_gen table Tim Ruffing 2021-08-27 17:53:44 +02:00
  • ac49361ed0 prealloc: Get rid of manual memory management for prealloc contexts Tim Ruffing 2021-11-09 13:09:36 +01:00
  • 6573c08f65 ecmult_gen: Tidy precomputed file and save space Tim Ruffing 2021-11-08 20:08:16 +01:00
  • 5eba83f17c ecmult_gen: Precompute tables for all values of ECMULT_GEN_PREC_BITS Tim Ruffing 2021-11-08 19:28:47 +01:00
  • 5d0dbef018
    Merge bitcoin-core/secp256k1#942: Verify that secp256k1_ge_set_gej_zinv does not operate on infinity. Tim Ruffing 2021-12-07 11:07:08 +01:00
  • 486205aa68
    Merge bitcoin-core/secp256k1#920: Test all ecmult functions with many j*2^i combinations Tim Ruffing 2021-12-06 17:32:29 +01:00
  • fdb33dd122 refactor: Make PREC_BITS a parameter of ecmult_gen_build_prec_table Tim Ruffing 2021-09-08 18:49:06 +02:00
  • 5eb519e1f6 ci: reduce TEST_ITERS in memcheck run Pieter Wuille 2021-12-03 14:56:28 -05:00
  • e2cf77328a Test ecmult functions for all i*2^j for j=0..255 and odd i=1..255. Pieter Wuille 2021-04-12 18:14:34 -07:00
  • 61ae37c612
    Merge bitcoin-core/secp256k1#1022: build: Windows DLL additions Tim Ruffing 2021-12-05 11:52:31 +01:00
  • 4f01840b82
    Merge bitcoin-core/secp256k1#1027: build: Add a check that Valgrind actually supports a host platform Tim Ruffing 2021-12-05 11:35:05 +01:00
  • 6ad908aa00
    Merge bitcoin-core/secp256k1#1008: bench.c: add --help option and ci: move env variables Tim Ruffing 2021-12-05 11:11:30 +01:00
  • 592661c22f ci: move test environment variable declaration to .cirrus.yml siv2r 2021-11-09 01:32:30 +05:30
  • dcbe84b841 bench: add --help option to bench. siv2r 2021-11-08 23:20:46 +05:30
  • 099bad945e Comment and check a parameter for inf in secp256k1_ecmult_const. Russell O'Connor 2021-12-03 13:57:38 -05:00
  • 6c0be857f8 Verify that secp256k1_ge_set_gej_zinv does not operate on infinity. a->x and a->y should not be used if the infinity flag is set. Russell O'Connor 2021-05-12 10:06:52 -04:00
  • 4900227451
    Merge bitcoin-core/secp256k1#1025: build: replace backtick command substitution with $() Tim Ruffing 2021-12-03 14:53:58 +01:00
  • 7c7ce872a5
    build: Add a check that Valgrind actually supports a host platform Hennadii Stepanov 2021-12-03 15:14:30 +02:00
  • a4875e30a6 refactor: Move default callbacks to util.h Tim Ruffing 2021-11-08 20:16:55 +01:00
  • 4c94c55bce doc: Remove obsolete hint for valgrind stack size Tim Ruffing 2021-10-20 17:04:48 +02:00
  • 5106226991 exhaustive_tests: Fix with ecmult_gen table with custom generator Tim Ruffing 2021-10-07 16:54:03 +02:00
  • e1a76530db refactor: Make generator a parameter of ecmult_gen_create_prec_table Tim Ruffing 2021-10-06 20:45:17 +02:00
  • 9ad09f6911 refactor: Rename program that generates static ecmult_gen table Tim Ruffing 2021-10-07 19:15:19 +02:00
  • 8ae18f1ab3 refactor: Rename file that contains static ecmult_gen table Tim Ruffing 2021-10-07 18:27:11 +02:00
  • 00d2fa116e ecmult_gen: Make code consistent with comment Tim Ruffing 2021-10-07 19:41:26 +02:00
  • 3b0c2185ea ecmult_gen: Simplify ecmult_gen context after making table static Tim Ruffing 2021-11-09 10:17:02 +01:00
  • 2b7c7497ef
    build: replace backtick command substitution with $() fanquake 2021-12-03 15:18:45 +08:00
  • 49f608de47
    Merge bitcoin-core/secp256k1#1004: ecmult: fix definition of STRAUSS_SCRATCH_OBJECTS Tim Ruffing 2021-12-02 18:51:41 +01:00
  • c0cd7de6d4
    build: add -no-undefined to libtool LDFLAGS fanquake 2021-12-02 11:48:43 +08:00
  • fe32a79d35
    build: pass win32-dll to LT_INIT fanquake 2021-12-02 11:44:13 +08:00
  • 60bf8890df ecmult: fix definition of STRAUSS_SCRATCH_OBJECTS Jonas Nick 2021-11-06 15:40:16 +00:00
  • fecf436d53
    Merge bitcoin-core/secp256k1#1019: build: don't append valgrind CPPFLAGS if not installed (macOS) Tim Ruffing 2021-11-24 20:37:02 +01:00
  • 2e5e4b67df
    Merge bitcoin-core/secp256k1#1020: doc: remove use of <0xa0> "no break space" Tim Ruffing 2021-11-24 14:30:24 +01:00
  • 812ff5c747
    doc: remove use of 0xa0 "no break space" fanquake 2021-11-24 07:16:19 +08:00
  • 214042a170
    build: don't append valgrind CPPFLAGS if not installed fanquake 2021-11-23 11:24:12 +08:00
  • e43ba02cfc refactor: Decouple table generation and ecmult_gen context Tim Ruffing 2021-11-09 11:24:56 +01:00
  • 22dc2c0a0d ecmult_gen: Move table creation to new file and force static prec Tim Ruffing 2021-09-09 16:46:19 +02:00
  • 793ad9016a
    Merge bitcoin-core/secp256k1#1010: doc: Minor fixes in safegcd_implementation.md Tim Ruffing 2021-11-17 00:56:13 +01:00
  • dc9b6853b7 doc: Minor fixes in safegcd_implementation.md Elliott Jin 2021-11-09 17:46:24 -08:00
  • ea5e8a9c47
    Merge bitcoin-core/secp256k1#1012: Fix typos Tim Ruffing 2021-11-13 09:57:29 +01:00
  • 233297579d
    Fix typos Dimitris Apostolou 2021-11-13 02:12:47 +02:00
  • 7006f1b97f
    Merge bitcoin-core/secp256k1#1011: ci: Enable -g if we set CFLAGS manually Jonas Nick 2021-11-10 22:05:49 +00:00
  • 72de1359e9 ci: Enable -g if we set CFLAGS manually Tim Ruffing 2021-11-10 15:17:26 +01:00
  • 74c34e727b
    Merge bitcoin-core/secp256k1#1009: refactor: Use (int)&(int) in boolean context to avoid compiler warning Tim Ruffing 2021-11-10 00:23:31 +01:00
  • 16d132215c refactor: Use (int)&(int) in boolean context to avoid compiler warning MarcoFalke 2021-11-08 16:07:31 +01:00
  • c74a7b7e51
    Merge bitcoin-core/secp256k1#1007: doc: Replace apoelstra's GPG key by jonasnick's GPG key Tim Ruffing 2021-11-09 08:27:15 +01:00
  • 3b157c48ed doc: Suggest keys.openpgp.org as keyserver in SECURITY.md Tim Ruffing 2021-11-08 20:30:35 +01:00
  • 73a7472cd0 doc: Replace apoelstra's GPG key by jonasnick's GPG key Tim Ruffing 2021-11-08 20:28:14 +01:00
  • 515a5dbd02
    Merge bitcoin-core/secp256k1#991: Merge all "external" benchmarks into a single bench binary Tim Ruffing 2021-11-08 11:08:35 +01:00
  • af6abcb3d0 Make bench support selecting which benchmarks to run Pieter Wuille 2021-11-05 17:48:18 -04:00
  • 9f56bdf5b9 Merge bench_schnorrsig into bench Pieter Wuille 2021-10-17 14:02:10 -04:00
  • 3208557ae1 Merge bench_recover into bench Pieter Wuille 2021-10-17 13:56:59 -04:00
  • 855e18d8a8 Merge bench_ecdh into bench Pieter Wuille 2021-10-17 12:10:23 -04:00
  • 2a7be678a6 Combine bench_sign and bench_verify into single bench Pieter Wuille 2021-10-17 12:08:06 -04:00
  • 8fa41201bd
    Merge bitcoin-core/secp256k1#1002: Make aux_rnd32==NULL behave identical to 0x0000..00. Tim Ruffing 2021-10-31 17:42:07 +01:00
  • 5324f8942d Make aux_rnd32==NULL behave identical to 0x0000..00. Pieter Wuille 2021-10-30 13:03:55 -04:00
  • 21c188b3c5
    Merge bitcoin-core/secp256k1#943: VERIFY_CHECK precondition for secp256k1_fe_set_int. Tim Ruffing 2021-10-28 17:05:43 +02:00
  • 3e7b2ea194
    Merge bitcoin-core/secp256k1#999: bench_ecmult: improve clarity of output Tim Ruffing 2021-10-25 11:15:33 +02:00
  • 23e2f66726 bench: don't return 1 in have_flag() if argc = 1 Jonas Nick 2021-10-24 19:43:20 +00:00
  • 96b1ad2ea9 bench_ecmult: improve clarity of output Jonas Nick 2021-10-22 12:44:40 +00:00
  • 20d791edfb
    Merge bitcoin-core/secp256k1#989: Shared benchmark format for command line and CSV outputs Jonas Nick 2021-10-22 12:28:28 +00:00
  • aa1b889b61
    Merge bitcoin-core/secp256k1#996: Fix G.y parity in sage code Tim Ruffing 2021-10-20 16:28:06 +02:00
  • 044d956305 Fix G.y parity in sage code Pieter Wuille 2021-10-20 10:14:13 -04:00
  • b4b130678d create csv file from the benchmark output siv2r 2021-10-19 06:11:59 +05:30
  • 26a255beb6 Shared benchmark format for command line and CSV outputs siv2r 2021-10-15 07:21:35 +05:30
  • 9526874d14
    Merge bitcoin-core/secp256k1#810: Avoid overly-wide multiplications in 5x52 field mul/sqr Tim Ruffing 2021-10-17 17:06:37 +02:00
  • 6b8733577e
    Merge elementsproject/secp256k1-zkp#147: whitelist: fix SECP256K1_WHITELIST_MAX_N_KEYS constant Jonas Nick 2021-10-17 15:29:20 +00:00
  • e02f313b1f Add comment on length checks when parsing ECDSA sigs Tim Ruffing 2021-10-17 12:02:10 +02:00
  • 920a0e5fa6
    Merge bitcoin-core/secp256k1#952: Avoid computing out-of-bounds pointer. Tim Ruffing 2021-10-17 10:55:21 +02:00
  • f34b5cae03
    Merge bitcoin-core/secp256k1#983: [RFC] Remove OpenSSL testing support Tim Ruffing 2021-10-17 00:24:09 +02:00
  • 27d1c3b6a1 whitelist: add test for MAX_N_KEYS Jonas Nick 2021-10-06 10:41:24 +00:00
  • c8ac14d9dc whitelist: fix SECP256K1_WHITELIST_MAX_N_KEYS constant Jonas Nick 2021-10-06 10:39:46 +00:00
  • 297ce82091
    Merge bitcoin-core/secp256k1#966: Make aux_rand32 arg to secp256k1_schnorrsig_sign const Jonas Nick 2021-10-15 15:55:41 +00:00
  • 2888640132 VERIFY_CHECK precondition for secp256k1_fe_set_int. Russell O'Connor 2021-05-13 10:40:50 -04:00