Skip to content

Commit e567cc4

Browse files
committed
Tweak and integrate normalization.
1 parent 9046c4f commit e567cc4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

timeboost-crypto/src/feldman.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -345,11 +345,10 @@ impl<C: CurveGroup> KeyResharing<Self> for FeldmanVss<C> {
345345
row_commitments.iter().map(|row| row[j]).collect();
346346
interpolate_in_exponent::<C>(&eval_points, &j_th_coeffs)
347347
.map_err(|e| VssError::FailedCombine(e.to_string()))
348+
.map(|p| p.into_affine())
348349
})
349350
.collect::<Result<Vec<_>, VssError>>()?;
350351

351-
let new_commitment = C::normalize_batch(&new_commitment);
352-
353352
Ok((new_secret, new_commitment.into()))
354353
}
355354
}

0 commit comments

Comments
 (0)