| /freebsd/crypto/openssl/test/ |
| H A D | clienthellotest.c | 59 PACKET pkt, pkt2, pkt3; in test_client_hello() local 68 memset(&pkt2, 0, sizeof(pkt2)); in test_client_hello() 168 || !TEST_true(PACKET_get_length_prefixed_1(&pkt, &pkt2)) in test_client_hello() 170 || !TEST_true(PACKET_get_length_prefixed_2(&pkt, &pkt2)) in test_client_hello() 172 || !TEST_true(PACKET_get_length_prefixed_1(&pkt, &pkt2)) in test_client_hello() 174 || !TEST_true(PACKET_as_length_prefixed_2(&pkt, &pkt2))) in test_client_hello() 178 while (PACKET_remaining(&pkt2)) { in test_client_hello() 180 if (!TEST_true(PACKET_get_net_2(&pkt2, &type)) in test_client_hello() 181 || !TEST_true(PACKET_get_length_prefixed_2(&pkt2, &pkt3))) in test_client_hello()
|
| H A D | servername_test.c | 44 PACKET pkt, pkt2, pkt3, pkt4, pkt5; in get_sni_from_client_hello() local 49 memset(&pkt2, 0, sizeof(pkt2)); in get_sni_from_client_hello() 63 || !TEST_true(PACKET_get_length_prefixed_1(&pkt, &pkt2)) in get_sni_from_client_hello() 65 || !TEST_true(PACKET_get_length_prefixed_2(&pkt, &pkt2)) in get_sni_from_client_hello() 67 || !TEST_true(PACKET_get_length_prefixed_1(&pkt, &pkt2)) in get_sni_from_client_hello() 69 || !TEST_true(PACKET_as_length_prefixed_2(&pkt, &pkt2))) in get_sni_from_client_hello() 73 while (PACKET_remaining(&pkt2)) { in get_sni_from_client_hello() 74 if (!TEST_true(PACKET_get_net_2(&pkt2, &type)) in get_sni_from_client_hello() 75 || !TEST_true(PACKET_get_length_prefixed_2(&pkt2, &pkt3))) in get_sni_from_client_hello()
|
| H A D | quic_fifd_test.c | 114 QUIC_TXPIM_PKT *pkt = NULL, *pkt2 = NULL; in test_generic() local 232 if (!TEST_ptr(pkt2 = ossl_quic_txpim_pkt_alloc(info->txpim))) in test_generic() 236 pkt2->ackm_pkt.pkt_num = 50; in test_generic() 237 pkt2->ackm_pkt.pkt_space = pn_space; in test_generic() 238 pkt2->ackm_pkt.largest_acked = QUIC_PN_INVALID; in test_generic() 239 pkt2->ackm_pkt.num_bytes = 50; in test_generic() 240 pkt2->ackm_pkt.time = cur_time; in test_generic() 241 pkt2->ackm_pkt.is_inflight = 1; in test_generic() 242 pkt2->ackm_pkt.is_ack_eliciting = 1; in test_generic() 249 if (!TEST_true(ossl_quic_fifd_pkt_commit(&info->fifd, pkt2)) in test_generic()
|
| H A D | bad_dtls_test.c | 200 PACKET pkt, pkt2; in validate_client_hello() local 237 …if (!PACKET_get_length_prefixed_1(&pkt, &pkt2) || !PACKET_equal(&pkt2, session_id, sizeof(session_… in validate_client_hello() 241 if (!PACKET_get_length_prefixed_1(&pkt, &pkt2)) in validate_client_hello() 243 if (PACKET_remaining(&pkt2)) { in validate_client_hello() 244 if (!PACKET_equal(&pkt2, cookie, sizeof(cookie))) in validate_client_hello()
|
| H A D | quic_wire_test.c | 1315 PACKET pkt2; in test_wire_encode() local 1324 if (!TEST_int_eq(PACKET_buf_init(&pkt2, (unsigned char *)c->expect_buf, i), 1)) in test_wire_encode() 1327 if (!TEST_int_eq(c->deserializer(&pkt2, i), 1)) in test_wire_encode()
|
| H A D | sslapitest.c | 7365 PACKET pkt, pkt2, pkt3; in get_MFL_from_client_hello() local 7372 memset(&pkt2, 0, sizeof(pkt2)); in get_MFL_from_client_hello() 7384 || !TEST_true(PACKET_get_length_prefixed_1(&pkt, &pkt2)) in get_MFL_from_client_hello() 7386 || !TEST_true(PACKET_get_length_prefixed_2(&pkt, &pkt2)) in get_MFL_from_client_hello() 7388 || !TEST_true(PACKET_get_length_prefixed_1(&pkt, &pkt2)) in get_MFL_from_client_hello() 7390 || !TEST_true(PACKET_as_length_prefixed_2(&pkt, &pkt2))) in get_MFL_from_client_hello() 7394 while (PACKET_remaining(&pkt2)) { in get_MFL_from_client_hello() 7395 if (!TEST_true(PACKET_get_net_2(&pkt2, &type)) in get_MFL_from_client_hello() 7396 || !TEST_true(PACKET_get_length_prefixed_2(&pkt2, &pkt3))) in get_MFL_from_client_hello()
|
| /freebsd/crypto/openssl/ssl/quic/ |
| H A D | quic_wire.c | 979 PACKET pkt2; in ossl_quic_wire_decode_transport_param_preferred_addr() local 989 if (!PACKET_buf_init(&pkt2, body, len)) in ossl_quic_wire_decode_transport_param_preferred_addr() 992 if (!PACKET_copy_bytes(&pkt2, p->ipv4, sizeof(p->ipv4)) in ossl_quic_wire_decode_transport_param_preferred_addr() 993 || !PACKET_get_net_2(&pkt2, &ipv4_port) in ossl_quic_wire_decode_transport_param_preferred_addr() 994 || !PACKET_copy_bytes(&pkt2, p->ipv6, sizeof(p->ipv6)) in ossl_quic_wire_decode_transport_param_preferred_addr() 995 || !PACKET_get_net_2(&pkt2, &ipv6_port) in ossl_quic_wire_decode_transport_param_preferred_addr() 996 || !PACKET_get_1(&pkt2, &cidl) in ossl_quic_wire_decode_transport_param_preferred_addr() 998 || !PACKET_copy_bytes(&pkt2, p->cid.id, cidl) in ossl_quic_wire_decode_transport_param_preferred_addr() 999 || !PACKET_copy_bytes(&pkt2, p->stateless_reset.token, in ossl_quic_wire_decode_transport_param_preferred_addr()
|
| /freebsd/tests/sys/netpfil/pf/ |
| H A D | frag6.py | 151 pkt2 = sp.IPv6(src="2001:db8::1", dst="2001:db8:1::1") \ 157 s = DelayedSend([ pkt2, pkt ])
|
| /freebsd/contrib/netbsd-tests/net/arp/ |
| H A D | t_arp.sh | 428 pkt2=$(make_pkt_str_garp $IP4DST_PROXYARP1 $macaddr_dst) 431 "cat ./out |grep -q -e '$pkt1' -e '$pkt2'" 433 atf_check -s exit:0 -x "cat ./out |grep -q -e '$pkt1' -e '$pkt2'"
|
| /freebsd/crypto/openssl/crypto/slh_dsa/ |
| H A D | slh_dsa.c | 162 PACKET pkt2, *m_digest_rpkt = &pkt2; /* Points to m_digest buffer */ in slh_verify_internal() local
|