Searched refs:cert_mem (Results 1 – 5 of 5) sorted by relevance
/third_party/libwebsockets/lib/tls/mbedtls/ |
D | mbedtls-client.c | 373 const void *cert_mem, in lws_tls_client_create_vhost_context() argument 472 } else if (cert_mem && cert_mem_len) { in lws_tls_client_create_vhost_context() 475 (int)cert_mem_len, cert_mem); in lws_tls_client_create_vhost_context()
|
/third_party/libwebsockets/lib/tls/openssl/ |
D | openssl-client.c | 716 const void *cert_mem, argument 819 if (cert_mem && cert_mem_len) 820 EVP_DigestUpdate(mdctx, cert_mem, cert_mem_len); 1053 } else if (cert_mem && cert_mem_len) { 1057 if (lws_tls_alloc_pem_to_der_file(vh->context, NULL, cert_mem,
|
/third_party/libcoap/examples/ |
D | coap-client.c | 95 static uint8_t *cert_mem = NULL; /* certificate and private key in PEM_BUF */ variable 1266 if (ca_mem == 0 && cert_mem == 0 && key_mem == 0) { in setup_pki() 1268 cert_mem = read_file_mem(cert_file, &cert_mem_len); in setup_pki() 1273 dtls_pki.pki_key.key.pem_buf.public_cert = cert_mem; in setup_pki() 1274 dtls_pki.pki_key.key.pem_buf.private_key = key_mem ? key_mem : cert_mem; in setup_pki() 1738 coap_free(cert_mem); in main()
|
D | coap-server.c | 99 static uint8_t *cert_mem = NULL; /* certificate and private key in PEM_BUF */ variable 1877 coap_free(cert_mem); in update_pki_key() 1880 cert_mem = read_file_mem(cert_name, &cert_mem_len); in update_pki_key() 1885 dtls_key->key.pem_buf.public_cert = cert_mem; in update_pki_key() 1886 dtls_key->key.pem_buf.private_key = key_mem ? key_mem : cert_mem; in update_pki_key() 2058 cert_mem_base = cert_mem; in setup_pki() 2061 cert_mem = NULL; in setup_pki() 2837 coap_free(cert_mem); in main()
|
/third_party/libwebsockets/lib/tls/ |
D | private-network.h | 188 const void *cert_mem,
|