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:
Luke Parker
2023-03-02 09:29:37 -05:00
parent 8b7e7b1a1c
commit 530671795a
3 changed files with 42 additions and 43 deletions

View File

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