Searched refs:authmode (Results 1 – 7 of 7) sorted by relevance
641 const int authmode = ssl->handshake->sni_authmode != MBEDTLS_SSL_VERIFY_UNSET in ssl_tls13_validate_certificate() local643 : ssl->conf->authmode; in ssl_tls13_validate_certificate()645 const int authmode = ssl->conf->authmode; in ssl_tls13_validate_certificate()665 if (authmode == MBEDTLS_SSL_VERIFY_OPTIONAL) { in ssl_tls13_validate_certificate()690 return mbedtls_ssl_verify_certificate(ssl, authmode, in ssl_tls13_validate_certificate()
1655 void mbedtls_ssl_conf_authmode(mbedtls_ssl_config *conf, int authmode) in mbedtls_ssl_conf_authmode() argument1657 conf->authmode = authmode; in mbedtls_ssl_conf_authmode()1944 int authmode) in mbedtls_ssl_set_hs_authmode() argument1946 ssl->handshake->sni_authmode = authmode; in mbedtls_ssl_set_hs_authmode()5928 conf->authmode = MBEDTLS_SSL_VERIFY_REQUIRED; in mbedtls_ssl_config_defaults()7926 int authmode) in ssl_parse_certificate_coordinate() argument7941 if (authmode == MBEDTLS_SSL_VERIFY_NONE) { in ssl_parse_certificate_coordinate()7948 ((void) authmode); in ssl_parse_certificate_coordinate()8012 const int authmode = ssl->handshake->sni_authmode != MBEDTLS_SSL_VERIFY_UNSET in mbedtls_ssl_parse_certificate() local8014 : ssl->conf->authmode; in mbedtls_ssl_parse_certificate()[all …]
2667 int authmode; in ssl_tls13_certificate_request_coordinate() local2671 authmode = ssl->handshake->sni_authmode; in ssl_tls13_certificate_request_coordinate()2674 authmode = ssl->conf->authmode; in ssl_tls13_certificate_request_coordinate()2676 if (authmode == MBEDTLS_SSL_VERIFY_NONE) { in ssl_tls13_certificate_request_coordinate()
2404 int authmode; in ssl_write_certificate_request() local2412 authmode = ssl->handshake->sni_authmode; in ssl_write_certificate_request()2415 authmode = ssl->conf->authmode; in ssl_write_certificate_request()2418 authmode == MBEDTLS_SSL_VERIFY_NONE) { in ssl_write_certificate_request()
1726 int authmode,
1478 uint8_t MBEDTLS_PRIVATE(authmode); /*!< MBEDTLS_SSL_VERIFY_XXX */2177 void mbedtls_ssl_conf_authmode(mbedtls_ssl_config *conf, int authmode);4197 int authmode);
372 use authmode none, and to carefully check the results when using optional4187 * Fix authentication bypass in SSL/TLS: when authmode is set to optional,4191 triggered remotely from either side. (With authmode set to 'required'4215 * With authmode set to optional, the TLS handshake is now aborted if the4891 * The default authmode for SSL/TLS clients is now REQUIRED.4934 * With authmode set to SSL_VERIFY_OPTIONAL, verification of keyUsage and