mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-09 20:59:23 +00:00
Add a batch verified DLEq
The batch verified one offers ~23% faster verification. While this massively refactors for modularity, I'm still not happy with the DLEq proofs at the top level, nor am I happy with the AOS signatures. I'll work on cleaning them up more later.
This commit is contained in:
@@ -19,7 +19,7 @@ transcript = { package = "flexible-transcript", path = "../transcript", version
|
||||
ff = "0.12"
|
||||
group = "0.12"
|
||||
|
||||
multiexp = { path = "../multiexp", optional = true }
|
||||
multiexp = { path = "../multiexp", features = ["batch"], optional = true }
|
||||
|
||||
[dev-dependencies]
|
||||
hex-literal = "0.3"
|
||||
@@ -33,8 +33,8 @@ transcript = { package = "flexible-transcript", path = "../transcript", features
|
||||
|
||||
[features]
|
||||
serialize = []
|
||||
cross_group = []
|
||||
cross_group = ["multiexp"]
|
||||
secure_capacity_difference = []
|
||||
|
||||
# These only apply to cross_group, yet are default to ensure its integrity and performance
|
||||
default = ["secure_capacity_difference", "multiexp"]
|
||||
# Only applies to cross_group, yet is default to ensure security
|
||||
default = ["secure_capacity_difference"]
|
||||
|
||||
Reference in New Issue
Block a user