bsc/crypto/secp256k1/libsecp256k1/src
Felix Lange b628d72766
build: upgrade to go 1.19 (#25726)
This changes the CI / release builds to use the latest Go version. It also
upgrades golangci-lint to a newer version compatible with Go 1.19.

In Go 1.19, godoc has gained official support for links and lists. The
syntax for code blocks in doc comments has changed and now requires a
leading tab character. gofmt adapts comments to the new syntax
automatically, so there are a lot of comment re-formatting changes in this
PR. We need to apply the new format in order to pass the CI lint stage with
Go 1.19.

With the linter upgrade, I have decided to disable 'gosec' - it produces
too many false-positive warnings. The 'deadcode' and 'varcheck' linters
have also been removed because golangci-lint warns about them being
unmaintained. 'unused' provides similar coverage and we already have it
enabled, so we don't lose much with this change.
2022-09-10 13:25:40 +02:00
..
asm all: fix 'the the' in comments (#24036) 2021-12-02 15:42:09 +01:00
java crypto/secp256k1: update to github.com/bitcoin-core/secp256k1 @ 9d560f9 (#3544) 2017-01-12 21:29:11 +01:00
modules build: upgrade to go 1.19 (#25726) 2022-09-10 13:25:40 +02:00
basic-config.h Update libsecp256k1 2015-09-28 17:46:38 +02:00
bench_ecdh.c crypto/secp256k1: update to github.com/bitcoin-core/secp256k1 @ 9d560f9 (#3544) 2017-01-12 21:29:11 +01:00
bench_internal.c crypto/secp256k1: update to github.com/bitcoin-core/secp256k1 @ 9d560f9 (#3544) 2017-01-12 21:29:11 +01:00
bench_recover.c Update libsecp256k1 2015-09-28 17:46:38 +02:00
bench_schnorr_verify.c Update libsecp256k1 2015-09-28 17:46:38 +02:00
bench_sign.c Update libsecp256k1 2015-09-28 17:46:38 +02:00
bench_verify.c crypto/secp256k1: update to github.com/bitcoin-core/secp256k1 @ 9d560f9 (#3544) 2017-01-12 21:29:11 +01:00
bench.h Update libsecp256k1 2015-09-28 17:46:38 +02:00
dummy.go build: upgrade to go 1.19 (#25726) 2022-09-10 13:25:40 +02:00
ecdsa_impl.h crypto/secp256k1: update to github.com/bitcoin-core/secp256k1 @ 9d560f9 (#3544) 2017-01-12 21:29:11 +01:00
ecdsa.h crypto/secp256k1: update to github.com/bitcoin-core/secp256k1 @ 9d560f9 (#3544) 2017-01-12 21:29:11 +01:00
eckey_impl.h crypto/secp256k1: update to github.com/bitcoin-core/secp256k1 @ 9d560f9 (#3544) 2017-01-12 21:29:11 +01:00
eckey.h crypto/secp256k1: update to github.com/bitcoin-core/secp256k1 @ 9d560f9 (#3544) 2017-01-12 21:29:11 +01:00
ecmult_const_impl.h crypto/secp256k1: update to github.com/bitcoin-core/secp256k1 @ 9d560f9 (#3544) 2017-01-12 21:29:11 +01:00
ecmult_const.h Update libsecp256k1 2015-09-28 17:46:38 +02:00
ecmult_gen_impl.h crypto/secp256k1: update to github.com/bitcoin-core/secp256k1 @ 9d560f9 (#3544) 2017-01-12 21:29:11 +01:00
ecmult_gen.h Update libsecp256k1 2015-09-28 17:46:38 +02:00
ecmult_impl.h crypto/secp256k1: update to github.com/bitcoin-core/secp256k1 @ 9d560f9 (#3544) 2017-01-12 21:29:11 +01:00
ecmult.h Update libsecp256k1 2015-09-28 17:46:38 +02:00
field_5x52_asm_impl.h Update libsecp256k1 2015-09-28 17:46:38 +02:00
field_5x52_impl.h crypto/secp256k1: update to github.com/bitcoin-core/secp256k1 @ 9d560f9 (#3544) 2017-01-12 21:29:11 +01:00
field_5x52_int128_impl.h crypto/secp256k1: update to github.com/bitcoin-core/secp256k1 @ 9d560f9 (#3544) 2017-01-12 21:29:11 +01:00
field_5x52.h Update libsecp256k1 2015-09-28 17:46:38 +02:00
field_10x26_impl.h crypto/secp256k1: update to github.com/bitcoin-core/secp256k1 @ 9d560f9 (#3544) 2017-01-12 21:29:11 +01:00
field_10x26.h Update libsecp256k1 2015-09-28 17:46:38 +02:00
field_impl.h crypto/secp256k1: update to github.com/bitcoin-core/secp256k1 @ 9d560f9 (#3544) 2017-01-12 21:29:11 +01:00
field.h crypto/secp256k1: update to github.com/bitcoin-core/secp256k1 @ 9d560f9 (#3544) 2017-01-12 21:29:11 +01:00
gen_context.c Update libsecp256k1 2015-09-28 17:46:38 +02:00
group_impl.h crypto/secp256k1: update to github.com/bitcoin-core/secp256k1 @ 9d560f9 (#3544) 2017-01-12 21:29:11 +01:00
group.h crypto/secp256k1: update to github.com/bitcoin-core/secp256k1 @ 9d560f9 (#3544) 2017-01-12 21:29:11 +01:00
hash_impl.h crypto/secp256k1: update to github.com/bitcoin-core/secp256k1 @ 9d560f9 (#3544) 2017-01-12 21:29:11 +01:00
hash.h crypto/secp256k1: update to github.com/bitcoin-core/secp256k1 @ 9d560f9 (#3544) 2017-01-12 21:29:11 +01:00
num_gmp_impl.h crypto/secp256k1: update to github.com/bitcoin-core/secp256k1 @ 9d560f9 (#3544) 2017-01-12 21:29:11 +01:00
num_gmp.h Update libsecp256k1 2015-09-28 17:46:38 +02:00
num_impl.h Update libsecp256k1 2015-09-28 17:46:38 +02:00
num.h all: fix various comment typos (#17748) 2018-09-25 12:26:35 +02:00
scalar_4x64_impl.h crypto/secp256k1: update to github.com/bitcoin-core/secp256k1 @ 9d560f9 (#3544) 2017-01-12 21:29:11 +01:00
scalar_4x64.h Update libsecp256k1 2015-09-28 17:46:38 +02:00
scalar_8x32_impl.h Update libsecp256k1 2015-09-28 17:46:38 +02:00
scalar_8x32.h Update libsecp256k1 2015-09-28 17:46:38 +02:00
scalar_impl.h crypto/secp256k1: update to github.com/bitcoin-core/secp256k1 @ 9d560f9 (#3544) 2017-01-12 21:29:11 +01:00
scalar_low_impl.h crypto/secp256k1: update to github.com/bitcoin-core/secp256k1 @ 9d560f9 (#3544) 2017-01-12 21:29:11 +01:00
scalar_low.h crypto/secp256k1: update to github.com/bitcoin-core/secp256k1 @ 9d560f9 (#3544) 2017-01-12 21:29:11 +01:00
scalar.h crypto/secp256k1: update to github.com/bitcoin-core/secp256k1 @ 9d560f9 (#3544) 2017-01-12 21:29:11 +01:00
secp256k1.c crypto/secp256k1: remove useless code (#17728) 2018-09-21 21:42:02 +02:00
testrand_impl.h crypto/secp256k1: update to github.com/bitcoin-core/secp256k1 @ 9d560f9 (#3544) 2017-01-12 21:29:11 +01:00
testrand.h crypto/secp256k1: update to github.com/bitcoin-core/secp256k1 @ 9d560f9 (#3544) 2017-01-12 21:29:11 +01:00
tests_exhaustive.c crypto/secp256k1: update to github.com/bitcoin-core/secp256k1 @ 9d560f9 (#3544) 2017-01-12 21:29:11 +01:00
tests.c crypto/secp256k1: update to github.com/bitcoin-core/secp256k1 @ 9d560f9 (#3544) 2017-01-12 21:29:11 +01:00
util.h crypto/secp256k1: update to github.com/bitcoin-core/secp256k1 @ 9d560f9 (#3544) 2017-01-12 21:29:11 +01:00