Searched refs:wpkt (Results 1 – 2 of 2) sorted by relevance
/third_party/openssl/ssl/record/ |
D | ssl3_record_tls13.c | 35 WPACKET wpkt; in tls13_enc() local 155 if (!WPACKET_init_static_len(&wpkt, recheader, sizeof(recheader), 0) in tls13_enc() 156 || !WPACKET_put_bytes_u8(&wpkt, rec->type) in tls13_enc() 157 || !WPACKET_put_bytes_u16(&wpkt, rec->rec_version) in tls13_enc() 158 || !WPACKET_put_bytes_u16(&wpkt, rec->length + taglen) in tls13_enc() 159 || !WPACKET_get_total_written(&wpkt, &hdrlen) in tls13_enc() 161 || !WPACKET_finish(&wpkt)) { in tls13_enc() 163 WPACKET_cleanup(&wpkt); in tls13_enc()
|
/third_party/openssl/ssl/ |
D | d1_lib.c | 680 WPACKET wpkt; in DTLSv1_listen() local 708 if (!WPACKET_init_static_len(&wpkt, in DTLSv1_listen() 713 || !WPACKET_put_bytes_u8(&wpkt, SSL3_RT_HANDSHAKE) in DTLSv1_listen() 714 || !WPACKET_put_bytes_u16(&wpkt, version) in DTLSv1_listen() 719 || !WPACKET_memcpy(&wpkt, seq, SEQ_NUM_SIZE) in DTLSv1_listen() 721 || !WPACKET_start_sub_packet_u16(&wpkt) in DTLSv1_listen() 723 || !WPACKET_put_bytes_u8(&wpkt, in DTLSv1_listen() 731 || !WPACKET_put_bytes_u24(&wpkt, 0) in DTLSv1_listen() 736 || !WPACKET_put_bytes_u16(&wpkt, 0) in DTLSv1_listen() 741 || !WPACKET_put_bytes_u24(&wpkt, 0) in DTLSv1_listen() [all …]
|