Lines Matching refs:minor_ver

523     if( ssl->minor_ver == MBEDTLS_SSL_MINOR_VERSION_0 )  in mbedtls_ssl_derive_keys()
532 if( ssl->minor_ver < MBEDTLS_SSL_MINOR_VERSION_3 ) in mbedtls_ssl_derive_keys()
542 if( ssl->minor_ver == MBEDTLS_SSL_MINOR_VERSION_3 && in mbedtls_ssl_derive_keys()
552 if( ssl->minor_ver == MBEDTLS_SSL_MINOR_VERSION_3 ) in mbedtls_ssl_derive_keys()
592 if( ssl->minor_ver == MBEDTLS_SSL_MINOR_VERSION_3 ) in mbedtls_ssl_derive_keys()
745 if( ssl->minor_ver == MBEDTLS_SSL_MINOR_VERSION_0 || in mbedtls_ssl_derive_keys()
746 ssl->minor_ver == MBEDTLS_SSL_MINOR_VERSION_1 ) in mbedtls_ssl_derive_keys()
751 if( ssl->minor_ver == MBEDTLS_SSL_MINOR_VERSION_2 || in mbedtls_ssl_derive_keys()
752 ssl->minor_ver == MBEDTLS_SSL_MINOR_VERSION_3 ) in mbedtls_ssl_derive_keys()
818 if( ssl->minor_ver == MBEDTLS_SSL_MINOR_VERSION_0 ) in mbedtls_ssl_derive_keys()
833 if( ssl->minor_ver >= MBEDTLS_SSL_MINOR_VERSION_1 ) in mbedtls_ssl_derive_keys()
1283 if( ssl->minor_ver == MBEDTLS_SSL_MINOR_VERSION_0 ) in ssl_encrypt_buf()
1294 if( ssl->minor_ver >= MBEDTLS_SSL_MINOR_VERSION_1 ) in ssl_encrypt_buf()
1365 mbedtls_ssl_write_version( ssl->major_ver, ssl->minor_ver, in ssl_encrypt_buf()
1456 if( ssl->minor_ver >= MBEDTLS_SSL_MINOR_VERSION_2 ) in ssl_encrypt_buf()
1500 if( ssl->minor_ver < MBEDTLS_SSL_MINOR_VERSION_2 ) in ssl_encrypt_buf()
1648 mbedtls_ssl_write_version( ssl->major_ver, ssl->minor_ver, in ssl_decrypt_buf()
1710 if( ssl->minor_ver >= MBEDTLS_SSL_MINOR_VERSION_2 ) in ssl_decrypt_buf()
1785 if( ssl->minor_ver >= MBEDTLS_SSL_MINOR_VERSION_2 ) in ssl_decrypt_buf()
1812 if( ssl->minor_ver < MBEDTLS_SSL_MINOR_VERSION_2 ) in ssl_decrypt_buf()
1837 if( ssl->minor_ver == MBEDTLS_SSL_MINOR_VERSION_0 ) in ssl_decrypt_buf()
1853 if( ssl->minor_ver > MBEDTLS_SSL_MINOR_VERSION_0 ) in ssl_decrypt_buf()
1931 if( ssl->minor_ver == MBEDTLS_SSL_MINOR_VERSION_0 ) in ssl_decrypt_buf()
1942 if( ssl->minor_ver > MBEDTLS_SSL_MINOR_VERSION_0 ) in ssl_decrypt_buf()
2562 ssl->minor_ver >= MBEDTLS_SSL_MINOR_VERSION_2 ) in ssl_swap_epochs()
2814 mbedtls_ssl_write_version( ssl->major_ver, ssl->minor_ver, in mbedtls_ssl_write_record()
3477 int major_ver, minor_ver; in ssl_parse_record_header() local
3483 mbedtls_ssl_read_version( &major_ver, &minor_ver, ssl->conf->transport, ssl->in_hdr + 1 ); in ssl_parse_record_header()
3488 major_ver, minor_ver, ssl->in_msglen ) ); in ssl_parse_record_header()
3515 if( minor_ver > ssl->conf->max_minor_ver ) in ssl_parse_record_header()
3548 if( ssl->minor_ver == MBEDTLS_SSL_MINOR_VERSION_0 && in ssl_parse_record_header()
3560 if( ssl->minor_ver >= MBEDTLS_SSL_MINOR_VERSION_1 && in ssl_parse_record_header()
3991 if( ssl->minor_ver == MBEDTLS_SSL_MINOR_VERSION_0 && in mbedtls_ssl_handle_message_type()
4135 ssl->minor_ver == MBEDTLS_SSL_MINOR_VERSION_0 ) in mbedtls_ssl_write_certificate()
4273 ssl->minor_ver == MBEDTLS_SSL_MINOR_VERSION_0 ) in mbedtls_ssl_parse_certificate()
4294 ssl->minor_ver != MBEDTLS_SSL_MINOR_VERSION_0 ) in mbedtls_ssl_parse_certificate()
4578 if( ssl->minor_ver >= MBEDTLS_SSL_MINOR_VERSION_2 ) in mbedtls_ssl_parse_change_cipher_spec()
4611 if( ssl->minor_ver < MBEDTLS_SSL_MINOR_VERSION_3 ) in mbedtls_ssl_optimize_checksum()
5036 if( ssl->minor_ver >= MBEDTLS_SSL_MINOR_VERSION_2 ) in mbedtls_ssl_write_finished()
5052 hash_len = ( ssl->minor_ver == MBEDTLS_SSL_MINOR_VERSION_0 ) ? 36 : 12; in mbedtls_ssl_write_finished()
5175 if( ssl->minor_ver == MBEDTLS_SSL_MINOR_VERSION_0 ) in mbedtls_ssl_parse_finished()
6188 switch( ssl->minor_ver ) in mbedtls_ssl_get_version()
6202 switch( ssl->minor_ver ) in mbedtls_ssl_get_version()
6631 if( ssl->minor_ver == MBEDTLS_SSL_MINOR_VERSION_0 ) in mbedtls_ssl_read()
6643 if( ssl->minor_ver >= MBEDTLS_SSL_MINOR_VERSION_1 ) in mbedtls_ssl_read()
6825 ssl->minor_ver > MBEDTLS_SSL_MINOR_VERSION_1 || in ssl_write_split()
7639 if( ssl->minor_ver != MBEDTLS_SSL_MINOR_VERSION_3 ) in mbedtls_ssl_set_calc_verify_md()