This website requires JavaScript.
d49011f54c
Make _set_fe_int( . , 0 ) set magnitude to 0
Tim Ruffing
2019-06-12 15:49:28 +02:00
e290c0f835
Merge ElementsProject/secp256k1-zkp#148 : fix a couple things to make Elements 22's linter happy
Tim Ruffing
2021-10-15 15:23:43 +02:00
7812feb896
Merge ElementsProject/secp256k1-zkp#144 : Upstream PRs 969, 956, 783, 976
Tim Ruffing
2021-10-15 15:07:49 +02:00
b9ebee1490
fix a couple things to make Elements 22's linter happy
Andrew Poelstra
2021-10-14 21:21:30 +00:00
bc08599e77
Remove OpenSSL testing support
Pieter Wuille
2021-09-28 16:41:05 -04:00
10f9bd84f4
Merge bitcoin-core/secp256k1#987 : Fix unused parameter warnings when building without VERIFY
Tim Ruffing
2021-10-12 16:17:31 +02:00
189f6bcfef
Fix unused parameter warnings when building without VERIFY
Jonas Nick
2021-10-04 19:05:32 +00:00
da0092bccc
Merge bitcoin-core/secp256k1#986 : tests: remove secp256k1_fe_verify
from tests.c and modify _fe_from_storage
to call _fe_verify
Jonas Nick
2021-10-04 18:52:56 +00:00
d43993724d
tests: remove secp256k1_fe_verify
from tests.c and modify secp256k1_fe_from_storage
to call secp256k1_fe_verify
siv2r
2021-10-02 15:52:05 +05:30
7fec4e7acc
Merge elementsproject/secp256k1-zkp#145 : sync-upstream: fix quoting
Jonas Nick
2021-09-17 11:32:08 +00:00
938725c1c9
Merge commits 'd7ec49a6 9a5a87e0 aa5d34a8 2a3a97c6 ' into temp-merge-976
Jonas Nick
2021-09-15 22:03:06 +00:00
95ee1fa030
sync-upstream: fix quoting
Jonas Nick
2021-09-15 20:09:35 +00:00
2a3a97c665
Merge bitcoin-core/secp256k1#976 : secp256k1_schnorrsig_sign_internal
should be static
Tim Ruffing
2021-09-15 16:42:43 +02:00
aa5d34a8fe
Merge bitcoin-core/secp256k1#783 : Make the public API docs more consistent and explicit
Tim Ruffing
2021-09-15 16:23:55 +02:00
72713872a8
Add missing static to secp256k1_schnorrsig_sign_internal
Elichai Turkel
2021-09-15 12:46:13 +03:00
db4667d5e0
Make aux_rand32 arg to secp256k1_schnorrsig_sign const
Pieter Wuille
2021-07-14 11:04:31 -07:00
9a5a87e0f1
Merge bitcoin-core/secp256k1#956 : Replace ecmult_context with a generated static array.
Tim Ruffing
2021-08-25 20:43:11 +02:00
20abd52c2e
Add tests for pre_g tables.
Russell O'Connor
2021-06-26 18:32:29 -04:00
6815761cf5
Remove ecmult_context.
Russell O'Connor
2021-06-25 18:46:11 -04:00
f20dcbbad1
Correct typo.
Russell O'Connor
2021-08-17 10:47:10 -04:00
16a3cc07e8
Generate ecmult_static_pre_g.h
Russell O'Connor
2021-06-28 16:33:03 -04:00
8de2d86a06
Bump memory limits in advance of making the ecmult context static.
Russell O'Connor
2021-07-06 13:41:21 -04:00
d7ec49a689
Merge bitcoin-core/secp256k1#969 : ci: Fixes after Debian release
Jonas Nick
2021-08-20 09:06:00 +00:00
5d5c74a057
tests: Rewrite code to circument potential bug in clang
Tim Ruffing
2021-08-19 12:22:36 +02:00
3d2f492ceb
ci: Install libasan6 (instead of 5) after Debian upgrade
Tim Ruffing
2021-08-19 12:11:11 +02:00
9447642140
Merge elementsproject/secp256k1-zkp#142 : musig: fix session_init argument NULL check
Jonas Nick
2021-08-18 18:01:33 +00:00
9124ce0d9c
musig: fix session_init argument NULL check
Jonas Nick
2021-08-18 14:02:29 +00:00
881b15cb43
Merge elementsproject/secp256k1-zkp#139 : musig: use tagged hash for the list of pubkeys to aggregate
Jonas Nick
2021-08-02 11:33:40 +00:00
90580edcc9
Merge pull request #140 from apoelstra/2021-07--resync
Andrew Poelstra
2021-07-28 21:58:53 +00:00
6ad66de680
rangeproof: add an (unnecessary) variable initialization to shut up CI
Andrew Poelstra
2021-07-27 18:15:58 +00:00
2979e4d9d4
Merge commits '8ae56e33 75ce488c 4866178d 446d28d9 253f90cd ec3aaa50 0440945f 7688a4f1 be8d9c26 ' into temp-merge-965
Andrew Poelstra
2021-07-27 18:02:38 +00:00
8f093be374
musig: use tagged hash for the list of pubkeys to aggregate
Jonas Nick
2021-07-27 11:37:10 +00:00
a6a768a4bf
musig: make key agg test vector more precise
Jonas Nick
2021-07-27 10:06:22 +00:00
5d2df05419
Merge elementsproject/secp256k1-zkp#120 : Add MuSig Key Aggregation spec
Jonas Nick
2021-07-18 17:55:57 +00:00
fc26ca8dde
musig: remove unnecessary constant time normalize in combine
Jonas Nick
2021-05-13 18:02:29 +00:00
48f63efe68
musig: remove unnecessary branch in pubkey_tweak_add
Jonas Nick
2021-05-12 17:52:32 +00:00
5860b5e0fe
musig: do not also require schnorrsig module config flag
Jonas Nick
2021-04-03 22:03:09 +00:00
f27fd1d5e7
musig: improve test coverage of pubkey_combine
Jonas Nick
2021-05-12 20:37:41 +00:00
56014e8ca0
musig: change pubkey_combine arg to array of pointers to pks
Jonas Nick
2021-05-07 15:26:33 +00:00
08fa02d579
musig: add key aggregation spec draft
Jonas Nick
2021-01-12 14:21:20 +00:00
4a9b059b16
musig: rename Musig coefficient to KeyAgg coefficient
Jonas Nick
2021-07-08 17:06:24 +00:00
4bc46d836e
musig: optimize key aggregation using const 1 for 2nd key
Jonas Nick
2021-03-16 23:12:12 +00:00
2310849f50
musig: compute musig coefficient by hashing key instead of index
Jonas Nick
2021-03-16 23:07:58 +00:00
9683c8a7eb
musig: add static test vectors for key aggregation
Jonas Nick
2021-01-15 13:25:34 +00:00
9b3d7bf536
extrakeys: add xonly_sort function
Jonas Nick
2021-04-02 21:51:45 +00:00
f31affd8a6
extrakeys: add hsort, in-place, iterative heapsort
Jonas Nick
2021-04-02 21:51:02 +00:00
be8d9c262f
Merge bitcoin-core/secp256k1#965 : gen_context: Don't use any ASM
Tim Ruffing
2021-07-14 18:41:06 +02:00
d9560e0af7
Merge elementsproject/secp256k1-zkp#136 : Eliminate a wrong -Wmaybe-uninitialized warning in GCC
Jonas Nick
2021-07-14 13:56:36 +00:00
aeece44599
gen_context: Don't use any ASM
Tim Ruffing
2021-07-14 11:12:41 +02:00
6db00f5b2e
Merge elementsproject/secp256k1-zkp#132 : Upstream PRs 831, 907, 903, 889, 918, 906, 928, 922, 933, Merge bitcoin-core/secp256k1#936 : Fix gen_context/ASM build on ARM, 925, 937, 926, Merge bitcoin-core/secp256k1#940 : contrib: Explain explicit header guards, 850, 930, 941, 846, 947, 662, 950
Jonas Nick
2021-07-13 22:22:21 +00:00
cc0b279568
Eliminate a wrong -Wmaybe-uninitialized warning in GCC
Tim Ruffing
2021-07-13 17:30:05 +02:00
f09497ea3e
CI: tweak cirrus.yml to prevent OOM and timeout w sanitizer/valgrind
Jonas Nick
2021-06-15 11:42:58 +00:00
7226cf215a
ecdsa_adaptor: fix too small buffer in tests
Jonas Nick
2021-06-14 20:57:40 +00:00
b053e853d4
ecdsa_adaptor: fix test case with invalid signature
Jonas Nick
2021-06-14 20:16:38 +00:00
91b64770c3
Merge elementsproject/secp256k1-zkp#135 : sync-upstream: fix "end" parameter for specifying range
Jonas Nick
2021-07-12 18:18:32 +00:00
907633e2e9
sync-upstream: fix "end" parameter for specifying range
Tim Ruffing
2021-07-12 18:24:04 +02:00
394f49fd1a
sync-upstream: quote variables
Tim Ruffing
2021-07-12 18:23:18 +02:00
1bb5db3d60
Merge elementsproject/secp256k1-zkp#134 : sync-upstream: parse merge commits w/ and w/o repo identifier
Jonas Nick
2021-07-12 14:04:50 +00:00
9321d42f75
sync-upstream: parse merge commits w/ and w/o repo identifier
Tim Ruffing
2021-07-12 15:12:50 +02:00
7688a4f13a
Merge bitcoin-core/secp256k1#963 : "Schnorrsig API overhaul" fixups
Jonas Nick
2021-07-05 20:58:00 +00:00
90e83449b2
ci: Add C++ test
Tim Ruffing
2021-07-05 10:33:36 +02:00
adec5a1638
Add missing null check for ctx and input keys in the public API
Elichai Turkel
2020-07-30 12:26:28 +03:00
f4edfc7581
Improve consistency for NULL arguments in the public interface
Elichai Turkel
2020-07-30 12:25:59 +03:00
f698caaff6
Use unsigned char consistently for byte arrays
Tim Ruffing
2021-07-04 11:37:06 +02:00
b5b8e7b719
Don't declare constants twice
Tim Ruffing
2021-07-04 11:35:52 +02:00
769528f307
Don't use string literals for char arrays without NUL termination
Tim Ruffing
2021-07-04 02:03:18 +02:00
2cc3cfa583
Fix -Wmissing-braces warning in clang
Tim Ruffing
2021-07-04 02:01:44 +02:00
0440945fb5
Merge #844 : schnorrsig API overhaul
Tim Ruffing
2021-07-03 11:43:47 +02:00
ec3aaa5014
Merge #960 : tests_exhaustive: check the result of secp256k1_ecdsa_sign
Tim Ruffing
2021-07-03 11:20:02 +02:00
a1ee83c654
tests_exhaustive: check the result of secp256k1_ecdsa_sign
Nicolas Iooss
2021-06-28 15:44:19 +02:00
253f90cdeb
Merge bitcoin-core/secp256k1#951 : configure: replace AC_PATH_PROG to AC_CHECK_PROG
Jonas Nick
2021-07-02 12:07:52 +00:00
446d28d9de
Merge bitcoin-core/secp256k1#944 : Various improvements related to CFLAGS
Jonas Nick
2021-07-01 21:33:58 +00:00
0302138f75
ci: Make compiler warning into errors on CI
Tim Ruffing
2021-05-06 14:02:00 +02:00
b924e1e605
build: Ensure that configure's compile checks default to -O2
Tim Ruffing
2021-05-13 19:34:16 +02:00
7939cd571c
build: List *CPPFLAGS before *CFLAGS like on the compiler command line
Tim Ruffing
2021-05-13 18:54:37 +02:00
595e8a35d8
build: Enable -Wcast-align=strict warning
Tim Ruffing
2021-05-13 17:14:56 +02:00
07256267ff
build: Use own variable SECP_CFLAGS instead of touching user CFLAGS
Tim Ruffing
2021-05-13 17:06:16 +02:00
4866178dfc
Merge bitcoin-core/secp256k1#955 : Add random field multiply/square tests
Jonas Nick
2021-06-30 16:44:57 +00:00
75ce488c2a
Merge bitcoin-core/secp256k1#959 : tests: really test the non-var scalar inverse
Jonas Nick
2021-06-28 15:32:28 +00:00
41ed13942b
tests: really test the non-var scalar inverse
Nicolas Iooss
2021-06-28 15:21:00 +02:00
5f6ceafcfa
schnorrsig: allow setting MSGLEN != 32 in benchmark
Jonas Nick
2021-03-18 22:43:54 +00:00
fdd06b7967
schnorrsig: add tests for sign_custom and varlen msg verification
Jonas Nick
2021-01-21 22:23:04 +00:00
d8d806aaf3
schnorrsig: add extra parameter struct for sign_custom
Jonas Nick
2020-11-02 14:41:25 +00:00
a0c3fc177f
schnorrsig: allow signing and verification of variable length msgs
Jonas Nick
2021-01-15 21:19:34 +00:00
5a8e4991ad
Add secp256k1_tagged_sha256 as defined in BIP-340
Jonas Nick
2021-01-15 20:58:01 +00:00
b6c0b72fb0
schnorrsig: remove noncefp args from sign; add sign_custom function
Jonas Nick
2020-10-30 17:48:16 +00:00
bdf19f105c
Add random field multiply/square tests
Pieter Wuille
2021-06-21 16:19:00 -07:00
9be7b0f083
Avoid computing out-of-bounds pointer.
Tim Ruffing
2021-06-16 10:33:41 +02:00
8ae56e33e7
Merge #879 : Avoid passing out-of-bound pointers to 0-size memcpy
Tim Ruffing
2021-06-16 10:20:38 +02:00
a4642fa15e
configure: replace AC_PATH_PROG to AC_CHECK_PROG
UdjinM6
2021-06-15 19:33:57 +03:00
d27e459861
Revert "Remove unused Jacobi symbol support"
Jonas Nick
2021-06-14 19:54:41 +00:00
edcacc2b2e
Merge commits '26de4dfe 6e898534 c083cc6e 1e5d50fa cc2c09e3 efad3506 7012a188 34388af6 98e0358d d0bd2693 185a6af2 6c52ae87 69394879 1e78c18d 202a030f bf0ac460 399722a6 3dc8c072 50f33677 7973576f 1758a92f ' into temp-merge-950
Jonas Nick
2021-06-14 18:16:46 +00:00
1758a92ffd
Merge #950 : ci: Add ppc64le build
Jonas Nick
2021-06-09 13:32:32 +00:00
c58c4ea470
ci: Add ppc64le build
Tim Ruffing
2021-06-08 17:03:53 +02:00
7973576f6e
Merge #662 : Add ecmult_gen, ecmult_const and ecmult to benchmark
Tim Ruffing
2021-06-06 13:55:07 +02:00
8f879c2887
Fix array size in bench_ecmult
Jonas Nick
2019-10-29 08:20:11 +00:00
2fe1b50df1
Add ecmult_gen, ecmult_const and ecmult to benchmark
Jonas Nick
2019-09-05 17:26:12 +00:00
593e6bad9c
Clean up ecmult_bench to make space for more benchmarks
Jonas Nick
2019-09-05 17:25:37 +00:00
50f3367712
Merge #947 : ci: Run PRs on merge result even for i686
Jonas Nick
2021-05-31 20:14:43 +00:00
a35fdd3478
ci: Run PRs on merge result even for i686
Tim Ruffing
2021-05-31 18:11:27 +02:00