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:
Luke Parker
2022-07-05 19:10:30 -04:00
parent fe9a8d9495
commit 26cee46950
11 changed files with 1031 additions and 475 deletions

View File

@@ -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"]