Home
last modified time | relevance | path

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

/third_party/openssl/ssl/record/
Dssl3_record_tls13.c35 WPACKET wpkt; in tls13_enc() local
158 if (!WPACKET_init_static_len(&wpkt, recheader, sizeof(recheader), 0) in tls13_enc()
159 || !WPACKET_put_bytes_u8(&wpkt, rec->type) in tls13_enc()
160 || !WPACKET_put_bytes_u16(&wpkt, rec->rec_version) in tls13_enc()
161 || !WPACKET_put_bytes_u16(&wpkt, rec->length + taglen) in tls13_enc()
162 || !WPACKET_get_total_written(&wpkt, &hdrlen) in tls13_enc()
164 || !WPACKET_finish(&wpkt)) { in tls13_enc()
165 WPACKET_cleanup(&wpkt); in tls13_enc()
/third_party/openssl/ssl/
Dd1_lib.c686 WPACKET wpkt; in DTLSv1_listen() local
714 if (!WPACKET_init_static_len(&wpkt, in DTLSv1_listen()
719 || !WPACKET_put_bytes_u8(&wpkt, SSL3_RT_HANDSHAKE) in DTLSv1_listen()
720 || !WPACKET_put_bytes_u16(&wpkt, version) in DTLSv1_listen()
725 || !WPACKET_memcpy(&wpkt, seq, SEQ_NUM_SIZE) in DTLSv1_listen()
727 || !WPACKET_start_sub_packet_u16(&wpkt) in DTLSv1_listen()
729 || !WPACKET_put_bytes_u8(&wpkt, in DTLSv1_listen()
737 || !WPACKET_put_bytes_u24(&wpkt, 0) in DTLSv1_listen()
742 || !WPACKET_put_bytes_u16(&wpkt, 0) in DTLSv1_listen()
747 || !WPACKET_put_bytes_u24(&wpkt, 0) in DTLSv1_listen()
[all …]