Home
last modified time | relevance | path

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

/freebsd/crypto/libecc/include/libecc/curves/
H A Dprj_pt.h64 …N_UNUSED_RET int _prj_pt_unprotected_mult(prj_pt_t out, nn_src_t cofactor, prj_pt_src_t public_in);
/freebsd/crypto/libecc/src/curves/
H A Dprj_pt.c1835 static int __prj_pt_unprotected_mult(prj_pt_t out, nn_src_t scalar, prj_pt_src_t public_in) in __prj_pt_unprotected_mult() argument
1841 ret = prj_pt_check_initialized(public_in); EG(ret, err); in __prj_pt_unprotected_mult()
1845 MUST_HAVE((out != public_in), ret, err); in __prj_pt_unprotected_mult()
1848 MUST_HAVE((!prj_pt_is_on_curve(public_in, &on_curve)) && on_curve, ret, err); in __prj_pt_unprotected_mult()
1861 ret = prj_pt_copy(out, public_in); EG(ret, err); in __prj_pt_unprotected_mult()
1868 ret = prj_pt_add(out, out, public_in); EG(ret, err); in __prj_pt_unprotected_mult()
1883 int _prj_pt_unprotected_mult(prj_pt_t out, nn_src_t scalar, prj_pt_src_t public_in) in _prj_pt_unprotected_mult() argument
1887 if(out == public_in){ in _prj_pt_unprotected_mult()
1891 ret = prj_pt_copy(&A, public_in); EG(ret, err1); in _prj_pt_unprotected_mult()
1898 ret = __prj_pt_unprotected_mult(out, scalar, public_in); in _prj_pt_unprotected_mult()