Searched refs:alloc_file (Results 1 - 3 of 3) sorted by relevance
/third_party/libwebsockets/lib/tls/ |
H A D | tls.c | 223 int alloc_file(struct lws_context *context, const char *filename, uint8_t **buf, in alloc_file() function 235 *buf = lws_malloc(s + 1, "alloc_file"); in alloc_file() 257 int alloc_file(struct lws_context *context, const char *filename, uint8_t **buf, in alloc_file() function 288 *buf = lws_malloc(s + 1, "alloc_file"); in alloc_file() 333 n = alloc_file(context, filename, (uint8_t **)&pem, &len); in lws_tls_alloc_pem_to_der_file()
|
/third_party/libwebsockets/lib/tls/mbedtls/ |
H A D | mbedtls-client.c | 417 if (alloc_file(vh->context, ca_filepath, &buf, &len)) { in lws_tls_client_create_vhost_context() 456 if (alloc_file(vh->context, cert_filepath, &buf, &amount)) in lws_tls_client_create_vhost_context() 495 if (alloc_file(vh->context, private_key_filepath, &buf, &amount)) in lws_tls_client_create_vhost_context()
|
/third_party/libwebsockets/lib/core/ |
H A D | private-lib-core.h | 959 int alloc_file(struct lws_context *context, const char *filename,
|
Completed in 4 milliseconds