Home
last modified time | relevance | path

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

/openssl/test/helpers/
H A Dssltestlib.c354 MEMPACKET *thispkt; in mempacket_test_read() local
380 for (rem = thispkt->len, rec = thispkt->data; rem > 0; rem -= len) { in mempacket_test_read()
427 MEMPACKET *thispkt; in mempacket_swap_epoch() local
441 if (thispkt == NULL) in mempacket_swap_epoch()
444 for (rem = thispkt->len, rec = thispkt->data; rem > 0; rem -= len, rec += len) { in mempacket_swap_epoch()
479 thispkt = OPENSSL_malloc(sizeof(*thispkt)); in mempacket_swap_epoch()
507 MEMPACKET *thispkt; in mempacket_move_packet() local
520 if (thispkt == NULL) in mempacket_move_packet()
534 thispkt->num++; in mempacket_move_packet()
628 thispkt->num++; in mempacket_test_inject()
[all …]
/openssl/ssl/record/methods/
H A Dtls_common.c1568 WPACKET *thispkt; in tls_initialise_write_packets_default() local
1573 thispkt = &pkt[j]; in tls_initialise_write_packets_default()
1615 if (!WPACKET_put_bytes_u8(thispkt, rectype) in tls_prepare_record_header_default()
1672 recordstart = WPACKET_get_curr(thispkt) - len; in tls_prepare_for_encryption_default()
1691 if (!WPACKET_get_length(thispkt, &origlen) in tls_post_encryption_processing_default()
1716 if (!WPACKET_get_length(thispkt, &len) in tls_post_encryption_processing_default()
1717 || !WPACKET_close(thispkt)) { in tls_post_encryption_processing_default()
1737 if (!WPACKET_finish(thispkt)) { in tls_post_encryption_processing_default()
1753 WPACKET *thispkt; in tls_write_records_default() local
1787 thispkt = &pkt[j]; in tls_write_records_default()
[all …]
H A Drecmethod_local.h173 int (*prepare_record_header)(OSSL_RECORD_LAYER *rl, WPACKET *thispkt,
180 WPACKET *thispkt,
190 WPACKET *thispkt,
200 WPACKET *thispkt,
422 WPACKET *thispkt,
429 WPACKET *thispkt,
508 WPACKET *thispkt,
514 WPACKET *thispkt,
519 WPACKET *thispkt,
H A Ddtls_meth.c693 WPACKET *thispkt, in dtls_prepare_record_header() argument
706 if (!WPACKET_put_bytes_u8(thispkt, rectype) in dtls_prepare_record_header()
707 || !WPACKET_put_bytes_u16(thispkt, templ->version) in dtls_prepare_record_header()
708 || !WPACKET_put_bytes_u16(thispkt, rl->epoch) in dtls_prepare_record_header()
709 || !WPACKET_memcpy(thispkt, &(rl->sequence[2]), 6) in dtls_prepare_record_header()
710 || !WPACKET_start_sub_packet_u16(thispkt) in dtls_prepare_record_header()
712 && !WPACKET_allocate_bytes(thispkt, rl->eivlen, NULL)) in dtls_prepare_record_header()
714 && !WPACKET_reserve_bytes(thispkt, maxcomplen, in dtls_prepare_record_header()
726 WPACKET *thispkt, in dtls_post_encryption_processing() argument
730 thispkt, thiswr)) { in dtls_post_encryption_processing()
H A Dtls13_meth.c325 WPACKET *thispkt, in tls13_add_record_padding() argument
334 if (!WPACKET_put_bytes_u8(thispkt, thistempl->type)) { in tls13_add_record_padding()
396 if (!WPACKET_memset(thispkt, 0, padding)) { in tls13_add_record_padding()
H A Dktls_meth.c493 WPACKET *thispkt, in ktls_prepare_record_header() argument
506 WPACKET *thispkt, in ktls_prepare_for_encryption() argument
516 WPACKET *thispkt, in ktls_post_encryption_processing() argument
H A Dtlsany_meth.c141 WPACKET *thispkt, in tls_any_prepare_for_encryption() argument

Completed in 28 milliseconds