Lines Matching refs:enc_level
181 uint32_t enc_level, in ossl_qtx_provide_secret() argument
187 if (enc_level >= QUIC_ENC_LEVEL_NUM) in ossl_qtx_provide_secret()
193 enc_level, in ossl_qtx_provide_secret()
202 int ossl_qtx_discard_enc_level(OSSL_QTX *qtx, uint32_t enc_level) in ossl_qtx_discard_enc_level() argument
204 if (enc_level >= QUIC_ENC_LEVEL_NUM) in ossl_qtx_discard_enc_level()
207 ossl_qrl_enc_level_set_discard(&qtx->el_set, enc_level); in ossl_qtx_discard_enc_level()
211 int ossl_qtx_is_enc_level_provisioned(OSSL_QTX *qtx, uint32_t enc_level) in ossl_qtx_is_enc_level_provisioned() argument
213 return ossl_qrl_enc_level_set_get(&qtx->el_set, enc_level, 1) != NULL; in ossl_qtx_is_enc_level_provisioned()
404 int ossl_qtx_calculate_ciphertext_payload_len(OSSL_QTX *qtx, uint32_t enc_level, in ossl_qtx_calculate_ciphertext_payload_len() argument
409 = ossl_qrl_enc_level_set_get(&qtx->el_set, enc_level, 1); in ossl_qtx_calculate_ciphertext_payload_len()
428 int ossl_qtx_calculate_plaintext_payload_len(OSSL_QTX *qtx, uint32_t enc_level, in ossl_qtx_calculate_plaintext_payload_len() argument
433 = ossl_qrl_enc_level_set_get(&qtx->el_set, enc_level, 1); in ossl_qtx_calculate_plaintext_payload_len()
489 uint32_t enc_level, QUIC_PN pn, in qtx_encrypt_into_txe() argument
495 = ossl_qrl_enc_level_set_get(&qtx->el_set, enc_level, 1); in qtx_encrypt_into_txe()
600 uint32_t enc_level, QUIC_PKT_HDR *hdr, in qtx_write() argument
621 el = ossl_qrl_enc_level_set_get(&qtx->el_set, enc_level, 1); in qtx_write()
649 ossl_qtx_calculate_ciphertext_payload_len(qtx, enc_level, in qtx_write()
708 if (!qtx_encrypt_into_txe(qtx, &cur, txe, enc_level, pkt->pn, in qtx_write()
755 uint32_t enc_level) in qtx_mutate_write() argument
773 ret = qtx_write(qtx, pkt, txe, enc_level, in qtx_mutate_write()
799 uint32_t enc_level; in ossl_qtx_write_pkt() local
805 enc_level = ossl_quic_pkt_type_to_enc_level(pkt->hdr->type); in ossl_qtx_write_pkt()
810 else if (enc_level >= QUIC_ENC_LEVEL_NUM in ossl_qtx_write_pkt()
811 || ossl_qrl_enc_level_set_have_el(&qtx->el_set, enc_level) != 1) { in ossl_qtx_write_pkt()
856 ret = qtx_mutate_write(qtx, pkt, txe, enc_level); in ossl_qtx_write_pkt()
1058 uint64_t ossl_qtx_get_cur_epoch_pkt_count(OSSL_QTX *qtx, uint32_t enc_level) in ossl_qtx_get_cur_epoch_pkt_count() argument
1062 el = ossl_qrl_enc_level_set_get(&qtx->el_set, enc_level, 1); in ossl_qtx_get_cur_epoch_pkt_count()
1069 uint64_t ossl_qtx_get_max_epoch_pkt_count(OSSL_QTX *qtx, uint32_t enc_level) in ossl_qtx_get_max_epoch_pkt_count() argument
1073 el = ossl_qrl_enc_level_set_get(&qtx->el_set, enc_level, 1); in ossl_qtx_get_max_epoch_pkt_count()