Home
last modified time | relevance | path

Searched refs:cert_mem (Results 1 - 5 of 5) sorted by relevance

/third_party/libwebsockets/lib/tls/openssl/
H A Dopenssl-client.c720 const void *cert_mem,
823 if (cert_mem && cert_mem_len)
824 EVP_DigestUpdate(mdctx, cert_mem, cert_mem_len);
1104 } else if (cert_mem && cert_mem_len) {
1108 if (lws_tls_alloc_pem_to_der_file(vh->context, NULL, cert_mem,
713 lws_tls_client_create_vhost_context(struct lws_vhost *vh, const struct lws_context_creation_info *info, const char *cipher_list, const char *ca_filepath, const void *ca_mem, unsigned int ca_mem_len, const char *cert_filepath, const void *cert_mem, unsigned int cert_mem_len, const char *private_key_filepath, const void *key_mem, unsigned int key_mem_len ) global() argument
/third_party/libwebsockets/lib/tls/mbedtls/
H A Dmbedtls-client.c374 const void *cert_mem, in lws_tls_client_create_vhost_context()
473 } else if (cert_mem && cert_mem_len) { in lws_tls_client_create_vhost_context()
474 /* lwsl_hexdump_notice(cert_mem, cert_mem_len - 1); */ in lws_tls_client_create_vhost_context()
476 (int)cert_mem_len, cert_mem); in lws_tls_client_create_vhost_context()
514 /* lwsl_hexdump_notice(cert_mem, cert_mem_len - 1); */ in lws_tls_client_create_vhost_context()
367 lws_tls_client_create_vhost_context(struct lws_vhost *vh, const struct lws_context_creation_info *info, const char *cipher_list, const char *ca_filepath, const void *ca_mem, unsigned int ca_mem_len, const char *cert_filepath, const void *cert_mem, unsigned int cert_mem_len, const char *private_key_filepath, const void *key_mem, unsigned int key_mem_len ) lws_tls_client_create_vhost_context() argument
/third_party/libwebsockets/lib/tls/
H A Dprivate-network.h188 const void *cert_mem,
/third_party/libcoap/examples/
H A Dcoap-server.c113 static uint8_t *cert_mem = NULL; /* certificate and private key in PEM_BUF */ variable
1887 coap_free(cert_mem); in update_pki_key()
1890 cert_mem = read_file_mem(cert_name, &cert_mem_len); in update_pki_key()
1895 dtls_key->key.pem_buf.public_cert = cert_mem; in update_pki_key()
1896 dtls_key->key.pem_buf.private_key = key_mem ? key_mem : cert_mem; in update_pki_key()
2062 cert_mem_base = cert_mem; in setup_pki()
2065 cert_mem = NULL; in setup_pki()
3051 coap_free(cert_mem); in main()
H A Dcoap-client.c112 static uint8_t *cert_mem = NULL; /* certificate and private key in PEM_BUF */ variable
1389 if (ca_mem == 0 && cert_mem == 0 && key_mem == 0) { in setup_pki()
1391 cert_mem = read_file_mem(cert_file, &cert_mem_len); in setup_pki()
1396 dtls_pki.pki_key.key.pem_buf.public_cert = cert_mem; in setup_pki()
1397 dtls_pki.pki_key.key.pem_buf.private_key = key_mem ? key_mem : cert_mem; in setup_pki()
2008 coap_free(cert_mem); in main()

Completed in 10 milliseconds