mirror of
https://github.com/saymrwulf/risc0-curve25519-dalek-source.git
synced 2026-09-05 20:10:35 +00:00
Remove excessive clone() on Copy, caught by clippy.
This commit is contained in:
parent
3a664a054a
commit
044128dc58
1 changed files with 1 additions and 1 deletions
|
|
@ -1006,7 +1006,7 @@ impl EdwardsBasepointTable {
|
|||
// XXX can we skip the initialization without too much unsafety?
|
||||
// stick 30K on the stack and call it a day.
|
||||
let mut table = EdwardsBasepointTable([[AffineNielsPoint::identity(); 8]; 32]);
|
||||
let mut P = basepoint.clone();
|
||||
let mut P = *basepoint;
|
||||
for i in 0..32 {
|
||||
// P = (16^2)^i * B
|
||||
let mut jP = P.to_affine_niels();
|
||||
|
|
|
|||
Loading…
Reference in a new issue