Make the cross-group DLEqProof prove constant time

Instead of having if statements for the bits, it now has constant time 
ops. While there are still if statements guiding the proof itself, they 
aren't dependent on the data within.
This commit is contained in:
Luke Parker
2022-07-01 15:27:16 -04:00
parent 133c1222ad
commit 1c98f15d5b
2 changed files with 22 additions and 25 deletions

View File

@@ -10,6 +10,8 @@ edition = "2021"
thiserror = "1"
rand_core = "0.6"
subtle = "2.4"
transcript = { package = "flexible-transcript", path = "../transcript", version = "0.1" }
ff = "0.12"