Searched refs:hpr (Results 1 – 8 of 8) sorted by relevance
| /freebsd/crypto/openssl/ssl/quic/ |
| H A D | quic_wire_pkt.c | 14 int ossl_quic_hdr_protector_init(QUIC_HDR_PROTECTOR *hpr, in ossl_quic_hdr_protector_init() argument 38 hpr->cipher_ctx = EVP_CIPHER_CTX_new(); in ossl_quic_hdr_protector_init() 39 if (hpr->cipher_ctx == NULL) { in ossl_quic_hdr_protector_init() 44 hpr->cipher = EVP_CIPHER_fetch(libctx, cipher_name, propq); in ossl_quic_hdr_protector_init() 45 if (hpr->cipher == NULL in ossl_quic_hdr_protector_init() 46 || quic_hp_key_len != (size_t)EVP_CIPHER_get_key_length(hpr->cipher)) { 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() [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_rx.c | 373 if (!ossl_quic_hdr_protector_decrypt(&el->hpr, &ptrs)) in qrx_validate_initial_pkt() 1174 if (!ossl_quic_hdr_protector_decrypt(&el->hpr, &ptrs)) in qrx_process_pkt()
|
| H A D | quic_record_tx.c | 590 if (!ossl_quic_hdr_protector_encrypt(&el->hpr, ptrs)) in qtx_encrypt_into_txe()
|
| /freebsd/crypto/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,
|
| /freebsd/crypto/openssl/test/ |
| H A D | quic_record_test.c | 10019 QUIC_HDR_PROTECTOR hpr = { 0 }; in test_wire_pkt_hdr_actual() local 10110 if (!TEST_true(ossl_quic_hdr_protector_init(&hpr, NULL, NULL, in test_wire_pkt_hdr_actual() 10132 if (!TEST_true(ossl_quic_hdr_protector_encrypt(&hpr, &ptrs))) in test_wire_pkt_hdr_actual() 10170 if (!TEST_true(ossl_quic_hdr_protector_decrypt(&hpr, &ptrs))) in test_wire_pkt_hdr_actual() 10181 ossl_quic_hdr_protector_cleanup(&hpr); in test_wire_pkt_hdr_actual()
|
| /freebsd/sys/security/mac_do/ |
| H A D | mac_do.c | 1249 find_conf_locked(struct prison *const pr, struct prison **const hpr) in find_conf_locked() argument 1282 if (hpr != NULL) in find_conf_locked() 1283 *hpr = cpr; in find_conf_locked() 1288 find_conf(struct prison *const pr, struct prison **const hpr) in find_conf() argument 1294 conf = find_conf_locked(pr, hpr); in find_conf() 1659 const struct prison *const hpr = hpr_out; in mac_do_jail_get() local 1664 jsys = hpr == pr ? (has_rules(rules) && has_exec_paths(exec_paths) ? in mac_do_jail_get()
|