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
f09497ea3eCI: tweak cirrus.yml to prevent OOM and timeout w sanitizer/valgrind (Jonas Nick)7226cf215aecdsa_adaptor: fix too small buffer in tests (Jonas Nick)b053e853d4ecdsa_adaptor: fix test case with invalid signature (Jonas Nick)d27e459861Revert "Remove unused Jacobi symbol support" (Jonas Nick)c58c4ea470ci: Add ppc64le build (Tim Ruffing)8f879c2887Fix array size in bench_ecmult (Jonas Nick)2fe1b50df1Add ecmult_gen, ecmult_const and ecmult to benchmark (Jonas Nick)593e6bad9cClean up ecmult_bench to make space for more benchmarks (Jonas Nick)a35fdd3478ci: Run PRs on merge result even for i686 (Tim Ruffing)02dcea1ad9ci: Make test iterations configurable and tweak for sanitizer builds (Tim Ruffing)489ff5c20atests: Treat empty SECP2561_TEST_ITERS as if it was unset (Tim Ruffing)fcfcb97e74ci: Simplify to use generic wrapper for QEMU, Valgrind, etc (Tim Ruffing)de4157f13aci: Run ASan/LSan and reorganize sanitizer and Valgrind jobs (Tim Ruffing)09b3bb8648Clean up git tree (Tim Ruffing)8bbad7a18eAdd asm build to ARM32 CI (Pieter Wuille)7d65ed5214Add ARM32/ARM64 CI (Pieter Wuille)6eceec6d56add `secp256k1_xonly_pubkey_cmp` method (Andrew Poelstra)0d9561ae87add `secp256k1_ec_pubkey_cmp` method (Andrew Poelstra)22a9ea154acontrib: Explain explicit header guards (Tim Ruffing)0881633dfdsecp256k1.h: clarify that by default arguments must be != NULL (Jonas Nick)14c9739a1ftests: Improve secp256k1_ge_set_all_gej_var for some infinity inputs (Tim Ruffing)4a19668c37tests: Test secp256k1_ge_set_all_gej_var for all infinity inputs (Tim Ruffing)45b6468d7eHave secp256k1_ge_set_all_gej_var initialize all fields. Previous behaviour would not initialize r->y values in the case where infinity is passed in. Furthermore, the previous behaviour wouldn't initialize anything in the case where all inputs were infinity. (Russell O'Connor)31c0f6de41Have secp256k1_gej_double_var initialize all fields. Previous behaviour would not initialize r->x and r->y values in the case where infinity is passed in. (Russell O'Connor)dd6c3de322Have secp256k1_ge_set_gej_var initialize all fields. Previous behaviour would not initialize r->x and r->y values in the case where infinity is passed in. (Russell O'Connor)3c90bdda95change local lib headers to be relative for those pointing at "include/" dir (William Bright)c8483520c9Makefile.am: Don't pass a variable twice (Tim Ruffing)2161f31785Makefile.am: Honor config when building gen_context (Tim Ruffing)99f47c20ecgen_context: Don't use external ASM because it complicates the build (Tim Ruffing)99e2d5be0dAvoids a missing brace warning in schnorrsig/tests_impl.h on old compilers. (Gregory Maxwell)ed5a199bedtests: fopen /dev/urandom in binary mode (Tim Ruffing)4dc37bf81bAdd mingw32-w64/wine CI build (Pieter Wuille)ae9e648526Define SECP256K1_BUILD in secp256k1.c directly. (Gregory Maxwell)be0609fd54Add unit tests for edge cases with delta=1/2 variant of divsteps (Pieter Wuille)cd393ce228Optimization: only do 59 hddivsteps per iteration instead of 62 (Pieter Wuille)277b224b6aUse modified divsteps with initial delta=1/2 for constant-time (Pieter Wuille)376ca366dbFix typo in explanation (Pieter Wuille)07067967eeadd ECMULT_GEN_PREC_BITS to basic_config.h (Aaron Voisine)a3aa2628c7gen_context: Don't include basic-config.h (Tim Ruffing)99a1cfec17print warnings for conditional-uninitialized (PiRK)3d2cf6c5bdinitialize variable in tests (PiRK)23c3fb629bMake argument of fe_normalizes_to_zero{_var} const (Pieter Wuille)4504472269changed import to use brackets <> for openssl as they are not local to the project (William Bright)24ad04fc06Make scalar_inverse{,_var} benchmark scale with SECP256K1_BENCH_ITERS (Pieter Wuille)ebc1af700fOptimization: track f,g limb count and pass to new variable-time update_fg_var (Peter Dettman)b306935ac1Optimization: use formulas instead of lookup tables for cancelling g bits (Peter Dettman)9164a1b658Optimization: special-case zero modulus limbs in modinv64 (Pieter Wuille)1f233b3fa0Remove num/gmp support (Pieter Wuille)20448b8d09Remove unused Jacobi symbol support (Pieter Wuille)5437e7bdfbRemove unused scalar_sqr (Pieter Wuille)aa9cc52180Improve field/scalar inverse tests (Pieter Wuille)1e0e885c8aMake field/scalar code use the new modinv modules for inverses (Pieter Wuille)436281afdcMove secp256k1_fe_inverse{_var} to per-impl files (Pieter Wuille)aa404d53beMove secp256k1_scalar_{inverse{_var},is_even} to per-impl files (Pieter Wuille)08d54964e5Improve bounds checks in modinv modules (Pieter Wuille)151aac00d3Add tests for modinv modules (Pieter Wuille)d8a92fcc4cAdd extensive comments on the safegcd algorithm and implementation (Pieter Wuille)8e415acba2Add safegcd based modular inverse modules (Peter Dettman)de0a643c3dAdd secp256k1_ctz{32,64}_var functions (Pieter Wuille) Pull request description: ACKs for top commit: real-or-random: ACKf09497ea3eTree-SHA512: 6cf3e96c5974e9aa17bd649fa7fdd738090ec3ab8c99e144fec397c086a24adc2ace9a5218a3c527989fc07e1d5c669027e4c895caf92d22771c8414b2a9bf35
This commit is contained in:
@@ -5,7 +5,6 @@
|
||||
***********************************************************************/
|
||||
|
||||
#include <string.h>
|
||||
#include <secp256k1.h>
|
||||
|
||||
#include "lax_der_parsing.h"
|
||||
|
||||
|
||||
@@ -51,7 +51,13 @@
|
||||
#ifndef SECP256K1_CONTRIB_LAX_DER_PARSING_H
|
||||
#define SECP256K1_CONTRIB_LAX_DER_PARSING_H
|
||||
|
||||
/* #include secp256k1.h only when it hasn't been included yet.
|
||||
This enables this file to be #included directly in other project
|
||||
files (such as tests.c) without the need to set an explicit -I flag,
|
||||
which would be necessary to locate secp256k1.h. */
|
||||
#ifndef SECP256K1_H
|
||||
#include <secp256k1.h>
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
***********************************************************************/
|
||||
|
||||
#include <string.h>
|
||||
#include <secp256k1.h>
|
||||
|
||||
#include "lax_der_privatekey_parsing.h"
|
||||
|
||||
|
||||
@@ -28,7 +28,13 @@
|
||||
#ifndef SECP256K1_CONTRIB_BER_PRIVATEKEY_H
|
||||
#define SECP256K1_CONTRIB_BER_PRIVATEKEY_H
|
||||
|
||||
/* #include secp256k1.h only when it hasn't been included yet.
|
||||
This enables this file to be #included directly in other project
|
||||
files (such as tests.c) without the need to set an explicit -I flag,
|
||||
which would be necessary to locate secp256k1.h. */
|
||||
#ifndef SECP256K1_H
|
||||
#include <secp256k1.h>
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
Reference in New Issue
Block a user