Home
last modified time | relevance | path

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

/openthread-latest/third_party/mbedtls/repo/library/
Dssl_tls13_generic.c629 int authmode = MBEDTLS_SSL_VERIFY_REQUIRED; in ssl_tls13_validate_certificate() local
642 authmode = ssl->handshake->sni_authmode; in ssl_tls13_validate_certificate()
645 authmode = ssl->conf->authmode; in ssl_tls13_validate_certificate()
666 if (authmode == MBEDTLS_SSL_VERIFY_OPTIONAL) { in ssl_tls13_validate_certificate()
742 if (authmode == MBEDTLS_SSL_VERIFY_OPTIONAL && in ssl_tls13_validate_certificate()
748 if (ca_chain == NULL && authmode == MBEDTLS_SSL_VERIFY_REQUIRED) { in ssl_tls13_validate_certificate()
Dssl_tls.c1372 ssl->conf->authmode == MBEDTLS_SSL_VERIFY_OPTIONAL) { in ssl_conf_check()
1665 void mbedtls_ssl_conf_authmode(mbedtls_ssl_config *conf, int authmode) in mbedtls_ssl_conf_authmode() argument
1667 conf->authmode = authmode; in mbedtls_ssl_conf_authmode()
1945 int authmode) in mbedtls_ssl_set_hs_authmode() argument
1947 ssl->handshake->sni_authmode = authmode; in mbedtls_ssl_set_hs_authmode()
5869 conf->authmode = MBEDTLS_SSL_VERIFY_REQUIRED; in mbedtls_ssl_config_defaults()
7902 int authmode) in ssl_parse_certificate_coordinate() argument
7917 if (authmode == MBEDTLS_SSL_VERIFY_NONE) { in ssl_parse_certificate_coordinate()
7924 ((void) authmode); in ssl_parse_certificate_coordinate()
7932 int authmode, in ssl_parse_certificate_verify() argument
[all …]
Dssl_tls13_server.c2655 int authmode; in ssl_tls13_certificate_request_coordinate() local
2659 authmode = ssl->handshake->sni_authmode; in ssl_tls13_certificate_request_coordinate()
2662 authmode = ssl->conf->authmode; in ssl_tls13_certificate_request_coordinate()
2664 if (authmode == MBEDTLS_SSL_VERIFY_NONE) { in ssl_tls13_certificate_request_coordinate()
Dssl_tls12_server.c2424 int authmode; in ssl_write_certificate_request() local
2432 authmode = ssl->handshake->sni_authmode; in ssl_write_certificate_request()
2435 authmode = ssl->conf->authmode; in ssl_write_certificate_request()
2438 authmode == MBEDTLS_SSL_VERIFY_NONE) { in ssl_write_certificate_request()
/openthread-latest/third_party/mbedtls/repo/tests/
DDescriptions.txt16 For each ciphersuite/version/side/authmode it performs a full handshake
/openthread-latest/third_party/mbedtls/repo/include/mbedtls/
Dssl.h1428 uint8_t MBEDTLS_PRIVATE(authmode); /*!< MBEDTLS_SSL_VERIFY_XXX */
2077 void mbedtls_ssl_conf_authmode(mbedtls_ssl_config *conf, int authmode);
4071 int authmode);
/openthread-latest/third_party/mbedtls/repo/programs/ssl/
Dssl_server2.c755 int authmode; member
859 if ((new->authmode = get_auth_mode(auth_str)) < 0) { in sni_parse()
863 new->authmode = DFL_AUTH_MODE; in sni_parse()
928 if (cur->authmode != DFL_AUTH_MODE) { in cert_callback()
929 mbedtls_ssl_set_hs_authmode(ssl, cur->authmode); in cert_callback()
/openthread-latest/third_party/mbedtls/repo/
DChangeLog3799 * Fix authentication bypass in SSL/TLS: when authmode is set to optional,
3803 triggered remotely from either side. (With authmode set to 'required'
3827 * With authmode set to optional, the TLS handshake is now aborted if the
4503 * The default authmode for SSL/TLS clients is now REQUIRED.
4546 * With authmode set to SSL_VERIFY_OPTIONAL, verification of keyUsage and