Searched refs:hpr (Results 1 – 7 of 7) sorted by relevance
/openssl/ssl/quic/ |
H A D | quic_wire_pkt.c | 39 if (hpr->cipher_ctx == NULL) { in ossl_quic_hdr_protector_init() 45 if (hpr->cipher == NULL in ossl_quic_hdr_protector_init() 51 if (!EVP_CipherInit_ex(hpr->cipher_ctx, hpr->cipher, NULL, in ossl_quic_hdr_protector_init() 57 hpr->libctx = libctx; in ossl_quic_hdr_protector_init() 58 hpr->propq = propq; in ossl_quic_hdr_protector_init() 59 hpr->cipher_id = cipher_id; in ossl_quic_hdr_protector_init() 63 ossl_quic_hdr_protector_cleanup(hpr); in ossl_quic_hdr_protector_init() 69 EVP_CIPHER_CTX_free(hpr->cipher_ctx); in ossl_quic_hdr_protector_cleanup() 70 hpr->cipher_ctx = NULL; in ossl_quic_hdr_protector_cleanup() 72 EVP_CIPHER_free(hpr->cipher); in ossl_quic_hdr_protector_cleanup() [all …]
|
H A D | quic_record_shared.h | 43 QUIC_HDR_PROTECTOR hpr; member
|
H A D | quic_record_shared.c | 313 if (!ossl_quic_hdr_protector_init(&el->hpr, in ossl_qrl_enc_level_set_provide_secret() 480 ossl_quic_hdr_protector_cleanup(&el->hpr); in ossl_qrl_enc_level_set_discard()
|
H A D | quic_record_tx.c | 588 if (!ossl_quic_hdr_protector_encrypt(&el->hpr, ptrs)) in qtx_encrypt_into_txe()
|
H A D | quic_record_rx.c | 943 if (!ossl_quic_hdr_protector_decrypt(&el->hpr, &ptrs)) in qrx_process_pkt()
|
/openssl/include/internal/ |
H A D | quic_wire_pkt.h | 188 int ossl_quic_hdr_protector_init(QUIC_HDR_PROTECTOR *hpr, 200 void ossl_quic_hdr_protector_cleanup(QUIC_HDR_PROTECTOR *hpr); 214 int ossl_quic_hdr_protector_decrypt(QUIC_HDR_PROTECTOR *hpr, 227 int ossl_quic_hdr_protector_encrypt(QUIC_HDR_PROTECTOR *hpr, 250 int ossl_quic_hdr_protector_decrypt_fields(QUIC_HDR_PROTECTOR *hpr, 260 int ossl_quic_hdr_protector_encrypt_fields(QUIC_HDR_PROTECTOR *hpr,
|
/openssl/test/ |
H A D | quic_record_test.c | 2761 QUIC_HDR_PROTECTOR hpr = {0}; in test_wire_pkt_hdr_actual() local 2852 if (!TEST_true(ossl_quic_hdr_protector_init(&hpr, NULL, NULL, in test_wire_pkt_hdr_actual() 2874 if (!TEST_true(ossl_quic_hdr_protector_encrypt(&hpr, &ptrs))) in test_wire_pkt_hdr_actual() 2912 if (!TEST_true(ossl_quic_hdr_protector_decrypt(&hpr, &ptrs))) in test_wire_pkt_hdr_actual() 2923 ossl_quic_hdr_protector_cleanup(&hpr); in test_wire_pkt_hdr_actual()
|
Completed in 49 milliseconds