This website requires JavaScript.
9a981068ce
Merge commits '8b013fce 485f608f 44c2452f cd470333 accadc94 43756da8 ' into temp-merge-1115
Jonas Nick
2023-07-17 11:48:51 +00:00
c424e2fb43
ellswift: fix probabilistic test failure when swapping sides
Jonas Nick
2023-07-17 09:28:09 +00:00
175db31149
ci: Drop no longer needed PATH
variable update on Windows
Hennadii Stepanov
2023-07-14 08:43:08 +01:00
116d2ab3df
cmake: Set ENVIRONMENT
property for examples on Windows
Hennadii Stepanov
2023-07-14 08:42:48 +01:00
cef373997c
cmake, refactor: Use helper function instead of interface library
Hennadii Stepanov
2023-07-14 08:41:26 +01:00
907a67212e
Merge bitcoin-core/secp256k1#1313 : ci: Test on development snapshots of GCC and Clang
Jonas Nick
2023-07-13 14:41:41 +00:00
0f7657d59c
Merge bitcoin-core/secp256k1#1366 : field: Use restrict
consistently in fe_sqrt
Tim Ruffing
2023-07-12 01:14:07 +02:00
cc55757552
Merge bitcoin-core/secp256k1#1340 : clean up in-comment Sage code (refer to secp256k1_params.sage, update to Python3)
Tim Ruffing
2023-07-10 18:34:08 +02:00
600c5adcd5
clean up in-comment Sage code (refer to secp256k1_params.sage, update to Python3)
Sebastian Falbesoner
2023-06-11 16:38:12 +02:00
981e5be38c
ci: Fix typo in comment
Tim Ruffing
2023-07-06 20:19:07 +02:00
e9e9648219
ci: Reduce number of macOS tasks from 28 to 8
Tim Ruffing
2023-06-28 17:51:21 +02:00
609093b387
ci: Add x86_64 Linux tasks for gcc and clang snapshots
Tim Ruffing
2023-05-13 19:12:32 +02:00
1deecaaf3b
ci: Install development snapshots of gcc and clang
Tim Ruffing
2023-05-11 16:10:09 +02:00
b79ba8aa4c
field: Use restrict
consistently in fe_sqrt
Tim Ruffing
2023-06-29 16:44:22 +02:00
c9ebca95f9
Merge bitcoin-core/secp256k1#1363 : doc: minor ellswift.md updates
Tim Ruffing
2023-07-06 16:03:08 +02:00
afd7eb4a55
Merge bitcoin-core/secp256k1#1371 : Add exhaustive tests for ellswift (with create+decode roundtrip)
Tim Ruffing
2023-07-05 23:19:18 +02:00
2792119278
Add exhaustive test for ellswift (create+decode roundtrip)
Sebastian Falbesoner
2023-07-04 02:50:05 +02:00
c7d900ffd1
doc: minor ellswift.md updates
stratospher
2023-06-28 01:30:27 +05:30
332af315fc
Merge bitcoin-core/secp256k1#1344 : group: save normalize_weak calls in secp256k1_ge_is_valid_var
/secp256k1_gej_eq_x_var
Tim Ruffing
2023-07-04 14:21:15 +02:00
9e6d1b0e9b
Merge bitcoin-core/secp256k1#1367 : build: Improvements to symbol visibility logic on Windows (attempt 3)
Tim Ruffing
2023-07-03 18:53:24 +02:00
0aacf64352
Merge bitcoin-core/secp256k1#1370 : Corrected some typos
Tim Ruffing
2023-07-03 18:50:28 +02:00
b6b9834e8d
small fixes
Alejandro
2023-07-03 15:21:21 +02:00
07c0e8b82e
group: remove unneeded normalize_weak in secp256k1_gej_eq_x_var
Sebastian Falbesoner
2023-06-14 17:15:46 +02:00
3fc1de5c55
Merge bitcoin-core/secp256k1#1364 : Avoid -Wmaybe-uninitialized
when compiling with gcc -O1
Tim Ruffing
2023-07-03 15:31:55 +02:00
fb758fe8d6
Merge bitcoin-core/secp256k1#1323 : tweak_add: fix API doc for tweak=0
Jonas Nick
2023-07-03 12:56:15 +00:00
c6cd2b15a0
ci: Add task for static library on Windows + CMake
Hennadii Stepanov
2023-06-30 09:32:57 +01:00
020bf69a44
build: Add extensive docs on visibility issues
Tim Ruffing
2023-06-27 15:22:44 +02:00
0196e8ade1
build: Introduce SECP256k1_DLL_EXPORT
macro
Hennadii Stepanov
2023-06-29 17:14:03 +01:00
9f1b1904a3
refactor: Replace SECP256K1_API_VAR
with SECP256K1_API
Hennadii Stepanov
2023-06-29 17:07:50 +01:00
ae9db95cea
build: Introduce SECP256K1_STATIC
macro for Windows users
Hennadii Stepanov
2023-06-30 09:26:48 +01:00
7966aee31d
Merge bitcoin-core/secp256k1#1369 : ci: Print commit in Windows container
Tim Ruffing
2023-07-03 14:55:12 +02:00
a7bec34231
ci: Print commit in Windows container
Hennadii Stepanov
2023-07-03 09:31:49 +01:00
249c81eaa3
Merge bitcoin-core/secp256k1#1368 : ci: Drop manual checkout of merge commit
Jonas Nick
2023-07-02 18:21:18 +00:00
98579e297b
ci: Drop manual checkout of merge commit
Tim Ruffing
2023-07-01 10:47:40 +02:00
5b9f37f136
ci: Add CFLAGS: -O1
to task matrix
Hennadii Stepanov
2023-06-28 07:46:40 +01:00
a6ca76cdf2
Avoid -Wmaybe-uninitialized
when compiling with gcc -O1
Hennadii Stepanov
2023-06-28 07:45:57 +01:00
0fa84f869d
Merge bitcoin-core/secp256k1#1358 : tests: introduce helper for non-zero random_fe_test()
results
Tim Ruffing
2023-06-27 12:16:42 +02:00
5a95a268b9
tests: introduce helper for non-zero random_fe_test
results
Sebastian Falbesoner
2023-06-26 02:42:06 +02:00
304421d57b
tests: refactor: remove duplicate function random_field_element_test
Sebastian Falbesoner
2023-06-26 02:14:10 +02:00
3aef6ab8e1
Merge bitcoin-core/secp256k1#1345 : field: Static-assert that int args affecting magnitude are constant
Tim Ruffing
2023-06-27 09:39:03 +02:00
4494a369b6
Merge bitcoin-core/secp256k1#1357 : tests: refactor: take use of secp256k1_ge_x_on_curve_var
Tim Ruffing
2023-06-27 09:34:26 +02:00
799f4eec27
Merge bitcoin-core/secp256k1#1356 : ci: Adjust Docker image to Debian 12 "bookworm"
Tim Ruffing
2023-06-27 09:33:31 +02:00
c862a9fb49
ci: Adjust Docker image to Debian 12 "bookworm"
Hennadii Stepanov
2023-06-26 10:24:15 +01:00
a1782098a9
ci: Force DWARF v4 for Clang when Valgrind tests are expected
Hennadii Stepanov
2023-06-26 10:03:19 +01:00
7d8d5c86df
tests: refactor: take use of secp256k1_ge_x_on_curve_var
Sebastian Falbesoner
2023-06-25 22:14:13 +02:00
8a7273465b
Help the compiler prove that a loop is entered
Tim Ruffing
2023-05-16 20:29:05 +02:00
fd491ea1bb
Merge bitcoin-core/secp256k1#1355 : Fix a typo in the error message
Tim Ruffing
2023-06-25 09:51:40 +02:00
ac43613d25
Merge bitcoin-core/secp256k1#1354 : Add ellswift to CHANGELOG
Tim Ruffing
2023-06-25 09:49:17 +02:00
67887ae65c
Fix a typo in the error message
Hennadii Stepanov
2023-06-24 20:16:01 +01:00
926dd3e962
Merge bitcoin-core/secp256k1#1295 : abi: Use dllexport for mingw builds
Tim Ruffing
2023-06-24 10:37:41 +02:00
10836832e7
Merge bitcoin-core/secp256k1#1336 : Use __shiftright128
intrinsic in secp256k1_u128_rshift
on MSVC
Tim Ruffing
2023-06-24 10:15:46 +02:00
7c7467ab7f
Refer to ellswift.md in API docs
Pieter Wuille
2023-06-23 16:05:24 -04:00
c32ffd8d8c
Add ellswift to CHANGELOG
Pieter Wuille
2023-06-21 10:43:12 -04:00
3c1a0fd37f
Merge bitcoin-core/secp256k1#1347 : field: Document return value of fe_sqrt()
Tim Ruffing
2023-06-21 17:42:54 +02:00
705ce7ed8c
Merge bitcoin-core/secp256k1#1129 : ElligatorSwift + integrated x-only DH
Jonas Nick
2023-06-21 14:18:25 +00:00
0702ecb061
Merge bitcoin-core/secp256k1#1338 : Drop no longer needed #include "../include/secp256k1.h"
Tim Ruffing
2023-06-21 09:54:47 +02:00
5779137457
field: Document return value of fe_sqrt()
Tim Ruffing
2023-06-15 11:49:35 +02:00
90e360acc2
Add doc/ellswift.md with ElligatorSwift explanation
Pieter Wuille
2022-12-23 13:19:15 -05:00
4f091847c2
Add ellswift testing to CI
Pieter Wuille
2022-11-04 16:21:25 -04:00
1bcea8c57f
Add benchmarks for ellswift module
Pieter Wuille
2022-11-04 16:21:54 -04:00
2d1d41acf8
Add ctime tests for ellswift module
Pieter Wuille
2022-11-04 15:52:12 -04:00
df633cdeba
Add _prefix and _bip324 ellswift_xdh hash functions
Pieter Wuille
2023-05-05 04:37:30 -04:00
9695deb351
Add tests for ellswift module
Pieter Wuille
2022-11-04 15:59:33 -04:00
c47917bbd6
Add ellswift module implementing ElligatorSwift
Pieter Wuille
2022-11-04 16:18:40 -04:00
79e5b2a8b8
Add functions to test if X coordinate is valid
Pieter Wuille
2022-11-04 16:17:56 -04:00
a597a5a9ce
Add benchmark for key generation
Pieter Wuille
2022-07-07 14:45:21 -04:00
30574f22ea
Merge bitcoin-core/secp256k1#1349 : Normalize ge produced from secp256k1_pubkey_load
Tim Ruffing
2023-06-18 20:34:30 +02:00
45c5ca7675
Merge bitcoin-core/secp256k1#1350 : scalar: introduce and use secp256k1_{read,write}_be64
helpers
Tim Ruffing
2023-06-18 20:33:31 +02:00
f1652528be
Normalize ge produced from secp256k1_pubkey_load
stratospher
2023-06-15 23:36:19 +05:30
7067ee54b4
tests: add tests for secp256k1_{read,write}_be64
Sebastian Falbesoner
2023-06-17 01:48:25 +02:00
740528caad
scalar: use newly introduced secp256k1_{read,write}_be64
helpers (4x64 impl.)
Sebastian Falbesoner
2023-06-17 01:04:37 +02:00
be8ff3a02a
field: Static-assert that int args affecting magnitude are constant
Tim Ruffing
2023-06-13 13:34:49 +02:00
efa76c4bf7
group: remove unneeded normalize_weak in secp256k1_ge_is_valid_var
Sebastian Falbesoner
2023-06-12 23:36:57 +02:00
67214f5f7d
Merge bitcoin-core/secp256k1#1339 : scalar: refactor: use secp256k1_{read,write}_be32
helpers
Tim Ruffing
2023-06-12 18:08:39 +02:00
cb1a59275c
Merge bitcoin-core/secp256k1#1341 : docs: correct pubkey
param descriptions for secp256k1_keypair_{xonly_,}pub
Jonas Nick
2023-06-12 08:39:00 +00:00
f3644287b1
docs: correct pubkey
param descriptions for secp256k1_keypair_{xonly_,}pub
Sebastian Falbesoner
2023-06-11 18:06:04 +02:00
887183e7de
scalar: use secp256k1_{read,write}_be32
helpers (4x64 impl.)
Sebastian Falbesoner
2023-06-10 19:50:54 +02:00
52b84238de
scalar: use secp256k1_{read,write}_be32
helpers (8x32 impl.)
Sebastian Falbesoner
2023-06-04 02:50:21 +02:00
e449af6872
Drop no longer needed #include "../include/secp256k1.h"
Hennadii Stepanov
2023-06-06 09:07:36 +01:00
747ada3587
test: Silent noisy clang warnings about Valgrind code on macOS x86_64
Hennadii Stepanov
2023-06-04 18:25:39 +01:00
5b7bf2e9d4
Use __shiftright128
intrinsic in secp256k1_u128_rshift
on MSVC
Hennadii Stepanov
2023-06-04 15:51:44 +01:00
60556c9f49
Merge bitcoin-core/secp256k1#1337 : ci: Fix error D8037 in cl.exe
(attempt 2)
Tim Ruffing
2023-06-03 13:49:16 +02:00
db29bf220c
ci: Remove quirk that runs dummy command after wineserver
Tim Ruffing
2023-05-23 11:28:47 +02:00
c7db4942b3
ci: Fix error D8037 in cl.exe
Hennadii Stepanov
2023-06-03 09:08:31 +01:00
7dae115861
Revert "ci: Move wine prefix to /tmp to avoid error D8037 in cl.exe"
Hennadii Stepanov
2023-06-02 16:13:29 +01:00
bf29f8d0a6
Merge bitcoin-core/secp256k1#1334 : fix input range comment for secp256k1_fe_add_int
Tim Ruffing
2023-06-01 09:38:24 +02:00
605e07e365
fix input range comment for secp256k1_fe_add_int
Sebastian Falbesoner
2023-06-01 02:50:17 +02:00
debf3e5c08
Merge bitcoin-core/secp256k1#1330 : refactor: take use of secp256k1_scalar_{zero,one}
constants
Tim Ruffing
2023-05-31 19:38:48 +02:00
d75dc59b58
Merge bitcoin-core/secp256k1#1333 : test: Warn if both VERIFY
and COVERAGE
are defined
Tim Ruffing
2023-05-31 19:37:52 +02:00
ade5b36701
tests: add checks for scalar constants secp256k1_scalar_{zero,one}
Sebastian Falbesoner
2023-05-30 12:20:44 +02:00
e83801f5db
test: Warn if both VERIFY
and COVERAGE
are defined
Hennadii Stepanov
2023-05-30 11:17:20 +01:00
654246c635
refactor: take use of secp256k1_scalar_{zero,one}
constants
Sebastian Falbesoner
2023-05-29 23:59:27 +02:00
908e02d596
Merge bitcoin-core/secp256k1#1328 : build: Bump MSVC warning level up to W3
Tim Ruffing
2023-05-26 16:14:11 +02:00
1549db0ca5
build: Level up MSVC warnings
Hennadii Stepanov
2023-05-24 16:57:32 +01:00
20a5da5fb1
Merge bitcoin-core/secp256k1#1310 : Refine release process
Tim Ruffing
2023-05-24 15:49:55 +02:00
05873bb6b1
tweak_add: fix API doc for tweak=0
Jonas Nick
2023-05-23 18:32:15 +00:00
ad84603297
release process: clarify change log updates
Jonas Nick
2023-05-12 15:23:08 +00:00
6348bc7eee
release process: fix process for maintenance release
Jonas Nick
2023-05-12 14:20:07 +00:00
79fa50b082
release process: mention targeted release schedule
Jonas Nick
2023-05-12 14:19:52 +00:00
165206789b
release process: add sanity checks
Jonas Nick
2023-05-12 14:06:12 +00:00