Home
last modified time | relevance | path

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

/third_party/mbedtls/programs/pkey/
Decdh_curve25519.c155 ret = mbedtls_ecdh_calc_secret(&ctx_cli, &cli_olen, secret_cli, in main()
164 ret = mbedtls_ecdh_calc_secret(&ctx_srv, &srv_olen, secret_srv, in main()
/third_party/mbedtls/tests/suites/
Dtest_suite_ecdh.function224 TEST_ASSERT(mbedtls_ecdh_calc_secret(&srv, &len, buf, 1000,
227 TEST_ASSERT(mbedtls_ecdh_calc_secret(&cli, &res_len, res_buf, 1000,
329 ret = mbedtls_ecdh_calc_secret(&srv, &len, buf, sizeof(buf),
347 ret = mbedtls_ecdh_calc_secret(&cli, &len, buf, sizeof(buf),
406 TEST_ASSERT(mbedtls_ecdh_calc_secret(
/third_party/mbedtls/include/mbedtls/
Decdh.h428 int mbedtls_ecdh_calc_secret(mbedtls_ecdh_context *ctx, size_t *olen,
/third_party/mbedtls/programs/test/
Dbenchmark.c1139 CHECK_AND_CONTINUE(mbedtls_ecdh_calc_secret(&ecdh, &olen, buf, sizeof(buf), in main()
1186 CHECK_AND_CONTINUE(mbedtls_ecdh_calc_secret(&ecdh, &olen, buf, sizeof(buf), in main()
1248 CHECK_AND_CONTINUE(mbedtls_ecdh_calc_secret(&ecdh_srv, &olen, buf_srv, in main()
1251 CHECK_AND_CONTINUE(mbedtls_ecdh_calc_secret(&ecdh_cli, &olen, buf_cli, in main()
/third_party/mbedtls/library/
Dpsa_crypto_ecp.c542 mbedtls_ecdh_calc_secret(&ecdh, in mbedtls_psa_key_agreement_ecdh()
Decdh.c668 int mbedtls_ecdh_calc_secret(mbedtls_ecdh_context *ctx, size_t *olen, in mbedtls_ecdh_calc_secret() function
Dssl_tls12_client.c2869 if ((ret = mbedtls_ecdh_calc_secret(&ssl->handshake->ecdh_ctx, in ssl_write_client_key_exchange()
Dssl_tls12_server.c3732 if ((ret = mbedtls_ecdh_calc_secret(&ssl->handshake->ecdh_ctx, in ssl_parse_client_key_exchange()
Dssl_tls.c6844 if ((ret = mbedtls_ecdh_calc_secret(&ssl->handshake->ecdh_ctx, &zlen, in mbedtls_ssl_psk_derive_premaster()
/third_party/libwebsockets/lib/tls/mbedtls/
Dlws-genec.c527 n = mbedtls_ecdh_calc_secret(ctx->u.ctx_ecdh, &st, ss, (size_t)*ss_len, in lws_genecdh_compute_shared_secret()