Home
last modified time | relevance | path

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

/third_party/libwebsockets/lib/tls/mbedtls/
H A Dmbedtls-client.c377 const void *key_mem, in lws_tls_client_create_vhost_context()
513 } else if (key_mem && key_mem_len) { in lws_tls_client_create_vhost_context()
516 key_mem, (long)key_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.h191 const void *key_mem,
/third_party/libcoap/examples/
H A Dcoap-server.c114 static uint8_t *key_mem = NULL; /* private key in PEM_BUF */ variable
1888 coap_free(key_mem); in update_pki_key()
1891 key_mem = read_file_mem(key_name, &key_mem_len); in update_pki_key()
1896 dtls_key->key.pem_buf.private_key = key_mem ? key_mem : cert_mem; in update_pki_key()
1899 dtls_key->key.pem_buf.private_key_len = key_mem ? in update_pki_key()
2063 key_mem_base = key_mem; in setup_pki()
2066 key_mem = NULL; in setup_pki()
3052 coap_free(key_mem); in main()
H A Dcoap-client.c113 static uint8_t *key_mem = NULL; /* private key in PEM_BUF */ variable
1389 if (ca_mem == 0 && cert_mem == 0 && key_mem == 0) { in setup_pki()
1392 key_mem = read_file_mem(key_file, &key_mem_len); in setup_pki()
1397 dtls_pki.pki_key.key.pem_buf.private_key = key_mem ? key_mem : cert_mem; in setup_pki()
1400 dtls_pki.pki_key.key.pem_buf.private_key_len = key_mem ? in setup_pki()
2009 coap_free(key_mem); in main()
/third_party/libwebsockets/lib/tls/openssl/
H A Dopenssl-client.c723 const void *key_mem,
1154 else if (key_mem && key_mem_len) {
1159 if (lws_tls_alloc_pem_to_der_file(vh->context, NULL, key_mem,
1186 lwsl_err("%s: unable to use key_mem\n", __func__);
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

Completed in 10 milliseconds