Commit 983c542d authored by Niels Möller's avatar Niels Möller

Use q_bit_size for ecc_modq_inv.

parent a6af0cc0
...@@ -64,5 +64,5 @@ void ...@@ -64,5 +64,5 @@ void
ecc_modq_inv (const struct ecc_curve *ecc, mp_limb_t *rp, mp_limb_t *ap, ecc_modq_inv (const struct ecc_curve *ecc, mp_limb_t *rp, mp_limb_t *ap,
mp_limb_t *scratch) mp_limb_t *scratch)
{ {
sec_modinv (rp, ap, ecc->size, ecc->q, ecc->qp1h, ecc->bit_size, scratch); sec_modinv (rp, ap, ecc->size, ecc->q, ecc->qp1h, ecc->q_bit_size, scratch);
} }
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