Searched refs:Qp (Results 1 – 7 of 7) sorted by relevance
/net-tools-latest/mbedtls-2.4.0/programs/pkey/ |
D | ecdh_curve25519.c | 150 ret = mbedtls_mpi_lset( &ctx_srv.Qp.Z, 1 ); in main() 157 ret = mbedtls_mpi_read_binary( &ctx_srv.Qp.X, cli_to_srv, 32 ); in main() 165 &ctx_srv.Qp, &ctx_srv.d, in main() 181 ret = mbedtls_mpi_lset( &ctx_cli.Qp.Z, 1 ); in main() 188 ret = mbedtls_mpi_read_binary( &ctx_cli.Qp.X, srv_to_cli, 32 ); in main() 196 &ctx_cli.Qp, &ctx_cli.d, in main()
|
/net-tools-latest/mbedtls-2.4.0/library/ |
D | ecdh.c | 103 mbedtls_ecp_point_free( &ctx->Qp ); in mbedtls_ecdh_free() 163 if( ( ret = mbedtls_ecp_tls_read_point( &ctx->grp, &ctx->Qp, buf, end - *buf ) ) in mbedtls_ecdh_read_params() 183 return( mbedtls_ecp_copy( &ctx->Qp, &key->Q ) ); in mbedtls_ecdh_get_params() 229 if( ( ret = mbedtls_ecp_tls_read_point( &ctx->grp, &ctx->Qp, &p, blen ) ) != 0 ) in mbedtls_ecdh_read_public() 251 if( ( ret = mbedtls_ecdh_compute_shared( &ctx->grp, &ctx->z, &ctx->Qp, &ctx->d, in mbedtls_ecdh_calc_secret()
|
D | ssl_srv.c | 3352 MBEDTLS_SSL_DEBUG_ECP( 3, "ECDH: Qp ", &ssl->handshake->ecdh_ctx.Qp ); 3464 MBEDTLS_SSL_DEBUG_ECP( 3, "ECDH: Qp ", &ssl->handshake->ecdh_ctx.Qp );
|
D | ssl_cli.c | 1929 MBEDTLS_SSL_DEBUG_ECP( 3, "ECDH: Qp", &ssl->handshake->ecdh_ctx.Qp );
|
/net-tools-latest/mbedtls-2.4.0/programs/test/ |
D | benchmark.c | 783 mbedtls_ecp_copy( &ecdh.Qp, &ecdh.Q ) != 0 ) in main() 805 mbedtls_ecdh_gen_public( &ecdh.grp, &ecdh.d, &ecdh.Qp, myrand, NULL ) != 0 ) in main() 813 ret |= mbedtls_ecdh_compute_shared( &ecdh.grp, &z, &ecdh.Qp, &ecdh.d, in main() 829 mbedtls_ecp_copy( &ecdh.Qp, &ecdh.Q ) != 0 || in main() 851 mbedtls_ecdh_gen_public( &ecdh.grp, &ecdh.d, &ecdh.Qp, in main() 859 ret |= mbedtls_ecdh_compute_shared( &ecdh.grp, &z, &ecdh.Qp, &ecdh.d, in main()
|
/net-tools-latest/mbedtls-2.4.0/yotta/data/example-benchmark/ |
D | main.cpp | 835 mbedtls_ecp_copy( &ecdh.Qp, &ecdh.Q ) != 0 ) in benchmark() 857 mbedtls_ecdh_gen_public( &ecdh.grp, &ecdh.d, &ecdh.Qp, myrand, NULL ) != 0 ) in benchmark() 865 ret |= mbedtls_ecdh_compute_shared( &ecdh.grp, &z, &ecdh.Qp, &ecdh.d, in benchmark() 881 mbedtls_ecp_copy( &ecdh.Qp, &ecdh.Q ) != 0 || in benchmark() 903 mbedtls_ecdh_gen_public( &ecdh.grp, &ecdh.d, &ecdh.Qp, in benchmark() 911 ret |= mbedtls_ecdh_compute_shared( &ecdh.grp, &z, &ecdh.Qp, &ecdh.d, in benchmark()
|
/net-tools-latest/mbedtls-2.4.0/include/mbedtls/ |
D | ecdh.h | 49 mbedtls_ecp_point Qp; /*!< peer's public value (public key) */ member
|