Home
last modified time | relevance | path

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

/freebsd-head/crypto/libecc/include/libecc/curves/
HDprj_pt.h76 prj_pt_t out_shortw, fp_src_t alpha);
79 prj_pt_t out_shortw);
HDaff_pt.h88 …_pt_edwards_src_t in_edwards, ec_shortw_crv_src_t shortw_crv, aff_pt_t out_shortw, fp_src_t alpha_…
126 …shortw(aff_pt_montgomery_src_t in_montgomery, ec_shortw_crv_src_t shortw_crv, aff_pt_t out_shortw);
/freebsd-head/crypto/libecc/src/curves/
HDaff_pt_montgomery.c446 ec_shortw_crv_src_t shortw_crv, aff_pt_t out_shortw) in aff_pt_montgomery_to_shortw() argument
463 ret = aff_pt_init(out_shortw, shortw_crv); EG(ret, err); in aff_pt_montgomery_to_shortw()
473 ret = fp_add(&(out_shortw->x), &tmp, &tmp2); EG(ret, err); in aff_pt_montgomery_to_shortw()
476 ret = fp_mul(&(out_shortw->y), &tmp, &(in_montgomery->v)); EG(ret, err); in aff_pt_montgomery_to_shortw()
479 MUST_HAVE((!aff_pt_is_on_curve(out_shortw, &on_curve)) && on_curve, ret, err); in aff_pt_montgomery_to_shortw()
HDprj_pt.c1954 prj_pt_t out_shortw, in aff_pt_edwards_to_prj_pt_shortw() argument
1967 ret = prj_pt_init(out_shortw, shortw_crv); EG(ret, err); in aff_pt_edwards_to_prj_pt_shortw()
1979 ret = prj_pt_zero(out_shortw); EG(ret, err); in aff_pt_edwards_to_prj_pt_shortw()
1987 ret = ec_shortw_aff_to_prj(out_shortw, &out_shortw_aff); in aff_pt_edwards_to_prj_pt_shortw()
2062 prj_pt_t out_shortw) in aff_pt_montgomery_to_prj_pt_shortw() argument
2073 ret = prj_pt_init(out_shortw, shortw_crv); EG(ret, err); in aff_pt_montgomery_to_prj_pt_shortw()
2078 ret = ec_shortw_aff_to_prj(out_shortw, &out_shortw_aff); in aff_pt_montgomery_to_prj_pt_shortw()
HDaff_pt_edwards.c707 aff_pt_t out_shortw, fp_src_t alpha_edwards) in aff_pt_edwards_to_shortw() argument
720 ret = aff_pt_montgomery_to_shortw(&inter_montgomery, shortw_crv, out_shortw); in aff_pt_edwards_to_shortw()