Searched refs:Qp (Results 1 – 5 of 5) sorted by relevance
/mbedtls-latest/library/ |
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()
|
D | debug.c | 436 &ctx->Qp); in mbedtls_debug_printf_ecdh_internal()
|
D | ecp_curves.c | 5253 mbedtls_mpi_uint Mp[P448_WIDTH + 1], Qp[P448_WIDTH]; in ecp_mod_p448() local 5280 Q.p = Qp; in ecp_mod_p448() 5281 memcpy(Qp, Mp, sizeof(Qp)); in ecp_mod_p448()
|
/mbedtls-latest/include/mbedtls/ |
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. */
|
/mbedtls-latest/tests/suites/ |
D | test_suite_rsa.function | 766 mbedtls_mpi N, P, Pp, Q, Qp, D, E; 770 mbedtls_mpi_init(&Pp); mbedtls_mpi_init(&Qp); 776 TEST_ASSERT(mbedtls_test_read_mpi(&Qp, output_P) == 0); 787 /* Check if (P,Q) = (Pp, Qp) or (P,Q) = (Qp, Pp) */ 788 TEST_ASSERT((mbedtls_mpi_cmp_mpi(&P, &Pp) == 0 && mbedtls_mpi_cmp_mpi(&Q, &Qp) == 0) || 789 (mbedtls_mpi_cmp_mpi(&P, &Qp) == 0 && mbedtls_mpi_cmp_mpi(&Q, &Pp) == 0)); 795 mbedtls_mpi_free(&Pp); mbedtls_mpi_free(&Qp);
|