Searched refs:Qp (Results 1 – 5 of 5) sorted by relevance
| /optee_os/lib/libmbedtls/mbedtls/library/ |
| H A D | ecdh.c | 139 mbedtls_ecp_point_init(&ctx->Qp); in ecdh_init_internal() 221 mbedtls_ecp_point_free(&ctx->Qp); in ecdh_free_internal() 374 return mbedtls_ecp_tls_read_point(&ctx->grp, &ctx->Qp, buf, in ecdh_read_params_internal() 426 return mbedtls_ecp_copy(&ctx->Qp, &key->Q); in ecdh_get_params_internal() 574 if ((ret = mbedtls_ecp_tls_read_point(&ctx->grp, &ctx->Qp, &p, in ecdh_read_public_internal() 637 if ((ret = ecdh_compute_shared_restartable(&ctx->grp, &ctx->z, &ctx->Qp, in ecdh_calc_secret_internal() 643 if ((ret = mbedtls_ecdh_compute_shared(&ctx->grp, &ctx->z, &ctx->Qp, in ecdh_calc_secret_internal()
|
| H A D | debug.c | 436 &ctx->Qp); in mbedtls_debug_printf_ecdh_internal()
|
| H A D | ecp_curves.c | 5300 mbedtls_mpi_uint Mp[P448_WIDTH + 1], Qp[P448_WIDTH]; in ecp_mod_p448() local 5327 Q.p = Qp; in ecp_mod_p448() 5328 memcpy(Qp, Mp, sizeof(Qp)); in ecp_mod_p448()
|
| /optee_os/lib/libmbedtls/mbedtls/include/mbedtls/ |
| H A D | ecdh.h | 90 mbedtls_ecp_point MBEDTLS_PRIVATE(Qp); /*!< The value of the public key of the peer. */ 110 mbedtls_ecp_point MBEDTLS_PRIVATE(Qp); /*!< The value of the public key of the peer. */
|
| /optee_os/lib/libmbedtls/core/ |
| H A D | ecc.c | 335 ecdh.ctx.mbed_ecdh.Qp.X = *(mbedtls_mpi *)public_key->x; in ecc_shared_secret() 336 ecdh.ctx.mbed_ecdh.Qp.Y = *(mbedtls_mpi *)public_key->y; in ecc_shared_secret() 337 mbedtls_mpi_read_binary(&ecdh.ctx.mbed_ecdh.Qp.Z, one, sizeof(one)); in ecc_shared_secret() 349 mbedtls_mpi_init(&ecdh.ctx.mbed_ecdh.Qp.X); in ecc_shared_secret() 350 mbedtls_mpi_init(&ecdh.ctx.mbed_ecdh.Qp.Y); in ecc_shared_secret()
|