Lines Matching refs:conf
417 mbedtls_ssl_config conf; in main() local
436 mbedtls_ssl_config_init( &conf ); in main()
1082 if( ( ret = mbedtls_ssl_config_defaults( &conf, in main()
1093 mbedtls_ssl_conf_verify( &conf, my_verify, NULL ); in main()
1097 mbedtls_ssl_conf_authmode( &conf, opt.auth_mode ); in main()
1101 mbedtls_ssl_conf_handshake_timeout( &conf, opt.hs_to_min, opt.hs_to_max ); in main()
1105 if( ( ret = mbedtls_ssl_conf_max_frag_len( &conf, opt.mfl_code ) ) != 0 ) in main()
1114 mbedtls_ssl_conf_truncated_hmac( &conf, opt.trunc_hmac ); in main()
1119 mbedtls_ssl_conf_extended_master_secret( &conf, opt.extended_ms ); in main()
1124 mbedtls_ssl_conf_encrypt_then_mac( &conf, opt.etm ); in main()
1129 mbedtls_ssl_conf_cbc_record_splitting( &conf, opt.recsplit in main()
1136 mbedtls_ssl_conf_dhm_min_bitlen( &conf, opt.dhmlen ); in main()
1141 if( ( ret = mbedtls_ssl_conf_alpn_protocols( &conf, alpn_list ) ) != 0 ) in main()
1148 mbedtls_ssl_conf_rng( &conf, mbedtls_ctr_drbg_random, &ctr_drbg ); in main()
1149 mbedtls_ssl_conf_dbg( &conf, my_debug, stdout ); in main()
1151 mbedtls_ssl_conf_read_timeout( &conf, opt.read_timeout ); in main()
1154 mbedtls_ssl_conf_session_tickets( &conf, opt.tickets ); in main()
1158 mbedtls_ssl_conf_ciphersuites( &conf, opt.force_ciphersuite ); in main()
1162 mbedtls_ssl_conf_arc4_support( &conf, opt.arc4 ); in main()
1166 mbedtls_ssl_conf_legacy_renegotiation( &conf, opt.allow_legacy ); in main()
1168 mbedtls_ssl_conf_renegotiation( &conf, opt.renegotiation ); in main()
1175 mbedtls_ssl_conf_ca_chain( &conf, &cacert, NULL ); in main()
1180 if( ( ret = mbedtls_ssl_conf_own_cert( &conf, &clicert, &pkey ) ) != 0 ) in main()
1189 if( ( ret = mbedtls_ssl_conf_psk( &conf, psk, psk_len, in main()
1199 mbedtls_ssl_conf_min_version( &conf, MBEDTLS_SSL_MAJOR_VERSION_3, opt.min_version ); in main()
1202 mbedtls_ssl_conf_max_version( &conf, MBEDTLS_SSL_MAJOR_VERSION_3, opt.max_version ); in main()
1206 mbedtls_ssl_conf_fallback( &conf, opt.fallback ); in main()
1209 if( ( ret = mbedtls_ssl_setup( &ssl, &conf ) ) != 0 ) in main()
1656 mbedtls_ssl_config_free( &conf ); in main()