Home
last modified time | relevance | path

Searched refs:wpkt (Results 1 – 14 of 14) sorted by relevance

/openssl/test/
H A Dquic_multistream_test.c2824 WPACKET wpkt; in script_21_inject_plain() local
2905 WPACKET wpkt; in script_23_inject_plain() local
2958 WPACKET wpkt; in script_24_inject_plain() local
3068 WPACKET wpkt; in script_28_inject_plain() local
3202 WPACKET wpkt; in script_32_inject_plain() local
3417 WPACKET wpkt; in script_39_inject_plain() local
3566 WPACKET wpkt; in script_41_inject_plain() local
3682 WPACKET wpkt; in script_42_inject_plain() local
3760 WPACKET wpkt; in script_44_inject_plain() local
3860 WPACKET wpkt; in script_46_inject_plain() local
[all …]
H A Dquicapitest.c1954 WPACKET *wpkt) in tparam_handle() argument
1960 if (!TEST_ptr(ossl_quic_wire_encode_transport_param_bytes(wpkt, id, in tparam_handle()
1988 if (!TEST_ptr(ossl_quic_wire_encode_transport_param_bytes(wpkt, id, in tparam_handle()
2022 WPACKET wpkt; in tparam_on_enc_ext() local
2043 || !TEST_true(WPACKET_init(&wpkt, new_bufm))) in tparam_on_enc_ext()
2056 if (!TEST_true(WPACKET_put_bytes_u16(&wpkt, in tparam_on_enc_ext()
2058 || !TEST_true(WPACKET_start_sub_packet_u16(&wpkt))) in tparam_on_enc_ext()
2070 if (!TEST_true(tparam_handle(ctx, id, tp_p, tp_len, &wpkt))) in tparam_on_enc_ext()
2094 if (!TEST_true(WPACKET_get_total_written(&wpkt, &written))) in tparam_on_enc_ext()
2097 WPACKET_finish(&wpkt); in tparam_on_enc_ext()
[all …]
H A Dquic_txp_test.c408 WPACKET wpkt; in schedule_cfq_new_conn_id() local
421 if (!TEST_true(WPACKET_init(&wpkt, buf_mem))) in schedule_cfq_new_conn_id()
425 WPACKET_cleanup(&wpkt); in schedule_cfq_new_conn_id()
429 WPACKET_finish(&wpkt); in schedule_cfq_new_conn_id()
431 if (!TEST_true(WPACKET_get_total_written(&wpkt, &l))) in schedule_cfq_new_conn_id()
489 WPACKET wpkt; in schedule_cfq_new_token() local
496 if (!TEST_true(WPACKET_init(&wpkt, buf_mem))) in schedule_cfq_new_token()
499 if (!TEST_true(ossl_quic_wire_encode_frame_new_token(&wpkt, token_1, in schedule_cfq_new_token()
501 WPACKET_cleanup(&wpkt); in schedule_cfq_new_token()
505 WPACKET_finish(&wpkt); in schedule_cfq_new_token()
[all …]
H A Dquic_wire_test.c1228 WPACKET wpkt; in test_wire_encode() local
1239 if (!TEST_int_eq(WPACKET_init(&wpkt, buf), 1)) in test_wire_encode()
1243 if (!TEST_int_eq(c->serializer(&wpkt), 1)) in test_wire_encode()
1246 if (!TEST_int_eq(WPACKET_get_total_written(&wpkt, &written), 1)) in test_wire_encode()
1281 WPACKET_finish(&wpkt); in test_wire_encode()
H A Dquic_record_test.c2758 WPACKET wpkt = {0}; in test_wire_pkt_hdr_actual() local
2804 if (!TEST_true(WPACKET_init_static_len(&wpkt, buf, TEST_PKT_BUF_LEN, 0))) in test_wire_pkt_hdr_actual()
2838 if (!TEST_true(ossl_quic_wire_encode_pkt_hdr(&wpkt, t->short_conn_id_len, &hdr, &wptrs))) in test_wire_pkt_hdr_actual()
2841 if (!TEST_true(WPACKET_memcpy(&wpkt, t->payload, t->payload_len))) in test_wire_pkt_hdr_actual()
2844 if (!TEST_true(WPACKET_get_total_written(&wpkt, &l))) in test_wire_pkt_hdr_actual()
2924 WPACKET_finish(&wpkt); in test_wire_pkt_hdr_actual()
/openssl/ssl/quic/
H A Dquic_txp.c314 return &h->txn.wpkt; in tx_helper_begin()
1737 WPACKET *wpkt; in txp_pkt_append_padding() local
1749 if (wpkt == NULL) in txp_pkt_append_padding()
1842 if (wpkt == NULL) in txp_generate_pre_token()
1873 if (wpkt == NULL) in txp_generate_pre_token()
2048 WPACKET *wpkt; in txp_generate_crypto_frames() local
2094 if (wpkt == NULL) in txp_generate_crypto_frames()
2200 WPACKET *wpkt; in txp_generate_stream_frames() local
2340 if (wpkt == NULL) in txp_generate_stream_frames()
2405 WPACKET *wpkt; in txp_generate_stream_related() local
[all …]
H A Dquic_channel.c1708 WPACKET wpkt; in ch_generate_transport_params() local
1718 if (!WPACKET_init(&wpkt, buf_mem)) in ch_generate_transport_params()
1784 if (!WPACKET_finish(&wpkt)) in ch_generate_transport_params()
1789 if (!WPACKET_get_total_written(&wpkt, &buf_len)) in ch_generate_transport_params()
1833 WPACKET_cleanup(&wpkt); in ch_generate_transport_params()
2968 WPACKET wpkt; in ch_enqueue_retire_conn_id() local
2976 if (!WPACKET_init(&wpkt, buf_mem)) in ch_enqueue_retire_conn_id()
2979 if (!ossl_quic_wire_encode_frame_retire_conn_id(&wpkt, seq_num)) { in ch_enqueue_retire_conn_id()
2980 WPACKET_cleanup(&wpkt); in ch_enqueue_retire_conn_id()
2984 WPACKET_finish(&wpkt); in ch_enqueue_retire_conn_id()
[all …]
H A Dquic_wire_pkt.c844 WPACKET wpkt; in ossl_quic_calculate_retry_integrity_tag() local
868 if (!WPACKET_init_static_len(&wpkt, buf, sizeof(buf), 0)) { in ossl_quic_calculate_retry_integrity_tag()
876 if (!WPACKET_put_bytes_u8(&wpkt, client_initial_dcid->id_len) in ossl_quic_calculate_retry_integrity_tag()
877 || !WPACKET_memcpy(&wpkt, client_initial_dcid->id, in ossl_quic_calculate_retry_integrity_tag()
884 if (!ossl_quic_wire_encode_pkt_hdr(&wpkt, hdr2.dst_conn_id.id_len, in ossl_quic_calculate_retry_integrity_tag()
888 if (!WPACKET_get_total_written(&wpkt, &hdr_enc_len)) { in ossl_quic_calculate_retry_integrity_tag()
942 WPACKET_finish(&wpkt); in ossl_quic_calculate_retry_integrity_tag()
H A Dquic_record_tx.c464 WPACKET wpkt; in qtx_write_hdr() local
468 if (!WPACKET_init_static_len(&wpkt, data, txe->alloc_len - txe->data_len, 0)) in qtx_write_hdr()
471 if (!ossl_quic_wire_encode_pkt_hdr(&wpkt, hdr->dst_conn_id.id_len, in qtx_write_hdr()
473 || !WPACKET_get_total_written(&wpkt, &l)) { in qtx_write_hdr()
474 WPACKET_finish(&wpkt); in qtx_write_hdr()
477 WPACKET_finish(&wpkt); in qtx_write_hdr()
H A Dquic_rx_depack.c942 WPACKET wpkt; in depack_do_frame_path_challenge() local
963 if (!WPACKET_init_static_len(&wpkt, encoded, encoded_len, 0)) in depack_do_frame_path_challenge()
966 if (!ossl_quic_wire_encode_frame_path_response(&wpkt, frame_data)) { in depack_do_frame_path_challenge()
967 WPACKET_cleanup(&wpkt); in depack_do_frame_path_challenge()
971 WPACKET_finish(&wpkt); in depack_do_frame_path_challenge()
H A Dquic_wire.c429 int ossl_quic_wire_encode_transport_param_cid(WPACKET *wpkt, in ossl_quic_wire_encode_transport_param_cid() argument
436 if (ossl_quic_wire_encode_transport_param_bytes(wpkt, id, in ossl_quic_wire_encode_transport_param_cid()
/openssl/ssl/
H A Dd1_lib.c653 WPACKET wpkt; in DTLSv1_listen() local
682 if (!WPACKET_init_static_len(&wpkt, in DTLSv1_listen()
695 || !WPACKET_start_sub_packet_u16(&wpkt) in DTLSv1_listen()
697 || !WPACKET_put_bytes_u8(&wpkt, in DTLSv1_listen()
705 || !WPACKET_put_bytes_u24(&wpkt, 0) in DTLSv1_listen()
710 || !WPACKET_put_bytes_u16(&wpkt, 0) in DTLSv1_listen()
715 || !WPACKET_put_bytes_u24(&wpkt, 0) in DTLSv1_listen()
726 || !WPACKET_close(&wpkt) in DTLSv1_listen()
728 || !WPACKET_close(&wpkt) in DTLSv1_listen()
730 || !WPACKET_finish(&wpkt)) { in DTLSv1_listen()
[all …]
/openssl/ssl/record/methods/
H A Dtls13_meth.c98 WPACKET wpkt; in tls13_cipher() local
171 if (!WPACKET_init_static_len(&wpkt, recheader, sizeof(recheader), 0) in tls13_cipher()
172 || !WPACKET_put_bytes_u8(&wpkt, rec->type) in tls13_cipher()
173 || !WPACKET_put_bytes_u16(&wpkt, rec->rec_version) in tls13_cipher()
174 || !WPACKET_put_bytes_u16(&wpkt, rec->length + rl->taglen) in tls13_cipher()
175 || !WPACKET_get_total_written(&wpkt, &hdrlen) in tls13_cipher()
177 || !WPACKET_finish(&wpkt)) { in tls13_cipher()
179 WPACKET_cleanup(&wpkt); in tls13_cipher()
/openssl/include/internal/
H A Dquic_wire.h470 int ossl_quic_wire_encode_transport_param_cid(WPACKET *wpkt,

Completed in 89 milliseconds