Home
last modified time | relevance | path

Searched refs:LWS_GENCRYPTO_EC_KEYEL_CRV (Results 1 – 8 of 8) sorted by relevance

/external/libwebsockets/lib/tls/
Dlws-genec-common.c72 jwk->e[LWS_GENCRYPTO_EC_KEYEL_CRV].len = len; in lws_genec_confirm_curve_allowed_by_tls_id()
73 jwk->e[LWS_GENCRYPTO_EC_KEYEL_CRV].buf = in lws_genec_confirm_curve_allowed_by_tls_id()
75 if (!jwk->e[LWS_GENCRYPTO_EC_KEYEL_CRV].buf) { in lws_genec_confirm_curve_allowed_by_tls_id()
79 memcpy(jwk->e[LWS_GENCRYPTO_EC_KEYEL_CRV].buf, in lws_genec_confirm_curve_allowed_by_tls_id()
121 !!el[LWS_GENCRYPTO_EC_KEYEL_CRV].buf ? in lws_genec_dump()
122 (char *)el[LWS_GENCRYPTO_EC_KEYEL_CRV].buf: "no curve name"); in lws_genec_dump()
/external/libwebsockets/lib/tls/mbedtls/
Dlws-genec.c53 if (el[LWS_GENCRYPTO_EC_KEYEL_CRV].len < 4) { in lws_genec_keypair_import()
55 el[LWS_GENCRYPTO_EC_KEYEL_CRV].buf ? in lws_genec_keypair_import()
56 (char *)el[LWS_GENCRYPTO_EC_KEYEL_CRV].buf : in lws_genec_keypair_import()
58 el[LWS_GENCRYPTO_EC_KEYEL_CRV].len); in lws_genec_keypair_import()
63 (char *)el[LWS_GENCRYPTO_EC_KEYEL_CRV].buf); in lws_genec_keypair_import()
272 el[LWS_GENCRYPTO_EC_KEYEL_CRV].len = strlen(curve_name) + 1; in lws_genecdh_new_keypair()
273 el[LWS_GENCRYPTO_EC_KEYEL_CRV].buf = in lws_genecdh_new_keypair()
274 lws_malloc(el[LWS_GENCRYPTO_EC_KEYEL_CRV].len, "ec"); in lws_genecdh_new_keypair()
275 if (!el[LWS_GENCRYPTO_EC_KEYEL_CRV].buf) in lws_genecdh_new_keypair()
277 strcpy((char *)el[LWS_GENCRYPTO_EC_KEYEL_CRV].buf, curve_name); in lws_genecdh_new_keypair()
[all …]
/external/libwebsockets/lib/tls/openssl/
Dlws-genec.c183 if (el[LWS_GENCRYPTO_EC_KEYEL_CRV].len < 4) in lws_genec_keypair_import()
187 (char *)el[LWS_GENCRYPTO_EC_KEYEL_CRV].buf); in lws_genec_keypair_import()
369 el[LWS_GENCRYPTO_EC_KEYEL_CRV].len = (uint32_t)strlen(curve_name) + 1; in lws_genec_new_keypair()
370 el[LWS_GENCRYPTO_EC_KEYEL_CRV].buf = in lws_genec_new_keypair()
371 lws_malloc(el[LWS_GENCRYPTO_EC_KEYEL_CRV].len, "ec"); in lws_genec_new_keypair()
372 if (!el[LWS_GENCRYPTO_EC_KEYEL_CRV].buf) { in lws_genec_new_keypair()
377 strcpy((char *)el[LWS_GENCRYPTO_EC_KEYEL_CRV].buf, curve_name); in lws_genec_new_keypair()
Dopenssl-x509.c376 mpi[LWS_GENCRYPTO_EC_KEYEL_CRV] = NULL; in lws_x509_public_to_jwk()
/external/libwebsockets/include/libwebsockets/
Dlws-gencrypto.h66 LWS_GENCRYPTO_EC_KEYEL_CRV, enumerator
/external/libwebsockets/lib/jose/jws/
Djws.c593 if (!jwk->e[LWS_GENCRYPTO_EC_KEYEL_CRV].buf) in lws_jws_sig_confirm()
597 if (strcmp((const char *)jwk->e[LWS_GENCRYPTO_EC_KEYEL_CRV].buf, in lws_jws_sig_confirm()
822 if (!jws->jwk->e[LWS_GENCRYPTO_EC_KEYEL_CRV].buf) in lws_jws_sign_from_b64()
833 jws->jwk->e[LWS_GENCRYPTO_EC_KEYEL_CRV].buf, in lws_jws_sign_from_b64()
/external/libwebsockets/lib/jose/jwk/
Djwk.c94 F_EC | F_M | LWS_GENCRYPTO_EC_KEYEL_CRV,
116 { "crv", LWS_GENCRYPTO_EC_KEYEL_CRV, 0 },
788 l->idx == (int)LWS_GENCRYPTO_EC_KEYEL_CRV) { in lws_jwk_export()
/external/libwebsockets/lib/jose/jwe/
Djwe-ecdh-es-aeskw.c227 jwe->jws.jwk->e[LWS_GENCRYPTO_EC_KEYEL_CRV].buf, in lws_jwe_encrypt_ecdh()