Home
last modified time | relevance | path

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

/freebsd/crypto/libecc/src/curves/
H A Dprj_pt.c325 ret = fp_mul_monty(&X1, &(in1->X), &(in2->Z)); EG(ret, err); in prj_pt_cmp()
326 ret = fp_mul_monty(&X2, &(in2->X), &(in1->Z)); EG(ret, err); in prj_pt_cmp()
327 ret = fp_mul_monty(&Y1, &(in1->Y), &(in2->Z)); EG(ret, err); in prj_pt_cmp()
328 ret = fp_mul_monty(&Y2, &(in2->Y), &(in1->Z)); EG(ret, err); in prj_pt_cmp()
330 ret = fp_mul_monty(&X1, &(in1->X), &(in2->Z)); EG(ret, err); in prj_pt_cmp()
331 ret = fp_mul_monty(&X2, &(in2->X), &(in1->Z)); EG(ret, err); in prj_pt_cmp()
332 ret = fp_mul_monty(&Y1, &(in1->Y), &(in2->Z)); EG(ret, err); in prj_pt_cmp()
333 ret = fp_mul_monty(&Y2, &(in2->Y), &(in1->Z)); EG(ret, err); in prj_pt_cmp()
367 ret = fp_mul_monty(&X1, &(in1->X), &(in2->Z)); EG(ret, err); in _prj_pt_eq_or_opp_X()
368 ret = fp_mul_monty(&X2, &(in2->X), &(in1->Z)); EG(ret, err); in _prj_pt_eq_or_opp_X()
[all …]
/freebsd/crypto/libecc/src/examples/sss/
H A Dsss.c230 ret = fp_mul_monty(&exp, &exp, &base); EG(ret, err); in _sss_raw_generate()
234 ret = fp_mul_monty(&a, &a, &blind); EG(ret, err); in _sss_raw_generate()
248 ret = fp_mul_monty(&tmp, &exp, &a); EG(ret, err); in _sss_raw_generate()
345 ret = fp_mul_monty(&s, &s, &blind); EG(ret, err); in _sss_raw_lagrange()
362 ret = fp_mul_monty(&s, &s, &tmp); EG(ret, err); in _sss_raw_lagrange()
371 ret = fp_mul_monty(&s, &s, &x_j); EG(ret, err); in _sss_raw_lagrange()
374 ret = fp_mul_monty(&tmp2, &tmp2, &tmp); EG(ret, err); in _sss_raw_lagrange()
379 ret = fp_mul_monty(&s, &s, &tmp); EG(ret, err); in _sss_raw_lagrange()
/freebsd/crypto/libecc/include/libecc/fp/
H A Dfp_montgomery.h26 ATTRIBUTE_WARN_UNUSED_RET int fp_mul_monty(fp_t out, fp_src_t in1, fp_src_t in2);
/freebsd/crypto/libecc/src/fp/
H A Dfp_montgomery.c50 int fp_mul_monty(fp_t out, fp_src_t in1, fp_src_t in2) in fp_mul_monty() function
/freebsd/crypto/libecc/src/arithmetic_tests/
H A Darithmetic_tests.c803 GENERIC_TEST_FP(fp_mul_monty, FP_MUL_MONTY, "*_monty", fp_mul_monty, "cfff", "ioii",