Searched refs:LWS_GENCRYPTO_EC_KEYEL_CRV (Results 1 – 9 of 9) sorted by relevance
/third_party/libwebsockets/lib/tls/ |
D | lws-genec-common.c | 73 jwk->e[LWS_GENCRYPTO_EC_KEYEL_CRV].len = (uint32_t)len; in lws_genec_confirm_curve_allowed_by_tls_id() 74 jwk->e[LWS_GENCRYPTO_EC_KEYEL_CRV].buf = in lws_genec_confirm_curve_allowed_by_tls_id() 76 if (!jwk->e[LWS_GENCRYPTO_EC_KEYEL_CRV].buf) { in lws_genec_confirm_curve_allowed_by_tls_id() 80 memcpy(jwk->e[LWS_GENCRYPTO_EC_KEYEL_CRV].buf, in lws_genec_confirm_curve_allowed_by_tls_id() 122 !!el[LWS_GENCRYPTO_EC_KEYEL_CRV].buf ? in lws_genec_dump() 123 (char *)el[LWS_GENCRYPTO_EC_KEYEL_CRV].buf: "no curve name"); in lws_genec_dump()
|
/third_party/libwebsockets/lib/tls/mbedtls/ |
D | lws-genec.c | 62 if (el[LWS_GENCRYPTO_EC_KEYEL_CRV].len < 4) { in lws_genec_keypair_import() 64 el[LWS_GENCRYPTO_EC_KEYEL_CRV].buf ? in lws_genec_keypair_import() 65 (char *)el[LWS_GENCRYPTO_EC_KEYEL_CRV].buf : in lws_genec_keypair_import() 67 el[LWS_GENCRYPTO_EC_KEYEL_CRV].len); in lws_genec_keypair_import() 72 (char *)el[LWS_GENCRYPTO_EC_KEYEL_CRV].buf); in lws_genec_keypair_import() 285 el[LWS_GENCRYPTO_EC_KEYEL_CRV].len = (uint32_t)strlen(curve_name) + 1; in lws_genecdh_new_keypair() 286 el[LWS_GENCRYPTO_EC_KEYEL_CRV].buf = in lws_genecdh_new_keypair() 287 lws_malloc(el[LWS_GENCRYPTO_EC_KEYEL_CRV].len, "ec"); in lws_genecdh_new_keypair() 288 if (!el[LWS_GENCRYPTO_EC_KEYEL_CRV].buf) in lws_genecdh_new_keypair() 290 strcpy((char *)el[LWS_GENCRYPTO_EC_KEYEL_CRV].buf, curve_name); in lws_genecdh_new_keypair() [all …]
|
/third_party/libwebsockets/lib/tls/openssl/ |
D | lws-genec.c | 228 if (el[LWS_GENCRYPTO_EC_KEYEL_CRV].len < 4) in lws_genec_keypair_import() 232 (char *)el[LWS_GENCRYPTO_EC_KEYEL_CRV].buf); in lws_genec_keypair_import() 414 el[LWS_GENCRYPTO_EC_KEYEL_CRV].len = (uint32_t)strlen(curve_name) + 1; in lws_genec_new_keypair() 415 el[LWS_GENCRYPTO_EC_KEYEL_CRV].buf = in lws_genec_new_keypair() 416 lws_malloc(el[LWS_GENCRYPTO_EC_KEYEL_CRV].len, "ec"); in lws_genec_new_keypair() 417 if (!el[LWS_GENCRYPTO_EC_KEYEL_CRV].buf) { in lws_genec_new_keypair() 422 strcpy((char *)el[LWS_GENCRYPTO_EC_KEYEL_CRV].buf, curve_name); in lws_genec_new_keypair()
|
D | openssl-x509.c | 554 mpi[LWS_GENCRYPTO_EC_KEYEL_CRV] = NULL; in lws_x509_public_to_jwk()
|
/third_party/libwebsockets/lib/cose/ |
D | cose_key.c | 220 ke = &key->e[LWS_GENCRYPTO_EC_KEYEL_CRV]; in lws_cose_key_checks() 435 ke = &cps->ck->e[LWS_GENCRYPTO_EC_KEYEL_CRV]; in cb_cose_key() 668 ke = &cps->ck->e[LWS_GENCRYPTO_EC_KEYEL_CRV]; in cb_cose_key() 890 ck->e[LWS_GENCRYPTO_EC_KEYEL_CRV].len = (uint32_t)strlen(curve); in lws_cose_key_generate() 1040 &ck->e[LWS_GENCRYPTO_EC_KEYEL_CRV]; in lws_cose_key_export() 1043 ck->e[LWS_GENCRYPTO_EC_KEYEL_CRV].len > 10) { in lws_cose_key_export() 1080 n != LWS_GENCRYPTO_EC_KEYEL_CRV) { in lws_cose_key_export()
|
/third_party/libwebsockets/include/libwebsockets/ |
D | lws-gencrypto.h | 73 LWS_GENCRYPTO_EC_KEYEL_CRV, enumerator
|
/third_party/libwebsockets/lib/jose/jwk/ |
D | jose_key.c | 86 F_EC | F_M | LWS_GENCRYPTO_EC_KEYEL_CRV, 104 { "crv", LWS_GENCRYPTO_EC_KEYEL_CRV, 0 }, 570 l->idx == (int)LWS_GENCRYPTO_EC_KEYEL_CRV) { in lws_jwk_export()
|
/third_party/libwebsockets/lib/jose/jws/ |
D | jws.c | 593 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() 823 if (!jws->jwk->e[LWS_GENCRYPTO_EC_KEYEL_CRV].buf) in lws_jws_sign_from_b64() 834 jws->jwk->e[LWS_GENCRYPTO_EC_KEYEL_CRV].buf, in lws_jws_sign_from_b64()
|
/third_party/libwebsockets/lib/jose/jwe/ |
D | jwe-ecdh-es-aeskw.c | 227 jwe->jws.jwk->e[LWS_GENCRYPTO_EC_KEYEL_CRV].buf, in lws_jwe_encrypt_ecdh()
|