Home
last modified time | relevance | path

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

/openssl/ssl/quic/
H A Dquic_wire_pkt.c710 int64_t expected_pn, truncated_pn, candidate_pn, pn_win, pn_hwin, pn_mask; in ossl_quic_wire_decode_pkt_hdr_pn() local
740 candidate_pn = (expected_pn & ~pn_mask) | truncated_pn; in ossl_quic_wire_decode_pkt_hdr_pn()
741 if (candidate_pn <= expected_pn - pn_hwin in ossl_quic_wire_decode_pkt_hdr_pn()
742 && candidate_pn < (((int64_t)1) << 62) - pn_win) in ossl_quic_wire_decode_pkt_hdr_pn()
743 *res_pn = candidate_pn + pn_win; in ossl_quic_wire_decode_pkt_hdr_pn()
744 else if (candidate_pn > expected_pn + pn_hwin in ossl_quic_wire_decode_pkt_hdr_pn()
745 && candidate_pn >= pn_win) in ossl_quic_wire_decode_pkt_hdr_pn()
746 *res_pn = candidate_pn - pn_win; in ossl_quic_wire_decode_pkt_hdr_pn()
748 *res_pn = candidate_pn; in ossl_quic_wire_decode_pkt_hdr_pn()

Completed in 6 milliseconds