mirror of
https://github.com/saymrwulf/curve25519-dalek-source.git
synced 2026-09-04 20:24:10 +00:00
Fix warning that a temporary value isn't used.
This commit is contained in:
parent
4cc0afdcfc
commit
4423394ed8
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ pub(crate) fn mul(point: &EdwardsPoint, scalar: &Scalar) -> EdwardsPoint {
|
|||
// We sum right-to-left.
|
||||
|
||||
// Unwrap first loop iteration to save computing 16*identity
|
||||
let mut tmp2 = ProjectivePoint::identity();
|
||||
let mut tmp2;
|
||||
let mut tmp3 = EdwardsPoint::identity();
|
||||
let mut tmp1 = &tmp3 + &lookup_table.select(scalar_digits[63]);
|
||||
// Now tmp1 = s_63*P in P1xP1 coords
|
||||
|
|
|
|||
Loading…
Reference in a new issue