Lines Matching refs:b0

192     unsigned int b0;  in ossl_quic_wire_decode_pkt_hdr()  local
204 || !PACKET_get_1(pkt, &b0)) in ossl_quic_wire_decode_pkt_hdr()
211 if ((b0 & 0x80) == 0) { in ossl_quic_wire_decode_pkt_hdr()
216 if ((b0 & 0x40) == 0 /* fixed bit not set? */ in ossl_quic_wire_decode_pkt_hdr()
222 hdr->spin_bit = (b0 & 0x20) != 0; in ossl_quic_wire_decode_pkt_hdr()
228 hdr->key_phase = (b0 & 0x04) != 0; in ossl_quic_wire_decode_pkt_hdr()
229 hdr->pn_len = (b0 & 0x03) + 1; in ossl_quic_wire_decode_pkt_hdr()
230 hdr->reserved = (b0 & 0x18) >> 3; in ossl_quic_wire_decode_pkt_hdr()
287 if (version != 0 && (b0 & 0x40) == 0) in ossl_quic_wire_decode_pkt_hdr()
309 hdr->fixed = (b0 & 0x40) != 0; in ossl_quic_wire_decode_pkt_hdr()
342 raw_type = ((b0 >> 4) & 0x3); in ossl_quic_wire_decode_pkt_hdr()
392 hdr->unused = b0 & 0x0f; in ossl_quic_wire_decode_pkt_hdr()
403 hdr->pn_len = partial ? 0 : ((b0 & 0x03) + 1); in ossl_quic_wire_decode_pkt_hdr()
404 hdr->reserved = partial ? 0 : ((b0 & 0x0C) >> 2); in ossl_quic_wire_decode_pkt_hdr()
462 unsigned char b0; in ossl_quic_wire_encode_pkt_hdr() local
497 b0 = (hdr->spin_bit << 5) in ossl_quic_wire_encode_pkt_hdr()
503 if (!WPACKET_put_bytes_u8(pkt, b0) in ossl_quic_wire_encode_pkt_hdr()
537 b0 = (raw_type << 4) | 0x80; /* long */ in ossl_quic_wire_encode_pkt_hdr()
539 b0 |= 0x40; /* fixed */ in ossl_quic_wire_encode_pkt_hdr()
541 b0 |= hdr->pn_len - 1; in ossl_quic_wire_encode_pkt_hdr()
542 b0 |= (hdr->reserved << 2); in ossl_quic_wire_encode_pkt_hdr()
545 b0 |= hdr->unused; in ossl_quic_wire_encode_pkt_hdr()
547 if (!WPACKET_put_bytes_u8(pkt, b0) in ossl_quic_wire_encode_pkt_hdr()
660 unsigned char b0; in ossl_quic_wire_get_pkt_hdr_dst_conn_id() local
667 b0 = buf[0]; in ossl_quic_wire_get_pkt_hdr_dst_conn_id()
668 if ((b0 & 0x80) != 0) { in ossl_quic_wire_get_pkt_hdr_dst_conn_id()
679 if ((buf[1] || buf[2] || buf[3] || buf[4]) && (b0 & 0x40) == 0) in ossl_quic_wire_get_pkt_hdr_dst_conn_id()
692 if ((b0 & 0x40) == 0) in ossl_quic_wire_get_pkt_hdr_dst_conn_id()