Home
last modified time | relevance | path

Searched refs:PACKET_buf_init (Results 1 – 25 of 39) sorted by relevance

12

/openssl/test/
H A Dpackettest.c21 if (!TEST_true(PACKET_buf_init(&pkt, smbuf, BUF_LEN)) in test_PACKET_remaining()
36 if (!TEST_true(PACKET_buf_init(&pkt, smbuf, BUF_LEN)) in test_PACKET_end()
53 if (!TEST_true(PACKET_buf_init(&pkt, smbuf, BUF_LEN)) in test_PACKET_get_1()
70 if (!TEST_true(PACKET_buf_init(&pkt, smbuf, BUF_LEN)) in test_PACKET_get_4()
87 if (!TEST_true(PACKET_buf_init(&pkt, smbuf, BUF_LEN)) in test_PACKET_get_net_2()
104 if (!TEST_true(PACKET_buf_init(&pkt, smbuf, BUF_LEN)) in test_PACKET_get_net_3()
309 if (!TEST_true(PACKET_buf_init(&pkt, buf1, 4)) in test_PACKET_buf_init()
335 if (!TEST_true(PACKET_buf_init(&pkt, smbuf, 4)) in test_PACKET_equal()
384 if (!TEST_true(PACKET_buf_init(&pkt, buf1, 1024)) in test_PACKET_get_length_prefixed_2()
408 if (!TEST_true(PACKET_buf_init(&pkt, buf1, 1024)) in test_PACKET_get_length_prefixed_3()
[all …]
H A Dquic_wire_test.c1252 if (!TEST_int_eq(PACKET_buf_init(&pkt, (unsigned char *)buf->data, written), 1)) in test_wire_encode()
1271 if (!TEST_int_eq(PACKET_buf_init(&pkt2, (unsigned char *)c->expect_buf, i), 1)) in test_wire_encode()
1433 if (!TEST_int_eq(PACKET_buf_init(&pkt, in test_wire_ack()
1542 if (!TEST_true(PACKET_buf_init(&pkt, retry_encoded, sizeof(retry_encoded)))) in test_wire_retry_integrity_tag()
1621 if (!TEST_true(PACKET_buf_init(&pkt, non_minimal[idx], in test_wire_minimal()
H A Dbad_dtls_test.c127 if (!PACKET_buf_init(&pkt, data, len)) in validate_client_hello()
408 if (!PACKET_buf_init(&pkt, data, len)) in validate_ccs()
H A Dclienthellotest.c195 || !TEST_true(PACKET_buf_init(&pkt, data, len)) in test_client_hello()
H A Dservername_test.c56 || !TEST_true(PACKET_buf_init(&pkt, data, len)) in get_sni_from_client_hello()
H A Dasynciotest.c145 if (!PACKET_buf_init(&pkt, (const unsigned char *)in, inl)) in async_write()
H A Dtls13ccstest.c103 if (!PACKET_buf_init(&pkt, (const unsigned char *)in, inl)) in watchccs_write()
H A Dwpackettest.c618 if (!TEST_true(PACKET_buf_init(&read_pkt, (unsigned char *)buf->data, written)) in test_WPACKET_quic_vlint_random()
/openssl/fuzz/
H A Dquic-srtm.c60 if (!PACKET_buf_init(&pkt, buf, len)) in FuzzerTestOneInput()
H A Dquic-rcidm.c85 if (!PACKET_buf_init(&pkt, buf, len)) in FuzzerTestOneInput()
H A Dquic-lcidm.c79 if (!PACKET_buf_init(&pkt, buf, len)) in FuzzerTestOneInput()
/openssl/test/helpers/
H A Dpktsplitbio.c87 if (!PACKET_buf_init(&pkt, thismsg->data, thismsg->data_len)) in pkt_split_dgram_recvmmsg()
H A Dquictestlib.c100 if (!PACKET_buf_init(&pkt, buf, len)) in noise_msg_callback()
866 if (!PACKET_buf_init(&pkt, buf, msginlen) in handshake_mutate()
997 if (!PACKET_buf_init(&pkt, ext, *extlen)) in qtest_fault_delete_extension()
1108 if (!PACKET_buf_init(&pkt, fault->msg.data, fault->msg.data_len)) in pcipher_sendmmsg()
/openssl/crypto/
H A Dasn1_dsa.c240 if (!PACKET_buf_init(&pkt, *ppin, len) in ossl_decode_der_dsa_sig()
/openssl/ssl/quic/
H A Dquic_trace.c581 if (!PACKET_buf_init(&pkt, buf, msglen)) in ossl_quic_trace()
629 if (!PACKET_buf_init(&pkt, buf, msglen)) in ossl_quic_trace()
H A Dquic_port.c537 if (!PACKET_buf_init(&pkt, ossl_quic_urxe_data(e), e->data_len)) in port_default_packet_handler()
H A Dqlog_event_helpers.c538 if (!PACKET_buf_init(&pkt, iovec[i].buf, iovec[i].buf_len)) in log_frames()
H A Dquic_rx_depack.c1448 if (!PACKET_buf_init(&pkt, qpacket->hdr->data, qpacket->hdr->len) in ossl_quic_handle_frames()
H A Dquic_record_rx.c1123 if (!PACKET_buf_init(&pkt, data, data_len)) in qrx_process_datagram()
H A Dquic_wire.c991 if (!PACKET_buf_init(&pkt2, body, len)) in ossl_quic_wire_decode_transport_param_preferred_addr()
/openssl/include/internal/
H A Dpacket.h69 __owur static ossl_inline int PACKET_buf_init(PACKET *pkt, in PACKET_buf_init() function
113 return PACKET_buf_init(subpkt, pkt->curr, len); in PACKET_peek_sub_packet()
/openssl/ssl/
H A Dssl_rsa.c604 if (!PACKET_buf_init(&pkt, serverinfo, serverinfo_length)) in serverinfo_find_extension()
714 if (!PACKET_buf_init(&pkt, serverinfo, serverinfo_length)) in serverinfo_process_buffer()
H A Dd1_lib.c490 if (!PACKET_buf_init(&pkt, buf, n)) { in DTLSv1_listen()
/openssl/ssl/record/
H A Drec_layer_d1.c386 if (!PACKET_buf_init(&alert, alert_bytes, rr->length) in dtls1_read_bytes()
/openssl/ssl/statem/
H A Dstatem.c683 if (!PACKET_buf_init(&pkt, s->init_msg, len)) { in read_state_machine()

Completed in 58 milliseconds

12