Home
last modified time | relevance | path

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

/third_party/openssl/test/
Dpackettest.c23 || !TEST_true(PACKET_forward(&pkt, BUF_LEN - 1)) in test_PACKET_remaining()
25 || !TEST_true(PACKET_forward(&pkt, 1)) in test_PACKET_remaining()
39 || !TEST_true(PACKET_forward(&pkt, BUF_LEN - 1)) in test_PACKET_end()
41 || !TEST_true(PACKET_forward(&pkt, 1)) in test_PACKET_end()
56 || !TEST_true(PACKET_forward(&pkt, BUF_LEN - 2)) in test_PACKET_get_1()
73 || !TEST_true(PACKET_forward(&pkt, BUF_LEN - 8)) in test_PACKET_get_4()
90 || !TEST_true(PACKET_forward(&pkt, BUF_LEN - 4)) in test_PACKET_get_net_2()
107 || !TEST_true(PACKET_forward(&pkt, BUF_LEN - 6)) in test_PACKET_get_net_3()
124 || !TEST_true(PACKET_forward(&pkt, BUF_LEN - 8)) in test_PACKET_get_net_4()
143 || !TEST_true(PACKET_forward(&pkt, BUF_LEN - 8)) in test_PACKET_get_sub_packet()
[all …]
Dbad_dtls_test.c134 if (!PACKET_forward(&pkt, DTLS1_RT_HEADER_LENGTH - 3)) in validate_client_hello()
141 if (!PACKET_forward(&pkt, DTLS1_HM_HEADER_LENGTH - 1)) in validate_client_hello()
167 if (!PACKET_get_net_2(&pkt, &u) || !PACKET_forward(&pkt, u)) in validate_client_hello()
171 if (!PACKET_get_1(&pkt, &u) || !PACKET_forward(&pkt, u)) in validate_client_hello()
175 if (!PACKET_get_net_2(&pkt, &u) || !PACKET_forward(&pkt, u)) in validate_client_hello()
395 if (!PACKET_forward(&pkt, DTLS1_RT_HEADER_LENGTH - 3)) in validate_ccs()
Dclienthellotest.c192 || !PACKET_forward(&pkt, SSL3_RT_HEADER_LENGTH)) in test_client_hello()
198 if (!TEST_true(PACKET_forward(&pkt, SSL3_HM_HEADER_LENGTH)) in test_client_hello()
200 || !TEST_true(PACKET_forward(&pkt, CLIENT_VERSION_LEN in test_client_hello()
Dservername_test.c45 || !PACKET_forward(&pkt, SSL3_RT_HEADER_LENGTH) in get_sni_from_client_hello()
47 || !TEST_true(PACKET_forward(&pkt, SSL3_HM_HEADER_LENGTH)) in get_sni_from_client_hello()
49 || !TEST_true(PACKET_forward(&pkt, CLIENT_VERSION_LEN in get_sni_from_client_hello()
Dasynciotest.c168 if (!PACKET_forward(&wholebody, in async_write()
172 || !PACKET_forward(&wholebody, 32) in async_write()
180 || !PACKET_forward(&wholebody, 2 + 1) in async_write()
Dtls13ccstest.c126 if (!PACKET_forward(&msgbody, 34) in watchccs_write()
154 if (!PACKET_forward(&msgbody, 34) in watchccs_write()
Dsslapitest.c4858 || !PACKET_forward(&pkt, SSL3_RT_HEADER_LENGTH) in get_MFL_from_client_hello()
4860 || !TEST_true(PACKET_forward(&pkt, SSL3_HM_HEADER_LENGTH)) in get_MFL_from_client_hello()
4862 || !TEST_true(PACKET_forward(&pkt, CLIENT_VERSION_LEN in get_MFL_from_client_hello()
/third_party/openssl/ssl/
Dd1_lib.c569 if (!PACKET_forward(&pkt, 1) in DTLSv1_listen()
646 if (!PACKET_forward(&msgpayload, SSL3_RANDOM_SIZE) in DTLSv1_listen()
Dpacket_local.h463 __owur static ossl_inline int PACKET_forward(PACKET *pkt, size_t len) in PACKET_forward() function
Dssl_lib.c5393 && !PACKET_forward(&sslv2ciphers, TLS_CIPHER_LEN))) { in ssl_cache_cipherlist()
/third_party/openssl/ssl/statem/
Dextensions_srvr.c561 if (!PACKET_forward(pkt, mki_len) in tls_parse_ctos_use_srtp()
761 || !PACKET_forward(&raw, rawlen - SHA256_DIGEST_LENGTH)) { in tls_parse_ctos_cookie()
836 if (!PACKET_forward(&cookie, 2)) { in tls_parse_ctos_cookie()
Dextensions.c1592 || !PACKET_forward(&hashprefix, 1) in tls_psk_do_binder()
1594 || !PACKET_forward(&hashprefix, 1) in tls_psk_do_binder()
Dstatem_clnt.c1301 if (!PACKET_forward(pkt, 2) in dtls_process_hello_verify()
1427 if (!PACKET_forward(pkt, SSL3_RANDOM_SIZE)) { in tls_process_server_hello()
Dstatem_srvr.c1366 if (!PACKET_forward(&tmppkt, 2) in ssl_check_for_safari()
3413 if (!PACKET_forward(pkt, ptr - PACKET_data(pkt))) { in tls_process_cke_gost()