Home
last modified time | relevance | path

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

/test/xts/device_attest_lite/services/core/network/
Dattest_channel.c166 int32_t ret = mbedtls_ssl_config_defaults(&(tlsConfig->sslConf), MBEDTLS_SSL_IS_CLIENT, in TLSSetupConfig()
173 mbedtls_ssl_conf_authmode(&(tlsConfig->sslConf), MBEDTLS_SSL_VERIFY_REQUIRED); in TLSSetupConfig()
174 ret = mbedtls_ssl_conf_max_frag_len(&(tlsConfig->sslConf), MBEDTLS_SSL_MAX_FRAG_LEN_4096); in TLSSetupConfig()
179 mbedtls_ssl_conf_ca_chain(&(tlsConfig->sslConf), &(tlsConfig->caCert), NULL); in TLSSetupConfig()
180 mbedtls_ssl_conf_verify(&(tlsConfig->sslConf), (VerifyFunc)LazyVerifyCert, NULL); in TLSSetupConfig()
182 mbedtls_ssl_conf_rng(&(tlsConfig->sslConf), mbedtls_ctr_drbg_random, &(tlsConfig->ctrDrbgCtx)); in TLSSetupConfig()
183 mbedtls_ssl_conf_read_timeout(&(tlsConfig->sslConf), TLS_READ_TIMEOUT_MS); in TLSSetupConfig()
185 ret = mbedtls_ssl_setup(&(tlsConfig->sslCtx), &(tlsConfig->sslConf)); in TLSSetupConfig()
210 mbedtls_ssl_config_init(&(tlsConfig->sslConf)); in TLSConnect()
307 mbedtls_ssl_config_free(&(tlsConfig->sslConf)); in TLSClose()
/test/xts/device_attest_lite/services/core/include/network/
Dattest_channel.h45 mbedtls_ssl_config sslConf; member