Home
last modified time | relevance | path

Searched refs:major_ver (Results 1 – 5 of 5) sorted by relevance

/openthread-3.4.0/third_party/mbedtls/repo/library/
Dssl_srv.c1208 ssl->major_ver = MBEDTLS_SSL_MAJOR_VERSION_3; in ssl_parse_client_hello_v2()
1216 ssl->major_ver, ssl->minor_ver, in ssl_parse_client_hello_v2()
1696 mbedtls_ssl_read_version( &ssl->major_ver, &ssl->minor_ver, in ssl_parse_client_hello()
1699 ssl->handshake->max_major_ver = ssl->major_ver; in ssl_parse_client_hello()
1702 if( ssl->major_ver < ssl->conf->min_major_ver || in ssl_parse_client_hello()
1707 ssl->major_ver, ssl->minor_ver, in ssl_parse_client_hello()
1714 if( ssl->major_ver > ssl->conf->max_major_ver ) in ssl_parse_client_hello()
1716 ssl->major_ver = ssl->conf->max_major_ver; in ssl_parse_client_hello()
1870 if( ( ssl->major_ver != 3 ) || ( ssl->minor_ver != 0 ) ) in ssl_parse_client_hello()
2705 mbedtls_ssl_write_version( ssl->major_ver, ssl->minor_ver, in ssl_write_hello_verify_request()
[all …]
Dssl_cli.c992 ssl->major_ver = ssl->conf->min_major_ver; in ssl_write_client_hello()
1954 int major_ver, minor_ver; in ssl_parse_hello_verify_request() local
1979 mbedtls_ssl_read_version( &major_ver, &minor_ver, ssl->conf->transport, p ); in ssl_parse_hello_verify_request()
1986 if( major_ver < MBEDTLS_SSL_MAJOR_VERSION_3 || in ssl_parse_hello_verify_request()
1988 major_ver > ssl->conf->max_major_ver || in ssl_parse_hello_verify_request()
2134 mbedtls_ssl_read_version( &ssl->major_ver, &ssl->minor_ver, in ssl_parse_server_hello()
2137 if( ssl->major_ver < ssl->conf->min_major_ver || in ssl_parse_server_hello()
2139 ssl->major_ver > ssl->conf->max_major_ver || in ssl_parse_server_hello()
2146 ssl->major_ver, ssl->minor_ver, in ssl_parse_server_hello()
Dssl_msg.c2728 mbedtls_ssl_write_version( ssl->major_ver, ssl->minor_ver, in mbedtls_ssl_write_record()
2744 mbedtls_ssl_write_version( ssl->major_ver, ssl->minor_ver, in mbedtls_ssl_write_record()
3467 int major_ver, minor_ver; in ssl_parse_record_header() local
3577 mbedtls_ssl_read_version( &major_ver, &minor_ver, in ssl_parse_record_header()
3581 if( major_ver != ssl->major_ver ) in ssl_parse_record_header()
3623 major_ver, minor_ver, rec->data_len ) ); in ssl_parse_record_header()
Dssl_tls.c6308 if( ssl->major_ver != MBEDTLS_SSL_MAJOR_VERSION_3 ) in mbedtls_ssl_context_save()
6745 ssl->major_ver = MBEDTLS_SSL_MAJOR_VERSION_3; in ssl_context_load()
/openthread-3.4.0/third_party/mbedtls/repo/include/mbedtls/
Dssl.h1285 int major_ver; /*!< equal to MBEDTLS_SSL_MAJOR_VERSION_3 */ member