Home
last modified time | relevance | path

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

/illumos-gate/usr/src/common/crypto/ecc/
H A Dec2_aff.c286 mp_int accl, accr, tmp, pxt, pyt; in ec_GF2m_validate_point() local
292 MP_DIGITS(&pyt) = 0; in ec_GF2m_validate_point()
297 MP_CHECKOK(mp_init(&pyt, FLAG(px))); in ec_GF2m_validate_point()
315 group->meth->field_enc(py, &pyt, group->meth); in ec_GF2m_validate_point()
318 mp_copy(py, &pyt); in ec_GF2m_validate_point()
321 MP_CHECKOK( group->meth->field_sqr(&pyt, &accl, group->meth) ); in ec_GF2m_validate_point()
322 MP_CHECKOK( group->meth->field_mul(&pxt, &pyt, &tmp, group->meth) ); in ec_GF2m_validate_point()
339 MP_CHECKOK( ECPoint_mul(group, &group->order, px, py, &pxt, &pyt) ); in ec_GF2m_validate_point()
340 if (ec_GF2m_pt_is_inf_aff(&pxt, &pyt) != MP_YES) { in ec_GF2m_validate_point()
352 mp_clear(&pyt); in ec_GF2m_validate_point()
H A Decp_aff.c299 mp_int accl, accr, tmp, pxt, pyt; in ec_GFp_validate_point() local
305 MP_DIGITS(&pyt) = 0; in ec_GFp_validate_point()
310 MP_CHECKOK(mp_init(&pyt, FLAG(px))); in ec_GFp_validate_point()
328 group->meth->field_enc(py, &pyt, group->meth); in ec_GFp_validate_point()
331 mp_copy(py, &pyt); in ec_GFp_validate_point()
334 MP_CHECKOK( group->meth->field_sqr(&pyt, &accl, group->meth) ); in ec_GFp_validate_point()
350 MP_CHECKOK( ECPoint_mul(group, &group->order, px, py, &pxt, &pyt) ); in ec_GFp_validate_point()
351 if (ec_GFp_pt_is_inf_aff(&pxt, &pyt) != MP_YES) { in ec_GFp_validate_point()
363 mp_clear(&pyt); in ec_GFp_validate_point()