Home
last modified time | relevance | path

Searched refs:LDHS_OURS (Results 1 – 4 of 4) sorted by relevance

/third_party/libwebsockets/lib/tls/openssl/
Dlws-genec.c469 return lws_genec_new_keypair(ctx, LDHS_OURS, curve_name, el); in lws_genecdsa_new_keypair()
687 if (!ctx->ctx[LDHS_OURS] || !ctx->ctx[LDHS_THEIRS]) { in lws_genecdh_compute_shared_secret()
693 eckey[LDHS_OURS] = EVP_PKEY_get1_EC_KEY( in lws_genecdh_compute_shared_secret()
694 EVP_PKEY_CTX_get0_pkey(ctx->ctx[LDHS_OURS])); in lws_genecdh_compute_shared_secret()
698 len = (EC_GROUP_get_degree(EC_KEY_get0_group(eckey[LDHS_OURS])) + 7) / 8; in lws_genecdh_compute_shared_secret()
707 eckey[LDHS_OURS], NULL); in lws_genecdh_compute_shared_secret()
711 EC_KEY_free(eckey[LDHS_OURS]); in lws_genecdh_compute_shared_secret()
/third_party/libwebsockets/minimal-examples/api-tests/api-test-gencrypto/
Dlws-genec.c39 if (lws_genecdh_new_keypair(&ctx, LDHS_OURS, "P-256", el)) { in test_genec1()
66 n = lws_genecdh_set_key(&ctx, jwk.e, LDHS_OURS); in test_genec1()
/third_party/libwebsockets/include/libwebsockets/
Dlws-genec.h50 LDHS_OURS = MBEDTLS_ECDH_OURS, enumerator
55 LDHS_OURS, enumerator
/third_party/libwebsockets/lib/jose/jwe/
Djwe-ecdh-es-aeskw.c226 if (lws_genecdh_new_keypair(&ecctx, LDHS_OURS, (const char *) in lws_jwe_encrypt_ecdh()
490 if (lws_genecdh_set_key(&ecctx, jwe->jws.jwk->e, LDHS_OURS)) { in lws_jwe_auth_and_decrypt_ecdh()