Lines Matching refs:WPACKET_put_bytes_u16

873             || !WPACKET_put_bytes_u16(&hrrpkt, TLS1_2_VERSION)  in tls_parse_ctos_cookie()
885 if (!WPACKET_put_bytes_u16(&hrrpkt, TLSEXT_TYPE_supported_versions) in tls_parse_ctos_cookie()
887 || !WPACKET_put_bytes_u16(&hrrpkt, s->version) in tls_parse_ctos_cookie()
894 if (!WPACKET_put_bytes_u16(&hrrpkt, TLSEXT_TYPE_key_share) in tls_parse_ctos_cookie()
896 || !WPACKET_put_bytes_u16(&hrrpkt, s->s3.group_id) in tls_parse_ctos_cookie()
903 if (!WPACKET_put_bytes_u16(&hrrpkt, TLSEXT_TYPE_cookie) in tls_parse_ctos_cookie()
1294 if (!WPACKET_put_bytes_u16(pkt, TLSEXT_TYPE_renegotiate) in tls_construct_stoc_renegotiate()
1324 if (!WPACKET_put_bytes_u16(pkt, TLSEXT_TYPE_server_name) in tls_construct_stoc_server_name()
1325 || !WPACKET_put_bytes_u16(pkt, 0)) { in tls_construct_stoc_server_name()
1345 if (!WPACKET_put_bytes_u16(pkt, TLSEXT_TYPE_max_fragment_length) in tls_construct_stoc_maxfragmentlen()
1371 if (!WPACKET_put_bytes_u16(pkt, TLSEXT_TYPE_ec_point_formats) in tls_construct_stoc_ec_pt_formats()
1417 if (!WPACKET_put_bytes_u16(pkt, TLSEXT_TYPE_supported_groups) in tls_construct_stoc_supported_groups()
1427 if (!WPACKET_put_bytes_u16(pkt, group)) { in tls_construct_stoc_supported_groups()
1451 if (!WPACKET_put_bytes_u16(pkt, TLSEXT_TYPE_session_ticket) in tls_construct_stoc_session_ticket()
1452 || !WPACKET_put_bytes_u16(pkt, 0)) { in tls_construct_stoc_session_ticket()
1475 if (!WPACKET_put_bytes_u16(pkt, TLSEXT_TYPE_status_request) in tls_construct_stoc_status_request()
1517 if (!WPACKET_put_bytes_u16(pkt, TLSEXT_TYPE_next_proto_neg) in tls_construct_stoc_next_proto_neg()
1536 if (!WPACKET_put_bytes_u16(pkt, in tls_construct_stoc_alpn()
1559 if (!WPACKET_put_bytes_u16(pkt, TLSEXT_TYPE_use_srtp) in tls_construct_stoc_use_srtp()
1561 || !WPACKET_put_bytes_u16(pkt, 2) in tls_construct_stoc_use_srtp()
1562 || !WPACKET_put_bytes_u16(pkt, s->srtp_profile->id) in tls_construct_stoc_use_srtp()
1594 if (!WPACKET_put_bytes_u16(pkt, TLSEXT_TYPE_encrypt_then_mac) in tls_construct_stoc_etm()
1595 || !WPACKET_put_bytes_u16(pkt, 0)) { in tls_construct_stoc_etm()
1610 if (!WPACKET_put_bytes_u16(pkt, TLSEXT_TYPE_extended_master_secret) in tls_construct_stoc_ems()
1611 || !WPACKET_put_bytes_u16(pkt, 0)) { in tls_construct_stoc_ems()
1628 if (!WPACKET_put_bytes_u16(pkt, TLSEXT_TYPE_supported_versions) in tls_construct_stoc_supported_versions()
1630 || !WPACKET_put_bytes_u16(pkt, s->version) in tls_construct_stoc_supported_versions()
1654 if (!WPACKET_put_bytes_u16(pkt, TLSEXT_TYPE_key_share) in tls_construct_stoc_key_share()
1656 || !WPACKET_put_bytes_u16(pkt, s->s3.group_id) in tls_construct_stoc_key_share()
1684 if (!WPACKET_put_bytes_u16(pkt, TLSEXT_TYPE_key_share) in tls_construct_stoc_key_share()
1686 || !WPACKET_put_bytes_u16(pkt, s->s3.group_id)) { in tls_construct_stoc_key_share()
1798 if (!WPACKET_put_bytes_u16(pkt, TLSEXT_TYPE_cookie) in tls_construct_stoc_cookie()
1803 || !WPACKET_put_bytes_u16(pkt, COOKIE_STATE_FORMAT_VERSION) in tls_construct_stoc_cookie()
1804 || !WPACKET_put_bytes_u16(pkt, TLS1_3_VERSION) in tls_construct_stoc_cookie()
1805 || !WPACKET_put_bytes_u16(pkt, s->s3.group_id) in tls_construct_stoc_cookie()
1939 if (!WPACKET_put_bytes_u16(pkt, TLSEXT_TYPE_early_data) in tls_construct_stoc_early_data()
1953 if (!WPACKET_put_bytes_u16(pkt, TLSEXT_TYPE_early_data) in tls_construct_stoc_early_data()
1970 if (!WPACKET_put_bytes_u16(pkt, TLSEXT_TYPE_psk) in tls_construct_stoc_psk()
1972 || !WPACKET_put_bytes_u16(pkt, s->ext.tick_identity) in tls_construct_stoc_psk()
2011 if (!WPACKET_put_bytes_u16(pkt, TLSEXT_TYPE_client_cert_type) in tls_construct_stoc_client_cert_type()
2092 if (!WPACKET_put_bytes_u16(pkt, TLSEXT_TYPE_server_cert_type) in tls_construct_stoc_server_cert_type()