Lines Matching refs:conf

800     mbedtls_ssl_config conf;  in main()  local
849 mbedtls_ssl_config_init( &conf ); in main()
1602 if( ( ret = mbedtls_ssl_config_defaults( &conf, in main()
1612 mbedtls_ssl_conf_authmode( &conf, opt.auth_mode ); in main()
1616 mbedtls_ssl_conf_handshake_timeout( &conf, opt.hs_to_min, opt.hs_to_max ); in main()
1620 if( ( ret = mbedtls_ssl_conf_max_frag_len( &conf, opt.mfl_code ) ) != 0 ) in main()
1629 mbedtls_ssl_conf_truncated_hmac( &conf, opt.trunc_hmac ); in main()
1634 mbedtls_ssl_conf_extended_master_secret( &conf, opt.extended_ms ); in main()
1639 mbedtls_ssl_conf_encrypt_then_mac( &conf, opt.etm ); in main()
1644 if( ( ret = mbedtls_ssl_conf_alpn_protocols( &conf, alpn_list ) ) != 0 ) in main()
1651 mbedtls_ssl_conf_rng( &conf, mbedtls_ctr_drbg_random, &ctr_drbg ); in main()
1652 mbedtls_ssl_conf_dbg( &conf, my_debug, stdout ); in main()
1661 mbedtls_ssl_conf_session_cache( &conf, &cache, in main()
1678 mbedtls_ssl_conf_session_tickets_cb( &conf, in main()
1698 … mbedtls_ssl_conf_dtls_cookies( &conf, mbedtls_ssl_cookie_write, mbedtls_ssl_cookie_check, in main()
1706 mbedtls_ssl_conf_dtls_cookies( &conf, NULL, NULL, NULL ); in main()
1716 mbedtls_ssl_conf_dtls_anti_replay( &conf, opt.anti_replay ); in main()
1721 mbedtls_ssl_conf_dtls_badmac_limit( &conf, opt.badmac_limit ); in main()
1727 mbedtls_ssl_conf_ciphersuites( &conf, opt.force_ciphersuite ); in main()
1731 mbedtls_ssl_conf_arc4_support( &conf, opt.arc4 ); in main()
1736 mbedtls_ssl_conf_ciphersuites_for_version( &conf, version_suites[0], in main()
1739 mbedtls_ssl_conf_ciphersuites_for_version( &conf, version_suites[1], in main()
1742 mbedtls_ssl_conf_ciphersuites_for_version( &conf, version_suites[2], in main()
1745 mbedtls_ssl_conf_ciphersuites_for_version( &conf, version_suites[3], in main()
1751 mbedtls_ssl_conf_legacy_renegotiation( &conf, opt.allow_legacy ); in main()
1753 mbedtls_ssl_conf_renegotiation( &conf, opt.renegotiation ); in main()
1756 mbedtls_ssl_conf_renegotiation_enforced( &conf, opt.renego_delay ); in main()
1761 mbedtls_ssl_conf_renegotiation_period( &conf, renego_period ); in main()
1769 mbedtls_ssl_conf_ca_chain( &conf, &cacert, NULL ); in main()
1772 if( ( ret = mbedtls_ssl_conf_own_cert( &conf, &srvcert, &pkey ) ) != 0 ) in main()
1778 if( ( ret = mbedtls_ssl_conf_own_cert( &conf, &srvcert2, &pkey2 ) ) != 0 ) in main()
1787 mbedtls_ssl_conf_sni( &conf, sni_callback, sni_info ); in main()
1793 ret = mbedtls_ssl_conf_psk( &conf, psk, psk_len, in main()
1804 mbedtls_ssl_conf_psk_cb( &conf, psk_callback, psk_info ); in main()
1813 ret = mbedtls_ssl_conf_dh_param_ctx( &conf, &dhm ); in main()
1823 mbedtls_ssl_conf_min_version( &conf, MBEDTLS_SSL_MAJOR_VERSION_3, opt.min_version ); in main()
1826 mbedtls_ssl_conf_max_version( &conf, MBEDTLS_SSL_MAJOR_VERSION_3, opt.max_version ); in main()
1828 if( ( ret = mbedtls_ssl_setup( &ssl, &conf ) ) != 0 ) in main()
1908 mbedtls_ssl_conf_read_timeout( &conf, opt.read_timeout ); in main()
2302 mbedtls_ssl_config_free( &conf ); in main()