From: Niels Möller Date: Wed, 27 Aug 2014 19:58:45 +0000 (+0200) Subject: Use q_bit_size for ecc_modq_inv. X-Git-Tag: nettle_3.1rc1~152 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=983c542d782279b7cbb0ecdce1e25e21122988ef;p=thirdparty%2Fnettle.git Use q_bit_size for ecc_modq_inv. --- diff --git a/ecc-modq.c b/ecc-modq.c index a3285620..15554866 100644 --- a/ecc-modq.c +++ b/ecc-modq.c @@ -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); }