Home | History | Annotate | Download | only in crypto

Lines Matching refs:conf

239 static struct tls_context * tls_context_new(const struct tls_config *conf)
244 if (conf) {
245 context->event_cb = conf->event_cb;
246 context->cb_ctx = conf->cb_ctx;
247 context->cert_in_cb = conf->cert_in_cb;
883 void * tls_init(const struct tls_config *conf)
891 tls_global = context = tls_context_new(conf);
896 if (conf && conf->fips_mode) {
913 if (conf && conf->fips_mode) {
946 context = tls_context_new(conf);
969 if (conf)
970 data->tls_session_lifetime = conf->tls_session_lifetime;
1013 if (conf &&
1014 (conf->opensc_engine_path || conf->pkcs11_engine_path ||
1015 conf->pkcs11_module_path)) {
1016 if (tls_engine_load_dynamic_opensc(conf->opensc_engine_path) ||
1017 tls_engine_load_dynamic_pkcs11(conf->pkcs11_engine_path,
1018 conf->pkcs11_module_path)) {
1025 if (conf && conf->openssl_ciphers)
1026 ciphers = conf->openssl_ciphers;