| /src/crypto/external/bsd/openssl.old/dist/ssl/ |
| packet.c | 27 unsigned char **allocbytes, size_t lenbytes) 29 if (!WPACKET_start_sub_packet_len__(pkt, lenbytes) 72 unsigned char **allocbytes, size_t lenbytes) 74 if (!WPACKET_reserve_bytes(pkt, lenbytes + len, allocbytes)) 77 *allocbytes += lenbytes; 82 static size_t maxmaxsize(size_t lenbytes) 84 if (lenbytes >= sizeof(size_t) || lenbytes == 0) 87 return ((size_t)1 << (lenbytes * 8)) - 1 + lenbytes; 325 size_t lenbytes; local [all...] |
| packet_local.h | 643 size_t lenbytes; member in struct:wpacket_sub 693 * for the whole time that the WPACKET is being used. Additionally |lenbytes| of 697 int WPACKET_init_len(WPACKET *pkt, BUF_MEM *buf, size_t lenbytes); 711 size_t lenbytes); 741 * Initialise a new sub-packet. Additionally |lenbytes| of data is preallocated 745 int WPACKET_start_sub_packet_len__(WPACKET *pkt, size_t lenbytes); 780 * number of length bytes for the sub-packet is in |lenbytes|. Don't call this 784 unsigned char **allocbytes, size_t lenbytes); 823 unsigned char **allocbytes, size_t lenbytes); 872 * length (consuming |lenbytes| of data for the length). Don't call thi [all...] |
| /src/crypto/external/apache2/openssl/dist/crypto/ |
| packet.c | 30 unsigned char **allocbytes, size_t lenbytes) 32 if (!WPACKET_start_sub_packet_len__(pkt, lenbytes) 81 unsigned char **allocbytes, size_t lenbytes) 83 if (pkt->endfirst && lenbytes > 0) 86 if (!WPACKET_reserve_bytes(pkt, lenbytes + len, allocbytes)) 90 *allocbytes += lenbytes; 95 static size_t maxmaxsize(size_t lenbytes) 97 if (lenbytes >= sizeof(size_t) || lenbytes == 0) 100 return ((size_t)1 << (lenbytes * 8)) - 1 + lenbytes 422 size_t lenbytes; local [all...] |
| /src/crypto/external/bsd/openssl/dist/crypto/ |
| packet.c | 27 unsigned char **allocbytes, size_t lenbytes) 29 if (!WPACKET_start_sub_packet_len__(pkt, lenbytes) 78 unsigned char **allocbytes, size_t lenbytes) 80 if (pkt->endfirst && lenbytes > 0) 83 if (!WPACKET_reserve_bytes(pkt, lenbytes + len, allocbytes)) 87 *allocbytes += lenbytes; 92 static size_t maxmaxsize(size_t lenbytes) 94 if (lenbytes >= sizeof(size_t) || lenbytes == 0) 97 return ((size_t)1 << (lenbytes * 8)) - 1 + lenbytes 398 size_t lenbytes; local [all...] |
| /src/crypto/external/bsd/openssl.old/dist/test/ |
| bad_dtls_test.c | 280 unsigned char lenbytes[2]; local 309 lenbytes[0] = (unsigned char)(len >> 8); 310 lenbytes[1] = (unsigned char)(len); 311 HMAC_Update(ctx, lenbytes, 2); /* Length */ 334 lenbytes[0] = (unsigned char)((len + sizeof(iv)) >> 8); 335 lenbytes[1] = (unsigned char)(len + sizeof(iv)); 336 BIO_write(rbio, lenbytes, 2);
|
| asn1_encode_test.c | 568 size_t lenbytes; local 572 lenbytes = 3; 574 lenbytes = 2; 576 lenbytes = 1; 579 if (lenbytes == 1) { 582 *(*pp)++ = (unsigned char)(lenbytes - 1); 583 if (lenbytes == 2) { 591 return lenbytes;
|
| /src/crypto/external/bsd/openssl/dist/test/ |
| bad_dtls_test.c | 283 unsigned char lenbytes[2]; local 315 lenbytes[0] = (unsigned char)(len >> 8); 316 lenbytes[1] = (unsigned char)(len); 322 || !EVP_MAC_update(ctx, lenbytes, 2) /* Length */ 346 lenbytes[0] = (unsigned char)((len + sizeof(iv)) >> 8); 347 lenbytes[1] = (unsigned char)(len + sizeof(iv)); 348 BIO_write(rbio, lenbytes, 2);
|
| asn1_encode_test.c | 568 size_t lenbytes; local 572 lenbytes = 3; 574 lenbytes = 2; 576 lenbytes = 1; 579 if (lenbytes == 1) { 582 *(*pp)++ = (unsigned char)(lenbytes - 1); 583 if (lenbytes == 2) { 591 return lenbytes;
|
| /src/crypto/external/apache2/openssl/dist/test/ |
| bad_dtls_test.c | 331 unsigned char lenbytes[2]; local 363 lenbytes[0] = (unsigned char)(len >> 8); 364 lenbytes[1] = (unsigned char)(len); 370 || !EVP_MAC_update(ctx, lenbytes, 2) /* Length */ 394 lenbytes[0] = (unsigned char)((len + sizeof(iv)) >> 8); 395 lenbytes[1] = (unsigned char)(len + sizeof(iv)); 396 BIO_write(rbio, lenbytes, 2);
|
| asn1_encode_test.c | 574 size_t lenbytes; local 578 lenbytes = 3; 580 lenbytes = 2; 582 lenbytes = 1; 585 if (lenbytes == 1) { 588 *(*pp)++ = (unsigned char)(lenbytes - 1); 589 if (lenbytes == 2) { 597 return lenbytes;
|
| /src/crypto/external/apache2/openssl/dist/include/internal/ |
| packet.h | 637 size_t lenbytes; member in struct:wpacket_sub 692 * for the whole time that the WPACKET is being used. Additionally |lenbytes| of 696 int WPACKET_init_len(WPACKET *pkt, BUF_MEM *buf, size_t lenbytes); 709 int WPACKET_init_null(WPACKET *pkt, size_t lenbytes); 723 size_t lenbytes); 726 * Same as WPACKET_init_static_len except lenbytes is always 0, and we set the 761 * Initialise a new sub-packet. Additionally |lenbytes| of data is preallocated 765 int WPACKET_start_sub_packet_len__(WPACKET *pkt, size_t lenbytes); 800 * number of length bytes for the sub-packet is in |lenbytes|. Don't call this 804 unsigned char **allocbytes, size_t lenbytes); [all...] |
| /src/crypto/external/bsd/openssl/dist/include/internal/ |
| packet.h | 644 size_t lenbytes; member in struct:wpacket_sub 697 * for the whole time that the WPACKET is being used. Additionally |lenbytes| of 701 int WPACKET_init_len(WPACKET *pkt, BUF_MEM *buf, size_t lenbytes); 714 int WPACKET_init_null(WPACKET *pkt, size_t lenbytes); 728 size_t lenbytes); 731 * Same as WPACKET_init_static_len except lenbytes is always 0, and we set the 766 * Initialise a new sub-packet. Additionally |lenbytes| of data is preallocated 770 int WPACKET_start_sub_packet_len__(WPACKET *pkt, size_t lenbytes); 805 * number of length bytes for the sub-packet is in |lenbytes|. Don't call this 809 unsigned char **allocbytes, size_t lenbytes); [all...] |
| /src/crypto/external/bsd/netpgp/dist/src/libverify/ |
| libverify.c | 269 size_t lenbytes; local 278 lenbytes = 1; 279 for (len = DECODE_PARTIAL(*p) ; IS_PARTIAL(p[len + lenbytes]) ; lenbytes++) { 280 len += DECODE_PARTIAL(p[len + lenbytes]); 282 len += get_pkt_len(newfmt, &p[len + lenbytes], filesize, 1);
|
| /src/crypto/external/bsd/netpgp/dist/src/netpgpverify/ |
| libverify.c | 571 size_t lenbytes; local 580 lenbytes = 1; 581 for (len = DECODE_PARTIAL(*p) ; IS_PARTIAL(p[len + lenbytes]) ; lenbytes++) { 582 len += DECODE_PARTIAL(p[len + lenbytes]); 584 len += get_pkt_len(newfmt, &p[len + lenbytes], filesize, 1);
|