Home
last modified time | relevance | path

Searched refs:ca_mem (Results 1 – 5 of 5) sorted by relevance

/third_party/libwebsockets/lib/tls/openssl/
Dopenssl-client.c713 const void *ca_mem, argument
816 if (ca_mem && ca_mem_len)
817 EVP_DigestUpdate(mdctx, ca_mem, ca_mem_len);
956 if (!ca_filepath && (!ca_mem || !ca_mem_len)) {
990 if (lws_tls_alloc_pem_to_der_file(vh->context, NULL, ca_mem,
993 lwsl_hexdump_notice(ca_mem, ca_mem_len);
/third_party/libwebsockets/lib/tls/mbedtls/
Dmbedtls-client.c370 const void *ca_mem, in lws_tls_client_create_vhost_context() argument
408 if (!ca_filepath && (!ca_mem || !ca_mem_len)) in lws_tls_client_create_vhost_context()
426 vh->tls.x509_client_CA = d2i_X509(NULL, (uint8_t*)ca_mem, (long)ca_mem_len); in lws_tls_client_create_vhost_context()
/third_party/libwebsockets/lib/tls/
Dprivate-network.h185 const void *ca_mem,
/third_party/libcoap/examples/
Dcoap-client.c97 static uint8_t *ca_mem = NULL; /* CA for cert checking in PEM_BUF */ variable
1266 if (ca_mem == 0 && cert_mem == 0 && key_mem == 0) { in setup_pki()
1267 ca_mem = read_file_mem(ca_file, &ca_mem_len); in setup_pki()
1272 dtls_pki.pki_key.key.pem_buf.ca_cert = ca_mem; in setup_pki()
1737 coap_free(ca_mem); in main()
Dcoap-server.c101 static uint8_t *ca_mem = NULL; /* CA for cert checking in PEM_BUF */ variable
1876 coap_free(ca_mem); in update_pki_key()
1879 ca_mem = read_file_mem(ca_name, &ca_mem_len); in update_pki_key()
1884 dtls_key->key.pem_buf.ca_cert = ca_mem; in update_pki_key()
2057 ca_mem_base = ca_mem; in setup_pki()
2060 ca_mem = NULL; in setup_pki()
2836 coap_free(ca_mem); in main()