Commit 470b5df2 authored by Niels Möller's avatar Niels Möller

Drop an unneeded local cy variable.

parent 500d5b63
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment