Searched refs:LWS_GENCRYPTO_EC_KEYEL_CRV (Results 1 – 8 of 8) sorted by relevance
/external/libwebsockets/lib/tls/ |
D | lws-genec-common.c | 72 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/ |
D | lws-genec.c | 53 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/ |
D | lws-genec.c | 183 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()
|
D | openssl-x509.c | 376 mpi[LWS_GENCRYPTO_EC_KEYEL_CRV] = NULL; in lws_x509_public_to_jwk()
|
/external/libwebsockets/include/libwebsockets/ |
D | lws-gencrypto.h | 66 LWS_GENCRYPTO_EC_KEYEL_CRV, enumerator
|
/external/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() 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/ |
D | jwk.c | 94 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/ |
D | jwe-ecdh-es-aeskw.c | 227 jwe->jws.jwk->e[LWS_GENCRYPTO_EC_KEYEL_CRV].buf, in lws_jwe_encrypt_ecdh()
|