Skip to content
Snippets Groups Projects
Commit 470b5df2 authored by Niels Möller's avatar Niels Möller
Browse files

Drop an unneeded local cy variable.

parent 500d5b63
Branches
Tags
No related merge requests found
......@@ -79,7 +79,6 @@ ecc_eh_to_a (const struct ecc_curve *ecc,
/* Reduce modulo q. FIXME: Hardcoded for curve25519,
duplicates end of ecc_25519_modq. FIXME: Is this needed
at all? Full reduction mod p is maybe sufficient. */
mp_limb_t cy;
unsigned shift;
assert (ecc->p.bit_size == 255);
shift = 252 - GMP_NUMB_BITS * (ecc->p.size - 1);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment