Home
last modified time | relevance | path

Searched refs:pyt (Results 1 – 2 of 2) sorted by relevance

/titanic_44/usr/src/common/crypto/ecc/
H A Dec2_aff.c288 mp_int accl, accr, tmp, pxt, pyt; in ec_GF2m_validate_point() local
294 MP_DIGITS(&pyt) = 0; in ec_GF2m_validate_point()
299 MP_CHECKOK(mp_init(&pyt, FLAG(px))); in ec_GF2m_validate_point()
317 group->meth->field_enc(py, &pyt, group->meth); in ec_GF2m_validate_point()
320 mp_copy(py, &pyt); in ec_GF2m_validate_point()
323 MP_CHECKOK( group->meth->field_sqr(&pyt, &accl, group->meth) ); in ec_GF2m_validate_point()
324 MP_CHECKOK( group->meth->field_mul(&pxt, &pyt, &tmp, group->meth) ); in ec_GF2m_validate_point()
341 MP_CHECKOK( ECPoint_mul(group, &group->order, px, py, &pxt, &pyt) ); in ec_GF2m_validate_point()
342 if (ec_GF2m_pt_is_inf_aff(&pxt, &pyt) != MP_YES) { in ec_GF2m_validate_point()
354 mp_clear(&pyt); in ec_GF2m_validate_point()
H A Decp_aff.c301 mp_int accl, accr, tmp, pxt, pyt; in ec_GFp_validate_point() local
307 MP_DIGITS(&pyt) = 0; in ec_GFp_validate_point()
312 MP_CHECKOK(mp_init(&pyt, FLAG(px))); in ec_GFp_validate_point()
330 group->meth->field_enc(py, &pyt, group->meth); in ec_GFp_validate_point()
333 mp_copy(py, &pyt); in ec_GFp_validate_point()
336 MP_CHECKOK( group->meth->field_sqr(&pyt, &accl, group->meth) ); in ec_GFp_validate_point()
352 MP_CHECKOK( ECPoint_mul(group, &group->order, px, py, &pxt, &pyt) ); in ec_GFp_validate_point()
353 if (ec_GFp_pt_is_inf_aff(&pxt, &pyt) != MP_YES) { in ec_GFp_validate_point()
365 mp_clear(&pyt); in ec_GFp_validate_point()