Searched refs:lenbytes (Results 1 – 5 of 5) sorted by relevance
/openssl/crypto/ |
H A D | packet.c | 97 if (lenbytes >= sizeof(size_t) || lenbytes == 0) in maxmaxsize() 100 return ((size_t)1 << (lenbytes * 8)) - 1 + lenbytes; in maxmaxsize() 113 if (lenbytes == 0) in wpacket_intern_init_len() 117 pkt->subs->lenbytes = lenbytes; in wpacket_intern_init_len() 272 sub->lenbytes = 0; in wpacket_intern_close() 276 if (sub->lenbytes > 0) { in wpacket_intern_close() 385 sub->lenbytes = lenbytes; in WPACKET_start_sub_packet_len__() 387 if (lenbytes == 0) { in WPACKET_start_sub_packet_len__() 421 size_t lenbytes; in WPACKET_set_max_size() local 431 lenbytes = sub->lenbytes; in WPACKET_set_max_size() [all …]
|
/openssl/test/ |
H A D | bad_dtls_test.c | 283 unsigned char lenbytes[2]; in send_record() local 315 lenbytes[0] = (unsigned char)(len >> 8); in send_record() 316 lenbytes[1] = (unsigned char)(len); in send_record() 322 || !EVP_MAC_update(ctx, lenbytes, 2) /* Length */ in send_record() 346 lenbytes[0] = (unsigned char)((len + sizeof(iv)) >> 8); in send_record() 347 lenbytes[1] = (unsigned char)(len + sizeof(iv)); in send_record() 348 BIO_write(rbio, lenbytes, 2); in send_record()
|
H A D | asn1_encode_test.c | 568 size_t lenbytes; in der_encode_length() local 572 lenbytes = 3; in der_encode_length() 574 lenbytes = 2; in der_encode_length() 576 lenbytes = 1; in der_encode_length() 579 if (lenbytes == 1) { in der_encode_length() 582 *(*pp)++ = (unsigned char)(lenbytes - 1); in der_encode_length() 583 if (lenbytes == 2) { in der_encode_length() 591 return lenbytes; in der_encode_length()
|
/openssl/include/internal/ |
H A D | packet.h | 644 size_t lenbytes; member 703 int WPACKET_init_len(WPACKET *pkt, BUF_MEM *buf, size_t lenbytes); 716 int WPACKET_init_null(WPACKET *pkt, size_t lenbytes); 730 size_t lenbytes); 772 int WPACKET_start_sub_packet_len__(WPACKET *pkt, size_t lenbytes); 811 unsigned char **allocbytes, size_t lenbytes); 850 unsigned char **allocbytes, size_t lenbytes); 903 size_t lenbytes);
|
/openssl/ssl/quic/ |
H A D | quic_txp.c | 1918 size_t base_hdr_len, size_t lenbytes, in try_len() argument 1924 *hdr_len = base_hdr_len + lenbytes; in try_len()
|
Completed in 21 milliseconds