mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-09 12:49:23 +00:00
3.8.5 Let the caller pass in a DST for the aggregation hash function
Also moves the aggregator over to Digest. While a bit verbose for this context, as all appended items were fixed length, it's length prefixing is solid and the API is pleasant. The downside is the additional dependency which is in tree and quite compact.
This commit is contained in:
@@ -18,11 +18,11 @@ rand_core = "0.6"
|
||||
zeroize = { version = "1.5", features = ["zeroize_derive"] }
|
||||
|
||||
digest = "0.10"
|
||||
transcript = { package = "flexible-transcript", path = "../transcript", version = "0.2" }
|
||||
|
||||
group = "0.12"
|
||||
ciphersuite = { path = "../ciphersuite", version = "0.1" }
|
||||
|
||||
multiexp = { path = "../multiexp", version = "0.2", features = ["batch"] }
|
||||
ciphersuite = { path = "../ciphersuite", version = "0.1" }
|
||||
|
||||
[dev-dependencies]
|
||||
hex = "0.4"
|
||||
|
||||
Reference in New Issue
Block a user