/freebsd/crypto/libecc/src/examples/basic/ |
H A D | curve_basic_examples.c | 214 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 D | curve_ecdh.c | 172 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 D | fuzzing_ecgdsa.c | 161 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 D | fuzzing_ecdsa.c | 162 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 D | fuzzing_ecrdsa.c | 164 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 D | ecdsa_common.c | 479 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 D | ecsdsa_common.c | 197 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 D | ecrdsa.c | 278 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 D | ecgdsa.c | 300 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 D | sm2.c | 385 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 D | eckcdsa.c | 399 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 D | bign_common.c | 619 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 D | ecfsdsa.c | 180 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 D | eddsa.c | 939 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 D | bip0340.c | 301 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 D | prj_pt.h | 61 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 D | ecccdh.c | 209 ret = prj_pt_mul(Q, &(our_priv_key->x), Q); EG(ret, err); in ecccdh_derive_secret()
|
H A D | x25519_448.c | 268 ret = prj_pt_mul(&Q, &scalar, &Q); EG(ret, err); in x25519_448_core()
|
/freebsd/crypto/libecc/src/curves/ |
H A D | prj_pt.c | 1759 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 D | ec_utils.c | 1488 ret = prj_pt_mul(&Q, &d, &Q); EG(ret, err); in ec_scalar_mult()
|