Searched refs:gamma_inv (Results 1 – 1 of 1) sorted by relevance
/freebsd/crypto/libecc/src/curves/ |
H A D | aff_pt_montgomery.c | 396 fp c, gamma_inv, A, tmp; in curve_shortw_to_montgomery() local 397 c.magic = gamma_inv.magic = A.magic = tmp.magic = WORD(0); in curve_shortw_to_montgomery() 405 ret = fp_init(&gamma_inv, shortw_crv->a.ctx); EG(ret, err); in curve_shortw_to_montgomery() 410 ret = fp_inv(&gamma_inv, gamma); EG(ret, err); in curve_shortw_to_montgomery() 415 ret = fp_mul(&A, &A, &gamma_inv); EG(ret, err); in curve_shortw_to_montgomery() 427 ret = ec_montgomery_crv_init(montgomery_crv, &A, &gamma_inv, &(shortw_crv->order)); in curve_shortw_to_montgomery() 431 fp_uninit(&gamma_inv); in curve_shortw_to_montgomery()
|