Home
last modified time | relevance | path

Searched refs:thispkt (Results 1 – 2 of 2) sorted by relevance

/third_party/openssl/test/
Dssltestlib.c372 MEMPACKET *thispkt; in mempacket_test_read() local
378 thispkt = sk_MEMPACKET_value(ctx->pkts, 0); in mempacket_test_read()
379 if (thispkt == NULL || thispkt->num != ctx->currpkt) { in mempacket_test_read()
387 if (outl > thispkt->len) in mempacket_test_read()
388 outl = thispkt->len; in mempacket_test_read()
390 if (thispkt->type != INJECT_PACKET_IGNORE_REC_SEQ in mempacket_test_read()
398 for (rem = thispkt->len, rec = thispkt->data; rem > 0; rem -= len) { in mempacket_test_read()
433 memcpy(out, thispkt->data, outl); in mempacket_test_read()
434 mempacket_free(thispkt); in mempacket_test_read()
442 MEMPACKET *thispkt = NULL, *looppkt, *nextpkt, *allpkts[3]; in mempacket_test_inject() local
[all …]
/third_party/openssl/ssl/record/
Drec_layer_s3.c658 WPACKET *thispkt; in do_ssl3_write() local
788 thispkt = &pkt[j]; in do_ssl3_write()
796 if (!WPACKET_init_static_len(thispkt, SSL3_BUFFER_get_buf(wb), in do_ssl3_write()
798 || !WPACKET_allocate_bytes(thispkt, align, NULL)) { in do_ssl3_write()
833 thispkt = &pkt[j]; in do_ssl3_write()
865 if (!WPACKET_put_bytes_u8(thispkt, rectype) in do_ssl3_write()
866 || !WPACKET_put_bytes_u16(thispkt, version) in do_ssl3_write()
867 || !WPACKET_start_sub_packet_u16(thispkt) in do_ssl3_write()
869 && !WPACKET_allocate_bytes(thispkt, eivlen, NULL)) in do_ssl3_write()
871 && !WPACKET_reserve_bytes(thispkt, maxcomplen, in do_ssl3_write()
[all …]