Searched refs:key_mem (Results 1 – 5 of 5) sorted by relevance
376 const void *key_mem, in lws_tls_client_create_vhost_context() argument512 } 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()
96 static uint8_t *key_mem = NULL; /* private key in PEM_BUF */ variable1266 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()
100 static uint8_t *key_mem = NULL; /* private key in PEM_BUF */ variable1878 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()
191 const void *key_mem,
719 const void *key_mem, argument1103 else if (key_mem && key_mem_len) {1108 if (lws_tls_alloc_pem_to_der_file(vh->context, NULL, key_mem,