mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 12:19:24 +00:00
Tweak multiexp to compile on core
On `core`, it'll use a serial implementation of no benefit other than the fact that when `alloc` _is_ enabled, it'll use the multi-scalar multiplication algorithms. `schnorr-signatures` was prior tweaked to include a shim for `SchnorrSignature::verify` which didn't use `multiexp_vartime` yet this same premise. Now, instead of callers writing these shims, it's within `multiexp`.
This commit is contained in:
@@ -21,7 +21,7 @@ std-shims = { path = "../../common/std-shims", default-features = false }
|
||||
|
||||
flexible-transcript = { path = "../../crypto/transcript", default-features = false, features = ["recommended", "merlin"] }
|
||||
|
||||
multiexp = { path = "../../crypto/multiexp", default-features = false, features = ["batch"], optional = true }
|
||||
multiexp = { path = "../../crypto/multiexp", default-features = false }
|
||||
|
||||
dalek-ff-group = { path = "../../crypto/dalek-ff-group", default-features = false }
|
||||
minimal-ed448 = { path = "../../crypto/ed448", default-features = false }
|
||||
@@ -46,7 +46,8 @@ bitcoin-serai = { path = "../../networks/bitcoin", default-features = false, fea
|
||||
alloc = [
|
||||
"std-shims/alloc",
|
||||
|
||||
"multiexp",
|
||||
"multiexp/alloc",
|
||||
"multiexp/batch",
|
||||
|
||||
"dalek-ff-group/alloc",
|
||||
"minimal-ed448/alloc",
|
||||
|
||||
Reference in New Issue
Block a user