Home
last modified time | relevance | path

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

/openssl/ssl/quic/
H A Dquic_record_util.c217 switch (suite_id) { in get_suite()
231 const struct suite_info *c = get_suite(suite_id); in ossl_qrl_get_suite_cipher_name()
237 const struct suite_info *c = get_suite(suite_id); in ossl_qrl_get_suite_md_name()
243 const struct suite_info *c = get_suite(suite_id); in ossl_qrl_get_suite_secret_len()
249 const struct suite_info *c = get_suite(suite_id); in ossl_qrl_get_suite_cipher_key_len()
255 const struct suite_info *c = get_suite(suite_id); in ossl_qrl_get_suite_cipher_iv_len()
261 const struct suite_info *c = get_suite(suite_id); in ossl_qrl_get_suite_cipher_tag_len()
267 const struct suite_info *c = get_suite(suite_id); in ossl_qrl_get_suite_hdr_prot_cipher_id()
273 const struct suite_info *c = get_suite(suite_id); in ossl_qrl_get_suite_hdr_prot_key_len()
279 const struct suite_info *c = get_suite(suite_id); in ossl_qrl_get_suite_max_pkt()
[all …]
H A Dquic_record_shared.c122 cipher_name = ossl_qrl_get_suite_cipher_name(el->suite_id); in el_setup_keyslot()
123 iv_len = ossl_qrl_get_suite_cipher_iv_len(el->suite_id); in el_setup_keyslot()
124 key_len = ossl_qrl_get_suite_cipher_key_len(el->suite_id); in el_setup_keyslot()
130 if (secret_len != ossl_qrl_get_suite_secret_len(el->suite_id) in el_setup_keyslot()
200 uint32_t suite_id, in ossl_qrl_enc_level_set_provide_secret() argument
210 const char *md_name = ossl_qrl_get_suite_md_name(suite_id); in ossl_qrl_enc_level_set_provide_secret()
239 hpr_key_len = ossl_qrl_get_suite_hdr_prot_key_len(suite_id); in ossl_qrl_enc_level_set_provide_secret()
258 el->suite_id = suite_id; in ossl_qrl_enc_level_set_provide_secret()
331 el->suite_id = 0; in ossl_qrl_enc_level_set_provide_secret()
375 secret_len = ossl_qrl_get_suite_secret_len(el->suite_id); in ossl_qrl_enc_level_set_key_update()
[all …]
H A Dquic_record_shared.h66 uint32_t suite_id; member
113 uint32_t suite_id,
H A Dquic_tls.c108 uint32_t suite_id = 0; in quic_new_record_layer() local
165 suite_id = QRL_SUITE_AES128GCM; in quic_new_record_layer()
167 suite_id = QRL_SUITE_AES256GCM; in quic_new_record_layer()
169 suite_id = QRL_SUITE_CHACHA20POLY1305; in quic_new_record_layer()
182 if (!rl->qtls->args.yield_secret_cb(enc_level, qdir, suite_id, in quic_new_record_layer()
H A Dquic_record_tx.c182 uint32_t suite_id, in ossl_qtx_provide_secret() argument
194 suite_id, in ossl_qtx_provide_secret()
421 tag_len = ossl_qrl_get_suite_cipher_tag_len(el->suite_id); in ossl_qtx_calculate_ciphertext_payload_len()
441 tag_len = ossl_qrl_get_suite_cipher_tag_len(el->suite_id); in ossl_qtx_calculate_plaintext_payload_len()
510 if (el->op_count >= ossl_qrl_get_suite_max_pkt(el->suite_id)) { in qtx_encrypt_into_txe()
1077 return ossl_qrl_get_suite_max_pkt(el->suite_id); in ossl_qtx_get_max_epoch_pkt_count()
H A Dquic_record_rx.c267 uint32_t suite_id, EVP_MD *md, in ossl_qrx_provide_secret() argument
277 suite_id, in ossl_qrx_provide_secret()
688 if (qrx->forged_pkt_count >= ossl_qrl_get_suite_max_forged_pkt(el->suite_id)) in qrx_decrypt_pkt_body()
1335 : ossl_qrl_get_suite_max_forged_pkt(el->suite_id); in ossl_qrx_get_max_forged_pkt_count()
H A Dquic_channel.c72 uint32_t suite_id, EVP_MD *md,
950 uint32_t suite_id, EVP_MD *md, in ch_on_handshake_yield_secret() argument
973 suite_id, md, in ch_on_handshake_yield_secret()
1001 suite_id, md, in ch_on_handshake_yield_secret()
/openssl/include/internal/
H A Dquic_record_util.h79 const char *ossl_qrl_get_suite_cipher_name(uint32_t suite_id);
82 const char *ossl_qrl_get_suite_md_name(uint32_t suite_id);
85 uint32_t ossl_qrl_get_suite_secret_len(uint32_t suite_id);
88 uint32_t ossl_qrl_get_suite_cipher_key_len(uint32_t suite_id);
91 uint32_t ossl_qrl_get_suite_cipher_iv_len(uint32_t suite_id);
94 uint32_t ossl_qrl_get_suite_cipher_tag_len(uint32_t suite_id);
97 uint32_t ossl_qrl_get_suite_hdr_prot_cipher_id(uint32_t suite_id);
100 uint32_t ossl_qrl_get_suite_hdr_prot_key_len(uint32_t suite_id);
106 uint64_t ossl_qrl_get_suite_max_pkt(uint32_t suite_id);
112 uint64_t ossl_qrl_get_suite_max_forged_pkt(uint32_t suite_id);
H A Dquic_record_tx.h116 uint32_t suite_id,
153 uint32_t ossl_qrl_get_suite_cipher_tag_len(uint32_t suite_id);
H A Dquic_tls.h50 uint32_t suite_id, EVP_MD *md,
H A Dquic_record_rx.h161 uint32_t suite_id,
/openssl/test/
H A Dquic_record_test.c43 uint32_t enc_level, suite_id; member
1830 op->suite_id, NULL, in rx_run_script()
3011 uint32_t enc_level, suite_id; member
3627 op->suite_id, NULL, in tx_run_script()
3634 (int)op->suite_id, in tx_run_script()
/openssl/doc/designs/quic-design/
H A Dquic-tls.md79 uint32_t suite_id, EVP_MD *md,

Completed in 58 milliseconds