mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-22 11:32:09 +00:00
65db331eaf
* Check in go-ethereum crypto/sepc256k1 package with proper build rules * gaz * Add karalabe/usb * viz improvement * Remove bazel-go-ethereum, use vendored libraries only * move vendor stuff to third_party so that go mod wont be mad anymore * fix geth e2e flags * fix geth e2e flags * remove old rules_foreign_cc toolchain * Update cross compile docker image to support os x * works for geth build * remove copy of sepc256k1 * revert changes in tools/cross-toolchain * gaz * Update go-ethereum to 1.10.10 * Revert "revert changes in tools/cross-toolchain" This reverts commit 2e8128f7c3a2d20a16e50b88ec7e5b69c70ddf2b. * revert tags changes Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
59 lines
2.0 KiB
Diff
59 lines
2.0 KiB
Diff
diff --color -ruN a/crypto/secp256k1/BUILD.bazel b/crypto/secp256k1/BUILD.bazel
|
|
--- a/crypto/secp256k1/BUILD.bazel 2021-10-14 20:32:30.202922024 -0500
|
|
+++ b/crypto/secp256k1/BUILD.bazel 2021-10-14 20:30:17.921027939 -0500
|
|
@@ -11,10 +11,11 @@
|
|
"scalar_mult_nocgo.go",
|
|
"secp256.go",
|
|
],
|
|
+ cdeps = ["//crypto/secp256k1/libsecp256k1:hdrs"],
|
|
cgo = True,
|
|
copts = [
|
|
- "-Icrypto/secp256k1/libsecp256k1",
|
|
- "-Icrypto/secp256k1/libsecp256k1/src",
|
|
+ "-Iexternal/com_github_ethereum_go_ethereum/crypto/secp256k1/libsecp256k1",
|
|
+ "-Iexternal/com_github_ethereum_go_ethereum/crypto/secp256k1/libsecp256k1/src",
|
|
],
|
|
importpath = "github.com/ethereum/go-ethereum/crypto/secp256k1",
|
|
visibility = ["//visibility:public"],
|
|
diff --color -ruN a/crypto/secp256k1/libsecp256k1/BUILD.bazel b/crypto/secp256k1/libsecp256k1/BUILD.bazel
|
|
--- a/crypto/secp256k1/libsecp256k1/BUILD.bazel 1969-12-31 18:00:00.000000000 -0600
|
|
+++ b/crypto/secp256k1/libsecp256k1/BUILD.bazel 2021-10-14 12:54:27.704265206 -0500
|
|
@@ -0,0 +1,37 @@
|
|
+cc_library(
|
|
+ name = "hdrs",
|
|
+ hdrs = [
|
|
+ "include/secp256k1.h",
|
|
+ "include/secp256k1_recovery.h",
|
|
+ "src/ecdsa.h",
|
|
+ "src/ecdsa_impl.h",
|
|
+ "src/eckey.h",
|
|
+ "src/eckey_impl.h",
|
|
+ "src/ecmult.h",
|
|
+ "src/ecmult_const.h",
|
|
+ "src/ecmult_const_impl.h",
|
|
+ "src/ecmult_gen.h",
|
|
+ "src/ecmult_gen_impl.h",
|
|
+ "src/ecmult_impl.h",
|
|
+ "src/field.h",
|
|
+ "src/field_5x52.h",
|
|
+ "src/field_5x52_impl.h",
|
|
+ "src/field_5x52_int128_impl.h",
|
|
+ "src/field_impl.h",
|
|
+ "src/group.h",
|
|
+ "src/group_impl.h",
|
|
+ "src/hash.h",
|
|
+ "src/hash_impl.h",
|
|
+ "src/modules/recovery/main_impl.h",
|
|
+ "src/num.h",
|
|
+ "src/num_impl.h",
|
|
+ "src/scalar.h",
|
|
+ "src/scalar_4x64.h",
|
|
+ "src/scalar_4x64_impl.h",
|
|
+ "src/scalar_impl.h",
|
|
+ "src/secp256k1.c",
|
|
+ "src/util.h",
|
|
+ ],
|
|
+ visibility = ["//visibility:public"],
|
|
+)
|
|
+
|