Home
last modified time | relevance | path

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

/third_party/libwebsockets/lib/tls/mbedtls/
Dmbedtls-client.c376 const void *key_mem, in lws_tls_client_create_vhost_context() argument
512 } else if (key_mem && key_mem_len) { in lws_tls_client_create_vhost_context()
515 key_mem, (long)key_mem_len - 1); in lws_tls_client_create_vhost_context()
/third_party/libcoap/examples/
Dcoap-client.c96 static uint8_t *key_mem = NULL; /* private key in PEM_BUF */ variable
1266 if (ca_mem == 0 && cert_mem == 0 && key_mem == 0) { in setup_pki()
1269 key_mem = read_file_mem(key_file, &key_mem_len); in setup_pki()
1274 dtls_pki.pki_key.key.pem_buf.private_key = key_mem ? key_mem : cert_mem; in setup_pki()
1277 dtls_pki.pki_key.key.pem_buf.private_key_len = key_mem ? in setup_pki()
1739 coap_free(key_mem); in main()
Dcoap-server.c100 static uint8_t *key_mem = NULL; /* private key in PEM_BUF */ variable
1878 coap_free(key_mem); in update_pki_key()
1881 key_mem = read_file_mem(key_name, &key_mem_len); in update_pki_key()
1886 dtls_key->key.pem_buf.private_key = key_mem ? key_mem : cert_mem; in update_pki_key()
1889 dtls_key->key.pem_buf.private_key_len = key_mem ? in update_pki_key()
2059 key_mem_base = key_mem; in setup_pki()
2062 key_mem = NULL; in setup_pki()
2838 coap_free(key_mem); in main()
/third_party/libwebsockets/lib/tls/
Dprivate-network.h191 const void *key_mem,
/third_party/libwebsockets/lib/tls/openssl/
Dopenssl-client.c719 const void *key_mem, argument
1103 else if (key_mem && key_mem_len) {
1108 if (lws_tls_alloc_pem_to_der_file(vh->context, NULL, key_mem,