Searched refs:accr (Results 1 – 2 of 2) sorted by relevance
/illumos-gate/usr/src/common/crypto/ecc/ |
H A D | ecp_aff.c | 299 mp_int accl, accr, tmp, pxt, pyt; in ec_GFp_validate_point() local 302 MP_DIGITS(&accr) = 0; in ec_GFp_validate_point() 307 MP_CHECKOK(mp_init(&accr, FLAG(px))); in ec_GFp_validate_point() 337 MP_CHECKOK( group->meth->field_mul(&pxt, &tmp, &accr, group->meth) ); in ec_GFp_validate_point() 339 MP_CHECKOK( group->meth->field_add(&tmp, &accr, &accr, group->meth) ); in ec_GFp_validate_point() 340 MP_CHECKOK( group->meth->field_add(&accr, &group->curveb, &accr, group->meth) ); in ec_GFp_validate_point() 342 MP_CHECKOK( group->meth->field_sub(&accl, &accr, &accr, group->meth) ); in ec_GFp_validate_point() 343 if (mp_cmp_z(&accr) != 0) { in ec_GFp_validate_point() 360 mp_clear(&accr); in ec_GFp_validate_point()
|
H A D | ec2_aff.c | 286 mp_int accl, accr, tmp, pxt, pyt; in ec_GF2m_validate_point() local 289 MP_DIGITS(&accr) = 0; in ec_GF2m_validate_point() 294 MP_CHECKOK(mp_init(&accr, FLAG(px))); in ec_GF2m_validate_point() 326 MP_CHECKOK( group->meth->field_mul(&pxt, &tmp, &accr, group->meth) ); in ec_GF2m_validate_point() 328 MP_CHECKOK( group->meth->field_add(&tmp, &accr, &accr, group->meth) ); in ec_GF2m_validate_point() 329 MP_CHECKOK( group->meth->field_add(&accr, &group->curveb, &accr, group->meth) ); in ec_GF2m_validate_point() 331 MP_CHECKOK( group->meth->field_add(&accl, &accr, &accr, group->meth) ); in ec_GF2m_validate_point() 332 if (mp_cmp_z(&accr) != 0) { in ec_GF2m_validate_point() 349 mp_clear(&accr); in ec_GF2m_validate_point()
|