Home
last modified time | relevance | path

Searched refs:server_name_list (Results 1 – 2 of 2) sorted by relevance

/external/boringssl/src/ssl/
Dt1_lib.cc608 CBB contents, server_name_list, name; in ext_sni_add_clienthello() local
611 !CBB_add_u16_length_prefixed(&contents, &server_name_list) || in ext_sni_add_clienthello()
612 !CBB_add_u8(&server_name_list, TLSEXT_NAMETYPE_host_name) || in ext_sni_add_clienthello()
613 !CBB_add_u16_length_prefixed(&server_name_list, &name) || in ext_sni_add_clienthello()
637 CBS server_name_list, host_name; in ext_sni_parse_clienthello() local
639 if (!CBS_get_u16_length_prefixed(contents, &server_name_list) || in ext_sni_parse_clienthello()
640 !CBS_get_u8(&server_name_list, &name_type) || in ext_sni_parse_clienthello()
648 !CBS_get_u16_length_prefixed(&server_name_list, &host_name) || in ext_sni_parse_clienthello()
649 CBS_len(&server_name_list) != 0 || in ext_sni_parse_clienthello()
/external/boringssl/src/ssl/test/
Dtest_config.cc1105 CBS extension, server_name_list, host_name; in SelectCertificateCallback() local
1116 if (!CBS_get_u16_length_prefixed(&extension, &server_name_list) || in SelectCertificateCallback()
1118 !CBS_get_u8(&server_name_list, &name_type) || in SelectCertificateCallback()
1120 !CBS_get_u16_length_prefixed(&server_name_list, &host_name) || in SelectCertificateCallback()
1121 CBS_len(&server_name_list) != 0) { in SelectCertificateCallback()