You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
0559fc6 Merge bitcoin-core/secp256k1#988: Make signing table fully static
7dfcece build: Remove #undef hack for ASM in the precomputation programs
bb36fe9 ci: Test `make precomp`
d94a37a build: Remove CC_FOR_BUILD stuff
ad63bb4 build: Prebuild and distribute ecmult_gen table
ac49361 prealloc: Get rid of manual memory management for prealloc contexts
6573c08 ecmult_gen: Tidy precomputed file and save space
5eba83f ecmult_gen: Precompute tables for all values of ECMULT_GEN_PREC_BITS
5d0dbef Merge bitcoin-core/secp256k1#942: Verify that secp256k1_ge_set_gej_zinv does not operate on infinity.
486205a Merge bitcoin-core/secp256k1#920: Test all ecmult functions with many j*2^i combinations
fdb33dd refactor: Make PREC_BITS a parameter of ecmult_gen_build_prec_table
5eb519e ci: reduce TEST_ITERS in memcheck run
e2cf773 Test ecmult functions for all i*2^j for j=0..255 and odd i=1..255.
61ae37c Merge bitcoin-core/secp256k1#1022: build: Windows DLL additions
4f01840 Merge bitcoin-core/secp256k1#1027: build: Add a check that Valgrind actually supports a host platform
6ad908a Merge bitcoin-core/secp256k1#1008: bench.c: add `--help` option and ci: move env variables
592661c ci: move test environment variable declaration to .cirrus.yml
dcbe84b bench: add --help option to bench.
099bad9 Comment and check a parameter for inf in secp256k1_ecmult_const.
6c0be85 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.
4900227 Merge bitcoin-core/secp256k1#1025: build: replace backtick command substitution with $()
7c7ce87 build: Add a check that Valgrind actually supports a host platform
a4875e3 refactor: Move default callbacks to util.h
4c94c55 doc: Remove obsolete hint for valgrind stack size
5106226 exhaustive_tests: Fix with ecmult_gen table with custom generator
e1a7653 refactor: Make generator a parameter of ecmult_gen_create_prec_table
9ad09f6 refactor: Rename program that generates static ecmult_gen table
8ae18f1 refactor: Rename file that contains static ecmult_gen table
00d2fa1 ecmult_gen: Make code consistent with comment
3b0c218 ecmult_gen: Simplify ecmult_gen context after making table static
2b7c749 build: replace backtick command substitution with $()
49f608d Merge bitcoin-core/secp256k1#1004: ecmult: fix definition of STRAUSS_SCRATCH_OBJECTS
c0cd7de build: add -no-undefined to libtool LDFLAGS
fe32a79 build: pass win32-dll to LT_INIT
60bf889 ecmult: fix definition of STRAUSS_SCRATCH_OBJECTS
fecf436 Merge bitcoin-core/secp256k1#1019: build: don't append valgrind CPPFLAGS if not installed (macOS)
2e5e4b6 Merge bitcoin-core/secp256k1#1020: doc: remove use of <0xa0> "no break space"
812ff5c doc: remove use of 0xa0 "no break space"
214042a build: don't append valgrind CPPFLAGS if not installed
e43ba02 refactor: Decouple table generation and ecmult_gen context
22dc2c0 ecmult_gen: Move table creation to new file and force static prec
793ad90 Merge bitcoin-core/secp256k1#1010: doc: Minor fixes in safegcd_implementation.md
dc9b685 doc: Minor fixes in safegcd_implementation.md
ea5e8a9 Merge bitcoin-core/secp256k1#1012: Fix typos
2332975 Fix typos
7006f1b Merge bitcoin-core/secp256k1#1011: ci: Enable -g if we set CFLAGS manually
72de135 ci: Enable -g if we set CFLAGS manually
74c34e7 Merge bitcoin-core/secp256k1#1009: refactor: Use (int)&(int) in boolean context to avoid compiler warning
16d1322 refactor: Use (int)&(int) in boolean context to avoid compiler warning
c74a7b7 Merge bitcoin-core/secp256k1#1007: doc: Replace apoelstra's GPG key by jonasnick's GPG key
3b157c4 doc: Suggest keys.openpgp.org as keyserver in SECURITY.md
73a7472 doc: Replace apoelstra's GPG key by jonasnick's GPG key
515a5db Merge bitcoin-core/secp256k1#991: Merge all "external" benchmarks into a single bench binary
af6abcb Make bench support selecting which benchmarks to run
9f56bdf Merge bench_schnorrsig into bench
3208557 Merge bench_recover into bench
855e18d Merge bench_ecdh into bench
2a7be67 Combine bench_sign and bench_verify into single bench
8fa4120 Merge bitcoin-core/secp256k1#1002: Make aux_rnd32==NULL behave identical to 0x0000..00.
5324f89 Make aux_rnd32==NULL behave identical to 0x0000..00.
21c188b Merge bitcoin-core/secp256k1#943: VERIFY_CHECK precondition for secp256k1_fe_set_int.
3e7b2ea Merge bitcoin-core/secp256k1#999: bench_ecmult: improve clarity of output
23e2f66 bench: don't return 1 in have_flag() if argc = 1
96b1ad2 bench_ecmult: improve clarity of output
20d791e Merge bitcoin-core/secp256k1#989: Shared benchmark format for command line and CSV outputs
aa1b889 Merge bitcoin-core/secp256k1#996: Fix G.y parity in sage code
044d956 Fix G.y parity in sage code
b4b1306 create csv file from the benchmark output
26a255b Shared benchmark format for command line and CSV outputs
9526874 Merge bitcoin-core/secp256k1#810: Avoid overly-wide multiplications in 5x52 field mul/sqr
920a0e5 Merge bitcoin-core/secp256k1#952: Avoid computing out-of-bounds pointer.
f34b5ca Merge bitcoin-core/secp256k1#983: [RFC] Remove OpenSSL testing support
297ce82 Merge bitcoin-core/secp256k1#966: Make aux_rand32 arg to secp256k1_schnorrsig_sign const
2888640 VERIFY_CHECK precondition for secp256k1_fe_set_int.
d49011f Make _set_fe_int( . , 0 ) set magnitude to 0
bc08599 Remove OpenSSL testing support
10f9bd8 Merge bitcoin-core/secp256k1#987: Fix unused parameter warnings when building without VERIFY
189f6bc Fix unused parameter warnings when building without VERIFY
da0092b Merge bitcoin-core/secp256k1#986: tests: remove `secp256k1_fe_verify` from tests.c and modify `_fe_from_storage` to call `_fe_verify`
d439937 tests: remove `secp256k1_fe_verify` from tests.c and modify `secp256k1_fe_from_storage` to call `secp256k1_fe_verify`
2a3a97c Merge bitcoin-core/secp256k1#976: `secp256k1_schnorrsig_sign_internal` should be static
aa5d34a Merge bitcoin-core/secp256k1#783: Make the public API docs more consistent and explicit
7271387 Add missing static to secp256k1_schnorrsig_sign_internal
db4667d Make aux_rand32 arg to secp256k1_schnorrsig_sign const
9a5a87e Merge bitcoin-core/secp256k1#956: Replace ecmult_context with a generated static array.
20abd52 Add tests for pre_g tables.
6815761 Remove ecmult_context.
f20dcbb Correct typo.
16a3cc0 Generate ecmult_static_pre_g.h
8de2d86 Bump memory limits in advance of making the ecmult context static.
d7ec49a Merge bitcoin-core/secp256k1#969: ci: Fixes after Debian release
5d5c74a tests: Rewrite code to circument potential bug in clang
3d2f492 ci: Install libasan6 (instead of 5) after Debian upgrade
adec5a1 Add missing null check for ctx and input keys in the public API
f4edfc7 Improve consistency for NULL arguments in the public interface
9be7b0f Avoid computing out-of-bounds pointer.
b53e0cd Avoid overly-wide multiplications
git-subtree-dir: src/secp256k1
git-subtree-split: 0559fc6
Copy file name to clipboardexpand all lines: .cirrus.yml
+12-14
Original file line number
Diff line number
Diff line change
@@ -19,9 +19,9 @@ env:
19
19
RECOVERY: no
20
20
SCHNORRSIG: no
21
21
### test options
22
-
TEST_ITERS:
22
+
SECP256K1_TEST_ITERS:
23
23
BENCH: yes
24
-
BENCH_ITERS: 2
24
+
SECP256K1_BENCH_ITERS: 2
25
25
CTIMETEST: yes
26
26
27
27
cat_logs_snippet: &CAT_LOGS
@@ -171,7 +171,7 @@ task:
171
171
memory: 1G
172
172
env:
173
173
WRAPPER_CMD: qemu-s390x
174
-
TEST_ITERS: 16
174
+
SECP256K1_TEST_ITERS: 16
175
175
HOST: s390x-linux-gnu
176
176
WITH_VALGRIND: no
177
177
ECDH: yes
@@ -194,7 +194,7 @@ task:
194
194
memory: 1G
195
195
env:
196
196
WRAPPER_CMD: qemu-arm
197
-
TEST_ITERS: 16
197
+
SECP256K1_TEST_ITERS: 16
198
198
HOST: arm-linux-gnueabihf
199
199
WITH_VALGRIND: no
200
200
ECDH: yes
@@ -218,7 +218,7 @@ task:
218
218
memory: 1G
219
219
env:
220
220
WRAPPER_CMD: qemu-aarch64
221
-
TEST_ITERS: 16
221
+
SECP256K1_TEST_ITERS: 16
222
222
HOST: aarch64-linux-gnu
223
223
WITH_VALGRIND: no
224
224
ECDH: yes
@@ -239,7 +239,7 @@ task:
239
239
memory: 1G
240
240
env:
241
241
WRAPPER_CMD: qemu-ppc64le
242
-
TEST_ITERS: 16
242
+
SECP256K1_TEST_ITERS: 16
243
243
HOST: powerpc64le-linux-gnu
244
244
WITH_VALGRIND: no
245
245
ECDH: yes
@@ -260,7 +260,7 @@ task:
260
260
memory: 1G
261
261
env:
262
262
WRAPPER_CMD: wine64-stable
263
-
TEST_ITERS: 16
263
+
SECP256K1_TEST_ITERS: 16
264
264
HOST: x86_64-w64-mingw32
265
265
WITH_VALGRIND: no
266
266
ECDH: yes
@@ -278,28 +278,26 @@ task:
278
278
container:
279
279
dockerfile: ci/linux-debian.Dockerfile
280
280
cpu: 1
281
-
memory: 1G
281
+
memory: 2G
282
282
env:
283
283
ECDH: yes
284
284
RECOVERY: yes
285
285
EXPERIMENTAL: yes
286
286
SCHNORRSIG: yes
287
287
CTIMETEST: no
288
-
EXTRAFLAGS: "--disable-openssl-tests"
289
288
matrix:
290
289
- name: "Valgrind (memcheck)"
291
290
env:
292
291
# The `--error-exitcode` is required to make the test fail if valgrind found errors, otherwise it'll return 0 (https://www.valgrind.org/docs/manual/manual-core.html)
If configured with `--enable-benchmark` (which is the default), binaries for benchmarking the libsecp256k1 functions will be present in the root directory after the build.
97
+
98
+
To print the benchmark result to the command line:
99
+
100
+
$ ./bench_name
101
+
102
+
To create a CSV file for the benchmark result :
103
+
104
+
$ ./bench_name | sed '2d;s/ \{1,\}//g' > bench_name.csv
You can import a key by running the following command with that individual’s fingerprint: `gpg --recv-keys "<fingerprint>"` Ensure that you put quotes around fingerprints containing spaces.
15
+
You can import a key by running the following command with that individual’s fingerprint: `gpg --keyserver hkps://keys.openpgp.org --recv-keys "<fingerprint>"` Ensure that you put quotes around fingerprints containing spaces.
0 commit comments