/third_party/libwebsockets/lib/jose/jwk/ |
D | jwk.c | 111 e->buf = lws_malloc(len + 1, "jwk"); in _lws_jwk_set_el_jwk() 165 jwk->e[LWS_GENCRYPTO_KTY_OCT].buf = lws_malloc(ulen, __func__); in lws_jwk_dup_oct() 206 jwk->e[LWS_GENCRYPTO_OCT_KEYEL_K].buf = lws_malloc(sn, "oct"); in lws_jwk_generate() 258 tmp = lws_malloc(tmpsize, "rfc7638 tmp"); in lws_jwk_rfc7638_fingerprint() 289 jwk->meta[idx].buf = lws_malloc((unsigned int)len, __func__); in lws_jwk_strdup_meta()
|
D | jose_key.c | 144 e->buf = lws_malloc(dec_size, "jwk"); in _lws_jwk_set_el_jwk_b64() 164 e->buf = lws_malloc(dec_size, "jwk"); in _lws_jwk_set_el_jwk_b64u() 603 char *buf = lws_malloc(buflen, "jwk-load"); in lws_jwk_load() 627 char *buf = lws_malloc((unsigned int)buflen, "jwk-save"); in lws_jwk_save()
|
/third_party/libwebsockets/lib/misc/ |
D | getifaddrs.c | 144 *end = lws_malloc(sizeof(**end), "getifaddrs"); in getifaddrs2() 149 (*end)->ifa_addr = lws_malloc(salen, "getifaddrs"); in getifaddrs2() 157 lws_malloc(sizeof(ifr->ifr_broadaddr), "getifaddrs"); in getifaddrs2() 162 lws_malloc(sizeof(ifr->ifr_dstaddr), "getifaddrs"); in getifaddrs2()
|
D | lws-ring.c | 31 struct lws_ring *ring = lws_malloc(sizeof(*ring), "ring create"); in lws_ring_create() 42 ring->buf = lws_malloc(ring->buflen, "ring buf"); in lws_ring_create()
|
D | diskcache.c | 98 struct lws_diskcache_scan *lds = lws_malloc(sizeof(*lds), "cachescan"); in lws_diskcache_create() 290 lds->batch = lws_malloc(sizeof(struct file_entry) * in lws_diskcache_trim()
|
/third_party/libwebsockets/lib/roles/http/server/ |
D | access-log.c | 66 wsi->http.access_log.header_log = lws_malloc((unsigned int)l, "access log"); in lws_prepare_access_log_info() 113 lws_malloc((unsigned int)l + 5, "access log"); in lws_prepare_access_log_info() 129 wsi->http.access_log.referrer = lws_malloc((unsigned int)l + 5, "referrer"); in lws_prepare_access_log_info()
|
D | rewrite.c | 9 struct lws_rewrite *r = lws_malloc(sizeof(*r), "rewrite"); in lws_rewrite_create()
|
/third_party/libwebsockets/lib/tls/ |
D | tls.c | 235 *buf = lws_malloc(s + 1, "alloc_file"); in alloc_file() 288 *buf = lws_malloc(s + 1, "alloc_file"); in alloc_file() 348 pem = lws_malloc((size_t)inlen, "alloc_der"); in lws_tls_alloc_pem_to_der_file() 364 pem = lws_malloc(((size_t)inlen * 3) / 4, "alloc_der"); in lws_tls_alloc_pem_to_der_file()
|
D | lws-genec-common.c | 75 lws_malloc(len + 1, "cert crv"); in lws_genec_confirm_curve_allowed_by_tls_id()
|
/third_party/libwebsockets/lib/cose/ |
D | cose_key.c | 244 e->buf = lws_malloc(len + 1, "ck"); in lws_ck_set_el() 404 ke->buf = lws_malloc(ke->len + 1, __func__); in cb_cose_key() 437 ke->buf = lws_malloc(ke->len + 1, __func__); in cb_cose_key() 670 ke->buf = lws_malloc(ctx->npos, __func__); in cb_cose_key() 694 ke->buf = lws_malloc(ctx->npos, __func__); in cb_cose_key() 810 ke->buf = lws_malloc((size_t)count, __func__); in lws_cose_key_generate() 822 ke->buf = lws_malloc(kl, __func__); in lws_cose_key_generate() 853 ke->buf = lws_malloc(sn, "oct"); in lws_cose_key_generate()
|
/third_party/libwebsockets/lib/tls/openssl/ |
D | openssl-x509.c | 411 *x509 = lws_malloc(sizeof(**x509), __func__); in lws_x509_create() 617 jwk->e[n].buf = lws_malloc(jwk->e[n].len, "certkeyimp"); in lws_x509_public_to_jwk() 719 jwk->e[LWS_GENCRYPTO_EC_KEYEL_D].buf = lws_malloc((unsigned int)n, "ec"); in lws_x509_jwk_privkey_pem() 788 jwk->e[LWS_GENCRYPTO_RSA_KEYEL_D].buf = lws_malloc((unsigned int)n, "privjk"); in lws_x509_jwk_privkey_pem() 797 jwk->e[LWS_GENCRYPTO_RSA_KEYEL_P].buf = lws_malloc((unsigned int)n, "privjk"); in lws_x509_jwk_privkey_pem() 805 jwk->e[LWS_GENCRYPTO_RSA_KEYEL_Q].buf = lws_malloc((unsigned int)n, "privjk"); in lws_x509_jwk_privkey_pem()
|
D | openssl-session.c | 192 ts = lws_malloc(sizeof(*ts) + nl + 1, __func__); in lws_tls_session_add_entry() 389 v = d.blob = lws_malloc(d.blob_len, __func__); in lws_tls_session_dump_save()
|
/third_party/libwebsockets/lib/tls/mbedtls/ |
D | lws-genec.c | 287 lws_malloc(el[LWS_GENCRYPTO_EC_KEYEL_CRV].len, "ec"); in lws_genecdh_new_keypair() 295 el[n].buf = lws_malloc(curve->key_bytes, "ec"); in lws_genecdh_new_keypair() 361 lws_malloc(el[LWS_GENCRYPTO_EC_KEYEL_CRV].len, "ec"); in lws_genecdsa_new_keypair() 369 el[n].buf = lws_malloc(curve->key_bytes, "ec"); in lws_genecdsa_new_keypair()
|
D | mbedtls-x509.c | 323 *x509 = lws_malloc(sizeof(**x509), __func__); in lws_x509_create() 435 jwk->e[n].buf = lws_malloc(mbedtls_mpi_size(mpi[n]), "certjwk"); in lws_x509_public_to_jwk() 514 jwk->e[n].buf = lws_malloc(mbedtls_mpi_size(mpi[n]), "certjwk"); in lws_x509_jwk_privkey_pem()
|
/third_party/libwebsockets/lib/drivers/netdev/ |
D | netdev.c | 57 buf = lws_malloc(max, __func__); /* length should be computed */ in lws_netdev_credentials_settings_set() 98 buf = lws_malloc(l, __func__); in lws_netdev_credentials_settings_get()
|
/third_party/libwebsockets/lib/core/ |
D | lws_map.c | 70 return lws_malloc(x, __func__); in lws_map_alloc_lws_malloc() 122 map = lws_malloc(size, __func__); in lws_map_create()
|
D | alloc.c | 83 void *lws_malloc(size_t size, const char *reason) in lws_malloc() function
|
/third_party/libwebsockets/lib/roles/mqtt/ |
D | primitives.c | 159 lws_mqtt_str_t *s = lws_malloc(sizeof(*s) + lim + 1, __func__); in lws_mqtt_str_create() 283 s->buf = lws_malloc(s->len, __func__); in lws_mqtt_str_parse()
|
/third_party/libwebsockets/lib/drivers/settings/ |
D | settings.c | 60 p = lws_malloc(n + 2, __func__); in lws_settings_plat_printf()
|
/third_party/libwebsockets/lib/plat/windows/ |
D | windows-resolv.c | 39 fi = (FIXED_INFO *)lws_malloc(ul, __func__); in lws_plat_asyncdns_init()
|
/third_party/libwebsockets/lib/secure-streams/protocols/ |
D | ss-mqtt.c | 85 expbuf = lws_malloc(used_out + 1, __func__); in secstream_mqtt_subscribe() 122 lws_malloc(sizeof(lws_mqtt_topic_elem_t), __func__); in secstream_mqtt_subscribe() 170 expbuf = lws_malloc(used_out + 1, __func__); in secstream_mqtt_publish() 620 h->u.mqtt.heap_baggage = lws_malloc(tot, __func__); in secstream_connect_munge_mqtt()
|
/third_party/libwebsockets/lib/plat/unix/ |
D | unix-plugins.c | 100 pin = lws_malloc(sizeof(*pin), __func__); in lws_plat_dlopen()
|
/third_party/libwebsockets/lib/roles/http/compression/deflate/ |
D | deflate.c | 33 ctx->u.deflate = lws_malloc(sizeof(*ctx->u.deflate), __func__); in lcs_init_compression_deflate()
|
/third_party/libwebsockets/lib/core-net/client/ |
D | conmon.c | 99 ai = lws_malloc(al + cl + 1, __func__); in lws_conmon_append_copy_new_dns_results()
|
/third_party/libwebsockets/lib/system/fault-injection/ |
D | fault-injection.c | 149 pv = lws_malloc(sizeof(*pv) + n + 1, __func__); in lws_fi_add() 204 fi.pattern = lws_malloc((size_t)((fi.count >> 3) + 1), __func__); in do_inherit()
|