Lines Matching defs:meth
50 ec_GFp_nistp256_mod(const mp_int *a, mp_int *r, const GFMethod *meth)
74 MP_CHECKOK(mp_mod(a, &meth->irr, r));
239 MP_CHECKOK(mp_sub(r, &meth->irr, r));
246 MP_CHECKOK(mp_add(r, &meth->irr, r));
249 MP_CHECKOK(mp_sub(r, &meth->irr, r));
253 if (MP_DIGIT(r,7) >= MP_DIGIT(&meth->irr,7)) {
254 if (mp_cmp(r,&meth->irr) != MP_LT) {
255 MP_CHECKOK(mp_sub(r, &meth->irr, r));
379 MP_CHECKOK(mp_sub(r, &meth->irr, r));
394 ec_GFp_nistp256_sqr(const mp_int *a, mp_int *r, const GFMethod *meth)
399 MP_CHECKOK(ec_GFp_nistp256_mod(r, r, meth));
409 const GFMethod *meth)
414 MP_CHECKOK(ec_GFp_nistp256_mod(r, r, meth));
425 group->meth->field_mod = &ec_GFp_nistp256_mod;
426 group->meth->field_mul = &ec_GFp_nistp256_mul;
427 group->meth->field_sqr = &ec_GFp_nistp256_sqr;