]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
Use q_bit_size for ecc_modq_inv.
authorNiels Möller <nisse@lysator.liu.se>
Wed, 27 Aug 2014 19:58:45 +0000 (21:58 +0200)
committerNiels Möller <nisse@lysator.liu.se>
Wed, 27 Aug 2014 19:58:45 +0000 (21:58 +0200)
ecc-modq.c

index a3285620e6f7de58961523580994dad08ce4b6d4..1555486633106cc12b27fe14b7b445409e5d8f75 100644 (file)
@@ -64,5 +64,5 @@ void
 ecc_modq_inv (const struct ecc_curve *ecc, mp_limb_t *rp, mp_limb_t *ap,
              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);
 }