Patch for previous commit

This commit is contained in:
Luke Parker
2022-05-17 19:51:04 -04:00
parent fd0fd77cf5
commit 3a13f80bdd
3 changed files with 7 additions and 6 deletions

View File

@@ -125,8 +125,8 @@ pub struct DLEqProof {
impl DLEqProof {
pub fn prove<R: RngCore + CryptoRng>(
rng: &mut R,
secret: &DScalar,
H: &DPoint
H: &DPoint,
secret: &DScalar
) -> DLEqProof {
let r = random_scalar(rng);
let rG = &DTable * &r;