Home
last modified time | relevance | path

Searched refs:mbedtls_ecp_mul (Results 1 – 10 of 10) sorted by relevance

/optee_os/lib/libmbedtls/core/
H A Dsm2-pke.c160 mres = mbedtls_ecp_mul(&grp, &x2y2p, (mbedtls_mpi *)key->d, &C1, in sm2_mbedtls_pke_decrypt()
340 mres = mbedtls_ecp_mul(&grp, &C1, &k, &grp.G, mbd_rand, NULL); in sm2_mbedtls_pke_encrypt()
357 mres = mbedtls_ecp_mul(&grp, &x2y2p, &k, &PB, mbd_rand, NULL); in sm2_mbedtls_pke_encrypt()
H A Dsm2-dsa.c75 mres = mbedtls_ecp_mul(&grp, &x1y1p, &k, &grp.G, mbd_rand, in sm2_mbedtls_dsa_sign()
H A Dsm2-kep.c404 mres = mbedtls_ecp_mul(&grp, &U, &tA, &U, mbd_rand, NULL); in crypto_acipher_sm2_kep_derive()
/optee_os/lib/libmbedtls/mbedtls/library/
H A Decjpake.c680 MBEDTLS_MPI_CHK(mbedtls_ecp_mul(&ctx->grp, &Xm, &xm, &G, f_rng, p_rng)); in mbedtls_ecjpake_write_round_two()
749 MBEDTLS_MPI_CHK(mbedtls_ecp_mul(&ctx->grp, K, &ctx->xm2, K, in mbedtls_ecjpake_derive_k()
1010 MBEDTLS_MPI_CHK(mbedtls_ecp_mul(&ctx->grp, &ctx->Xm1, &ctx->xm1, in ecjpake_test_load()
1012 MBEDTLS_MPI_CHK(mbedtls_ecp_mul(&ctx->grp, &ctx->Xm2, &ctx->xm2, in ecjpake_test_load()
H A Dpsa_crypto_ecp.c264 mbedtls_ecp_mul(&ecp->grp, &ecp->Q, &ecp->d, &ecp->grp.G, in mbedtls_psa_ecp_export_key()
440 ret = mbedtls_ecp_mul(&ecp->grp, &ecp->Q, in mbedtls_psa_ecp_load_public_part()
H A Dpk_ecc.c140 return mbedtls_ecp_mul(&eck->grp, &eck->Q, &eck->d, &eck->grp.G, f_rng, p_rng); in mbedtls_pk_ecc_set_pubkey_from_prv()
H A Decp.c2716 int mbedtls_ecp_mul(mbedtls_ecp_group *grp, mbedtls_ecp_point *R, in mbedtls_ecp_mul() function
3173 MBEDTLS_MPI_CHK(mbedtls_ecp_mul(grp, Q, d, G, f_rng, p_rng)); in mbedtls_ecp_gen_keypair_base()
3412 MBEDTLS_MPI_CHK(mbedtls_ecp_mul(&grp, &Q, &prv->d, &prv->grp.G, f_rng, p_rng)); in mbedtls_ecp_check_pub_priv()
3432 return mbedtls_ecp_mul(&key->grp, &key->Q, &key->d, &key->grp.G, in mbedtls_ecp_keypair_calc_public()
3544 MBEDTLS_MPI_CHK(mbedtls_ecp_mul(grp, R, m, P, self_test_rng, NULL)); in self_test_point()
3556 MBEDTLS_MPI_CHK(mbedtls_ecp_mul(grp, R, m, P, self_test_rng, NULL)); in self_test_point()
3636 MBEDTLS_MPI_CHK(mbedtls_ecp_mul(&grp, &P, &m, &grp.G, self_test_rng, NULL)); in mbedtls_ecp_self_test()
/optee_os/lib/libmbedtls/mbedtls/include/mbedtls/
H A Decp.h969 int mbedtls_ecp_mul(mbedtls_ecp_group *grp, mbedtls_ecp_point *R,
/optee_os/ta/pkcs11/src/
H A Dpkcs11_attributes.c1016 ret = mbedtls_ecp_mul(&key_pair_grp, &key_pair_Q, &key_pair_d, in create_ec_priv_key_hidden_attributes()
/optee_os/lib/libmbedtls/mbedtls/
H A DChangeLog2737 mbedtls_ecp_mul() / mbedtls_ecp_mul_restartable() when called with a NULL
3801 * Add initial support for Curve448 (RFC 7748). Only mbedtls_ecp_mul() and