Home
last modified time | relevance | path

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

/src/crypto/openssl/crypto/
H A Dquic_vlint.c37 uint8_t first_byte = buf[0]; in ossl_quic_vlint_decode_unchecked() local
38 size_t sz = ossl_quic_vlint_decode_len(first_byte); in ossl_quic_vlint_decode_unchecked()
41 return first_byte & 0x3F; in ossl_quic_vlint_decode_unchecked()
44 return ((uint64_t)(first_byte & 0x3F) << 8) in ossl_quic_vlint_decode_unchecked()
48 return ((uint64_t)(first_byte & 0x3F) << 24) in ossl_quic_vlint_decode_unchecked()
53 return ((uint64_t)(first_byte & 0x3F) << 56) in ossl_quic_vlint_decode_unchecked()
/src/sys/contrib/dpdk_rte_lpm/
H A Drte_lpm6.c582 get_bitshift(const uint8_t *ip, uint8_t first_byte, uint8_t bytes) in get_bitshift() argument
588 for (i = first_byte; i < (uint32_t)(first_byte + bytes); i++) { in get_bitshift()
609 uint8_t bytes, uint8_t first_byte, uint8_t depth, in simulate_add_step() argument
620 entry_ind = get_bitshift(ip, first_byte, bytes); in simulate_add_step()
623 bits_covered = (uint8_t)((bytes+first_byte-1)*BYTE_SIZE); in simulate_add_step()
662 uint8_t first_byte, uint8_t depth, uint32_t next_hop, in add_step() argument
674 entry_ind = get_bitshift(ip, first_byte, bytes); in add_step()
677 bits_covered = (uint8_t)((bytes+first_byte-1)*BYTE_SIZE); in add_step()
925 uint8_t first_byte, uint32_t *next_hop) in lookup_step() argument
936 tbl8_index = ip[first_byte-1] + in lookup_step()
[all …]
/src/crypto/openssl/include/internal/
H A Dquic_vlint.h97 static ossl_unused ossl_inline size_t ossl_quic_vlint_decode_len(uint8_t first_byte) in ossl_quic_vlint_decode_len() argument
99 return 1U << ((first_byte & 0xC0) >> 6); in ossl_quic_vlint_decode_len()
H A Dquic_wire_pkt.h253 unsigned char *first_byte,
263 unsigned char *first_byte,
/src/crypto/openssl/ssl/quic/
H A Dquic_wire_pkt.c139 unsigned char *first_byte, in ossl_quic_hdr_protector_decrypt_fields() argument
147 *first_byte ^= mask[0] & ((*first_byte & 0x80) != 0 ? 0xf : 0x1f); in ossl_quic_hdr_protector_decrypt_fields()
148 pn_len = (*first_byte & 0x3) + 1; in ossl_quic_hdr_protector_decrypt_fields()
169 unsigned char *first_byte, in ossl_quic_hdr_protector_encrypt_fields() argument
177 pn_len = (*first_byte & 0x3) + 1; in ossl_quic_hdr_protector_encrypt_fields()
181 *first_byte ^= mask[0] & ((*first_byte & 0x80) != 0 ? 0xf : 0x1f); in ossl_quic_hdr_protector_encrypt_fields()