Test nullifiers in constant time

Checking for spent notes in a block is still not completely constant
time, due to filtering out negative results of the constant-time
comparison.

Part of #84.
This commit is contained in:
Jack Grigg
2019-08-22 00:57:04 +01:00
parent 2774d2730f
commit 2bafc688ff
3 changed files with 32 additions and 22 deletions

View File

@@ -12,6 +12,7 @@ ff = { path = "../ff" }
hex = "0.3"
pairing = { path = "../pairing" }
protobuf = "2"
subtle = "2"
zcash_primitives = { path = "../zcash_primitives" }
[build-dependencies]