Home
last modified time | relevance | path

Searched refs:authmode (Results 1 – 7 of 7) sorted by relevance

/optee_os/lib/libmbedtls/mbedtls/library/
H A Dssl_tls13_generic.c641 const int authmode = ssl->handshake->sni_authmode != MBEDTLS_SSL_VERIFY_UNSET in ssl_tls13_validate_certificate() local
643 : 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()
H A Dssl_tls.c1655 void mbedtls_ssl_conf_authmode(mbedtls_ssl_config *conf, int authmode) in mbedtls_ssl_conf_authmode() argument
1657 conf->authmode = authmode; in mbedtls_ssl_conf_authmode()
1944 int authmode) in mbedtls_ssl_set_hs_authmode() argument
1946 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() argument
7941 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() local
8014 : ssl->conf->authmode; in mbedtls_ssl_parse_certificate()
[all …]
H A Dssl_tls13_server.c2667 int authmode; in ssl_tls13_certificate_request_coordinate() local
2671 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()
H A Dssl_tls12_server.c2404 int authmode; in ssl_write_certificate_request() local
2412 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()
H A Dssl_misc.h1726 int authmode,
/optee_os/lib/libmbedtls/mbedtls/include/mbedtls/
H A Dssl.h1478 uint8_t MBEDTLS_PRIVATE(authmode); /*!< MBEDTLS_SSL_VERIFY_XXX */
2177 void mbedtls_ssl_conf_authmode(mbedtls_ssl_config *conf, int authmode);
4197 int authmode);
/optee_os/lib/libmbedtls/mbedtls/
H A DChangeLog372 use authmode none, and to carefully check the results when using optional
4187 * 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 the
4891 * The default authmode for SSL/TLS clients is now REQUIRED.
4934 * With authmode set to SSL_VERIFY_OPTIONAL, verification of keyUsage and