Lines Matching refs:meth
59 ec_GFp_nistp192_mod(const mp_int *a, mp_int *r, const GFMethod *meth) in ec_GFp_nistp192_mod() argument
86 MP_CHECKOK(mp_mod(a, &meth->irr, r)); in ec_GFp_nistp192_mod()
309 const GFMethod *meth) in ec_GFp_nistp192_add() argument
394 const GFMethod *meth) in ec_GFp_nistp192_sub() argument
476 ec_GFp_nistp192_sqr(const mp_int *a, mp_int *r, const GFMethod *meth) in ec_GFp_nistp192_sqr() argument
481 MP_CHECKOK(ec_GFp_nistp192_mod(r, r, meth)); in ec_GFp_nistp192_sqr()
491 const GFMethod *meth) in ec_GFp_nistp192_mul() argument
496 MP_CHECKOK(ec_GFp_nistp192_mod(r, r, meth)); in ec_GFp_nistp192_mul()
505 const GFMethod *meth) in ec_GFp_nistp192_div() argument
512 return mp_invmod(b, &meth->irr, r); in ec_GFp_nistp192_div()
517 MP_CHECKOK(mp_invmod(b, &meth->irr, &t)); in ec_GFp_nistp192_div()
519 MP_CHECKOK(ec_GFp_nistp192_mod(r, r, meth)); in ec_GFp_nistp192_div()
532 group->meth->field_mod = &ec_GFp_nistp192_mod; in ec_group_set_gfp192()
533 group->meth->field_mul = &ec_GFp_nistp192_mul; in ec_group_set_gfp192()
534 group->meth->field_sqr = &ec_GFp_nistp192_sqr; in ec_group_set_gfp192()
535 group->meth->field_div = &ec_GFp_nistp192_div; in ec_group_set_gfp192()
537 group->meth->field_add = &ec_GFp_nistp192_add; in ec_group_set_gfp192()
538 group->meth->field_sub = &ec_GFp_nistp192_sub; in ec_group_set_gfp192()