Home
last modified time | relevance | path

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

/freebsd/crypto/libecc/src/curves/
H A Daff_pt_montgomery.c102 fp Bv2, u3, Au2, tmp; in is_on_montgomery_curve() local
104 Bv2.magic = u3.magic = Au2.magic = tmp.magic = WORD(0); in is_on_montgomery_curve()
115 ret = fp_init(&Bv2, v->ctx); EG(ret, err); in is_on_montgomery_curve()
116 ret = fp_sqr(&Bv2, v); EG(ret, err); in is_on_montgomery_curve()
117 ret = fp_mul(&Bv2, &(curve->B), &Bv2); EG(ret, err); in is_on_montgomery_curve()
130 ret = fp_cmp(&tmp, &Bv2, &cmp); EG(ret, err); in is_on_montgomery_curve()
135 fp_uninit(&Bv2); in is_on_montgomery_curve()