Home
last modified time | relevance | path

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

/hostap-latest/src/crypto/
Dtls_mbedtls_alt.c194 static struct tls_global tls_ctx_global; variable
397 if (++tls_ctx_global.refcnt > 1) in tls_init()
398 return &tls_ctx_global; in tls_init()
401 tls_ctx_global.ctr_drbg = crypto_mbedtls_ctr_drbg(); in tls_init()
404 mbedtls_ssl_ticket_init(&tls_ctx_global.ticket_ctx); in tls_init()
405 mbedtls_ssl_ticket_setup(&tls_ctx_global.ticket_ctx, hostap_rng_fn, hostap_rng_ctx(), in tls_init()
409 tls_ctx_global.init_conf = *conf; in tls_init()
411 tls_ctx_global.init_conf.openssl_ciphers = os_strdup(conf->openssl_ciphers); in tls_init()
413 tls_ctx_global.crl_reload_interval = conf->crl_reload_interval; in tls_init()
414 os_get_reltime(&tls_ctx_global.crl_reload_previous); in tls_init()
[all …]