Lines Matching refs:enc_level

266 int ossl_qrx_provide_secret(OSSL_QRX *qrx, uint32_t enc_level,  in ossl_qrx_provide_secret()  argument
270 if (enc_level >= QUIC_ENC_LEVEL_NUM) in ossl_qrx_provide_secret()
276 enc_level, in ossl_qrx_provide_secret()
294 int ossl_qrx_discard_enc_level(OSSL_QRX *qrx, uint32_t enc_level) in ossl_qrx_discard_enc_level() argument
296 if (enc_level >= QUIC_ENC_LEVEL_NUM) in ossl_qrx_discard_enc_level()
299 ossl_qrl_enc_level_set_discard(&qrx->el_set, enc_level); in ossl_qrx_discard_enc_level()
490 uint32_t enc_level; in rxe_determine_pn_space() local
492 enc_level = qrx_determine_enc_level(&rxe->hdr); in rxe_determine_pn_space()
493 return ossl_quic_enc_level_to_pn_space(enc_level); in rxe_determine_pn_space()
560 uint32_t enc_level, in qrx_get_cipher_ctx_idx() argument
569 if (enc_level != QUIC_ENC_LEVEL_1RTT) { in qrx_get_cipher_ctx_idx()
663 QUIC_PN pn, uint32_t enc_level, in qrx_decrypt_pkt_body() argument
671 enc_level, 1); in qrx_decrypt_pkt_body()
691 cctx_idx = qrx_get_cipher_ctx_idx(qrx, el, enc_level, key_phase_bit, in qrx_decrypt_pkt_body()
794 uint32_t pn_space, enc_level; in qrx_process_pkt() local
883 enc_level = qrx_determine_enc_level(&rxe->hdr); in qrx_process_pkt()
886 switch (ossl_qrl_enc_level_set_have_el(&qrx->el_set, enc_level)) { in qrx_process_pkt()
889 if (enc_level == QUIC_ENC_LEVEL_1RTT && !qrx->allow_1rtt) in qrx_process_pkt()
939 el = ossl_qrl_enc_level_set_get(&qrx->el_set, enc_level, 1); in qrx_process_pkt()
1000 &dec_len, sop, aad_len, rxe->pn, enc_level, in qrx_process_pkt()
1329 uint32_t enc_level) in ossl_qrx_get_max_forged_pkt_count() argument
1332 enc_level, 1); in ossl_qrx_get_max_forged_pkt_count()