Home
last modified time | relevance | path

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

/third_party/openssl/test/
Dpackettest.c21 if (!TEST_true(PACKET_buf_init(&pkt, smbuf, sizeof(smbuf))) in test_PACKET_remaining()
36 if (!TEST_true(PACKET_buf_init(&pkt, smbuf, sizeof(smbuf))) 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()
121 if (!TEST_true(PACKET_buf_init(&pkt, smbuf, BUF_LEN)) in test_PACKET_get_net_4()
138 if (!TEST_true(PACKET_buf_init(&pkt, smbuf, BUF_LEN)) in test_PACKET_get_sub_packet()
159 if (!TEST_true(PACKET_buf_init(&pkt, smbuf, BUF_LEN)) in test_PACKET_get_bytes()
183 if (!TEST_true(PACKET_buf_init(&pkt, smbuf, BUF_LEN)) in test_PACKET_copy_bytes()
[all …]
Dbad_dtls_test.c124 if (!PACKET_buf_init(&pkt, data, len)) in validate_client_hello()
385 if (!PACKET_buf_init(&pkt, data, len)) in validate_ccs()
Dclienthellotest.c190 if (!TEST_true(PACKET_buf_init(&pkt, data, len)) in test_client_hello()
Dservername_test.c43 if (!TEST_true(PACKET_buf_init(&pkt, data, len)) in get_sni_from_client_hello()
Dasynciotest.c145 if (!PACKET_buf_init(&pkt, (const unsigned char *)in, inl)) in async_write()
Dtls13ccstest.c103 if (!PACKET_buf_init(&pkt, (const unsigned char *)in, inl)) in watchccs_write()
Dsslapitest.c4856 if (!TEST_true( PACKET_buf_init( &pkt, data, len ) ) in get_MFL_from_client_hello()
/third_party/openssl/ssl/
Dpacket_local.h68 __owur static ossl_inline int PACKET_buf_init(PACKET *pkt, in PACKET_buf_init() function
112 return PACKET_buf_init(subpkt, pkt->curr, len); in PACKET_peek_sub_packet()
Dssl_rsa.c690 if (!PACKET_buf_init(&pkt, serverinfo, serverinfo_length)) in serverinfo_find_extension()
794 if (!PACKET_buf_init(&pkt, serverinfo, serverinfo_length)) in serverinfo_process_buffer()
Dd1_lib.c524 if (!PACKET_buf_init(&pkt, buf, n)) { in DTLSv1_listen()
Dssl_lib.c5419 if (!PACKET_buf_init(&pkt, bytes, len)) in SSL_bytes_to_cipher_list()
/third_party/openssl/ssl/statem/
Dstatem.c631 if (!PACKET_buf_init(&pkt, s->init_msg, len)) { in read_state_machine()
Dextensions.c1591 if (!PACKET_buf_init(&hashprefix, hdata, hdatalen) in tls_psk_do_binder()
Dextensions_clnt.c861 if (!PACKET_buf_init(&prots, s->ext.alpn, s->ext.alpn_len)) { in tls_construct_ctos_early_data()
Dstatem_srvr.c1513 || !PACKET_buf_init(&compression, &null_compression, 1)) { in tls_process_client_hello()
/third_party/openssl/ssl/record/
Drec_layer_d1.c556 if (!PACKET_buf_init(&alert, alert_bytes, SSL3_RECORD_get_length(rr)) in dtls1_read_bytes()
Drec_layer_s3.c1492 if (!PACKET_buf_init(&alert, alert_bytes, SSL3_RECORD_get_length(rr)) in ssl3_read_bytes()
Dssl3_record.c215 if (!PACKET_buf_init(&pkt, RECORD_LAYER_get_packet(&s->rlayer), in ssl3_get_record()