Adding VOPRF draft's test vectors (#95)

Co-authored-by: Kevin Lewi <[email protected]>
This commit is contained in:
Kevin Lewi
2020-12-04 13:19:29 -08:00
committed by GitHub
co-authored by Kevin Lewi
parent 6f5a1fc6aa
commit 9f414d4a82
8 changed files with 242 additions and 57 deletions
+2 -2
View File
@@ -137,7 +137,7 @@ impl<CS: CipherSuite> ClientRegistration<CS> {
ClientRegistrationStartParameters::WithIdentifiers(id_u, id_s) => (id_u, id_s),
};
let (token, alpha) = oprf::blind::<R, CS::Group>(
let (token, alpha) = oprf::blind::<R, CS::Group, CS::Hash>(
&password,
blinding_factor_rng,
#[cfg(test)]
@@ -584,7 +584,7 @@ impl<CS: CipherSuite> ClientLogin<CS> {
}
};
let (token, alpha) = oprf::blind::<R, CS::Group>(
let (token, alpha) = oprf::blind::<R, CS::Group, CS::Hash>(
&password,
rng,
#[cfg(test)]