Home
last modified time | relevance | path

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

/freebsd/crypto/libecc/src/examples/basic/
H A Dcurve_basic_examples.c214 ret = prj_pt_mul(&TMP, &(curve_params.ec_gen_order), &A); EG(ret, err); in check_curve()
230 ret = prj_pt_mul(&TMP, &(curve_params.ec_gen_order), &B); EG(ret, err); in check_curve()
246 ret = prj_pt_mul(&TMP, &(curve_params.ec_gen_order), &C); EG(ret, err); in check_curve()
262 ret = prj_pt_mul(&TMP, &(curve_params.ec_gen_order), &D); EG(ret, err); in check_curve()
294 ret = prj_pt_mul(&TMP, &nn_k, &A); EG(ret, err); in check_curve()
H A Dcurve_ecdh.c172 ret = prj_pt_mul(&Q, d, &(curve_params.ec_gen)); EG(ret, err); in ECDH_helper()
203 ret = prj_pt_mul(&Q, d, &Q); EG(ret, err); in ECDH_helper()
/freebsd/crypto/libecc/src/sig/
H A Dfuzzing_ecgdsa.c161 ret = prj_pt_mul(&kG, &k, G); EG(ret, err); in ecgdsa_sign_raw()
334 ret = prj_pt_mul(&uG, &uv, G); EG(ret, err); in ecgdsa_verify_raw()
339 ret = prj_pt_mul(&vY, &uv, Y); EG(ret, err); in ecgdsa_verify_raw()
H A Dfuzzing_ecdsa.c162 ret = prj_pt_mul(&kG, &k, G); EG(ret, err); in ecdsa_sign_raw()
373 ret = prj_pt_mul(&uG, &uv, G); EG(ret, err); in ecdsa_verify_raw()
378 ret = prj_pt_mul(&vY, &uv, Y); EG(ret, err); in ecdsa_verify_raw()
H A Dfuzzing_ecrdsa.c164 ret = prj_pt_mul(&kG, &k, G); EG(ret, err); in ecrdsa_sign_raw()
374 ret = prj_pt_mul(&uG, &u, G); EG(ret, err); in ecrdsa_verify_raw()
375 ret = prj_pt_mul(&vY, &v, Y); EG(ret, err); in ecrdsa_verify_raw()
H A Decdsa_common.c479 ret = prj_pt_mul(&kG, &k, G); EG(ret, err); in __ecdsa_sign_finalize()
788 ret = prj_pt_mul(&uG, &uv, G); EG(ret, err); in __ecdsa_verify_finalize()
793 ret = prj_pt_mul(&vY, &uv, Y); EG(ret, err); in __ecdsa_verify_finalize()
993 ret = prj_pt_mul(&uG, &u, G); EG(ret, err); in __ecdsa_public_key_from_sig()
995 ret = prj_pt_mul(Y1, &v, Y1); EG(ret, err); in __ecdsa_public_key_from_sig()
998 ret = prj_pt_mul(Y2, &v, Y2); EG(ret, err); in __ecdsa_public_key_from_sig()
H A Decsdsa_common.c197 ret = prj_pt_mul(&kG, &k, G); EG(ret, err); in __ecsdsa_sign_init()
495 ret = prj_pt_mul(&sG, &s, G); EG(ret, err); in __ecsdsa_verify_init()
496 ret = prj_pt_mul(&eY, &e, Y); EG(ret, err); in __ecsdsa_verify_init()
H A Decrdsa.c278 ret = prj_pt_mul(&kG, &k, G); EG(ret, err); in _ecrdsa_sign_finalize()
573 ret = prj_pt_mul(&uG, &u, G); EG(ret, err); in _ecrdsa_verify_finalize()
574 ret = prj_pt_mul(&vY, &v, Y); EG(ret, err); in _ecrdsa_verify_finalize()
H A Decgdsa.c300 ret = prj_pt_mul(&kG, &k, G); EG(ret, err); in _ecgdsa_sign_finalize()
568 ret = prj_pt_mul(&uG, &uv, G); EG(ret, err); in _ecgdsa_verify_finalize()
572 ret = prj_pt_mul(&vY, &uv, Y); EG(ret, err); in _ecgdsa_verify_finalize()
H A Dsm2.c385 ret = prj_pt_mul(&kG, &k, G); EG(ret, err); in _sm2_sign_finalize()
670 ret = prj_pt_mul(&sG, s, G); EG(ret, err); in _sm2_verify_finalize()
671 ret = prj_pt_mul(&tY, &t, Y); EG(ret, err); in _sm2_verify_finalize()
H A Deckcdsa.c399 ret = prj_pt_mul(&kG, &k, G); EG(ret, err); in _eckcdsa_sign_finalize()
770 ret = prj_pt_mul(&sY, s, Y); EG(ret, err); in _eckcdsa_verify_finalize()
771 ret = prj_pt_mul(&eG, &e, G); EG(ret, err); in _eckcdsa_verify_finalize()
H A Dbign_common.c619 ret = prj_pt_mul(&kG, &k, G); EG(ret, err); in __bign_sign_finalize()
931 ret = prj_pt_mul(&uG, &h, G); EG(ret, err); in __bign_verify_finalize()
932 ret = prj_pt_mul(&vY, &tmp, Y); EG(ret, err); in __bign_verify_finalize()
H A Decfsdsa.c180 ret = prj_pt_mul(&kG, k, G); EG(ret, err); in _ecfsdsa_sign_init()
597 ret = prj_pt_mul(&sG, s, G); EG(ret, err); in _ecfsdsa_verify_finalize()
598 ret = prj_pt_mul(&eY, &e, Y); EG(ret, err); in _ecfsdsa_verify_finalize()
H A Deddsa.c939 ret = prj_pt_mul(&(pub_key->y), &tmp, pub_key_y); EG(ret, err1);
1408 ret = prj_pt_mul(&R, &r_tmp, G);
1431 ret = prj_pt_mul(&R, &r, G); EG(ret, err);
1756 ret = prj_pt_mul(&R, &r_tmp, G);
1779 ret = prj_pt_mul(&R, &r, G); EG(ret, err);
2225 ret = prj_pt_mul(&_Tmp1, S, G); EG(ret, err);
2228 ret = prj_pt_mul(&_Tmp2, &h, A); EG(ret, err);
H A Dbip0340.c301 ret = prj_pt_mul(&kG, &k, G); EG(ret, err); in _bip0340_sign()
540 ret = prj_pt_mul(&sG, s, G); EG(ret, err); in _bip0340_verify_finalize()
548 ret = prj_pt_mul(&eY, &e, &Y); EG(ret, err); in _bip0340_verify_finalize()
/freebsd/crypto/libecc/include/libecc/curves/
H A Dprj_pt.h61 ATTRIBUTE_WARN_UNUSED_RET int prj_pt_mul(prj_pt_t out, nn_src_t m, prj_pt_src_t in);
/freebsd/crypto/libecc/src/ecdh/
H A Decccdh.c209 ret = prj_pt_mul(Q, &(our_priv_key->x), Q); EG(ret, err); in ecccdh_derive_secret()
H A Dx25519_448.c268 ret = prj_pt_mul(&Q, &scalar, &Q); EG(ret, err); in x25519_448_core()
/freebsd/crypto/libecc/src/curves/
H A Dprj_pt.c1759 int prj_pt_mul(prj_pt_t out, nn_src_t m, prj_pt_src_t in) in prj_pt_mul() function
1814 ret = prj_pt_mul(out, &b, in); in prj_pt_mul_blind()
/freebsd/crypto/libecc/src/tests/
H A Dec_utils.c1488 ret = prj_pt_mul(&Q, &d, &Q); EG(ret, err); in ec_scalar_mult()