| /src/crypto/external/apache2/openssl/dist/test/ |
| packettest.c | 135 PACKET pkt, subpkt; local 139 || !TEST_true(PACKET_get_sub_packet(&pkt, &subpkt, 4)) 140 || !TEST_true(PACKET_get_net_4(&subpkt, &i)) 142 || !TEST_size_t_eq(PACKET_remaining(&subpkt), 0) 144 || !TEST_true(PACKET_get_sub_packet(&pkt, &subpkt, 4)) 145 || !TEST_true(PACKET_get_net_4(&subpkt, &i)) 147 || !TEST_size_t_eq(PACKET_remaining(&subpkt), 0) 148 || !TEST_false(PACKET_get_sub_packet(&pkt, &subpkt, 4))) 353 PACKET pkt, short_pkt, subpkt; local 355 memset(&subpkt, 0, sizeof(subpkt)) 378 PACKET pkt, short_pkt, subpkt; local 402 PACKET pkt, short_pkt, subpkt; local 426 PACKET pkt, exact_pkt, subpkt; local 450 PACKET pkt, exact_pkt, subpkt; local 543 PACKET pkt, subpkt = { 0 }; local [all...] |
| /src/crypto/external/bsd/openssl/dist/test/ |
| packettest.c | 135 PACKET pkt, subpkt; local 139 || !TEST_true(PACKET_get_sub_packet(&pkt, &subpkt, 4)) 140 || !TEST_true(PACKET_get_net_4(&subpkt, &i)) 142 || !TEST_size_t_eq(PACKET_remaining(&subpkt), 0) 144 || !TEST_true(PACKET_get_sub_packet(&pkt, &subpkt, 4)) 145 || !TEST_true(PACKET_get_net_4(&subpkt, &i)) 147 || !TEST_size_t_eq(PACKET_remaining(&subpkt), 0) 148 || !TEST_false(PACKET_get_sub_packet(&pkt, &subpkt, 4))) 353 PACKET pkt, short_pkt, subpkt; local 355 memset(&subpkt, 0, sizeof(subpkt)) 378 PACKET pkt, short_pkt, subpkt; local 402 PACKET pkt, short_pkt, subpkt; local 426 PACKET pkt, exact_pkt, subpkt; local 450 PACKET pkt, exact_pkt, subpkt; local [all...] |
| /src/crypto/external/apache2/openssl/dist/include/crypto/ |
| asn1_dsa.h | 19 int ossl_decode_der_length(PACKET *pkt, PACKET *subpkt);
|
| /src/crypto/external/bsd/openssl/dist/include/crypto/ |
| asn1_dsa.h | 19 int ossl_decode_der_length(PACKET *pkt, PACKET *subpkt);
|
| /src/crypto/external/bsd/openssl.old/dist/test/ |
| packettest.c | 135 PACKET pkt, subpkt; local 139 || !TEST_true(PACKET_get_sub_packet(&pkt, &subpkt, 4)) 140 || !TEST_true(PACKET_get_net_4(&subpkt, &i)) 142 || !TEST_size_t_eq(PACKET_remaining(&subpkt), 0) 144 || !TEST_true(PACKET_get_sub_packet(&pkt, &subpkt, 4)) 145 || !TEST_true(PACKET_get_net_4(&subpkt, &i)) 147 || !TEST_size_t_eq(PACKET_remaining(&subpkt), 0) 148 || !TEST_false(PACKET_get_sub_packet(&pkt, &subpkt, 4))) 353 PACKET pkt, short_pkt, subpkt = {0}; local 361 || !TEST_true(PACKET_get_length_prefixed_1(&pkt, &subpkt)) 377 PACKET pkt, short_pkt, subpkt = {0}; local 400 PACKET pkt, short_pkt, subpkt = {0}; local 423 PACKET pkt, exact_pkt, subpkt = {0}; local 446 PACKET pkt, exact_pkt, subpkt = {0}; local [all...] |
| /src/crypto/external/apache2/openssl/dist/include/internal/ |
| packet_quic.h | 95 * denoting the length, and stores the contents in |subpkt|. |pkt| can equal 96 * |subpkt|. Data is not copied: the |subpkt| packet will share its underlying 98 * |subpkt|. Upon failure, the original |pkt| and |subpkt| are not modified. 101 PACKET *subpkt) 112 subpkt->curr = data; 113 subpkt->remaining = (size_t)length;
|
| packet.h | 103 * Peek ahead and initialize |subpkt| with the next |len| bytes read from |pkt|. 104 * Data is not copied: the |subpkt| packet will share its underlying buffer with 105 * the original |pkt|, so data wrapped by |pkt| must outlive the |subpkt|. 108 PACKET *subpkt, size_t len) 113 return PACKET_buf_init(subpkt, pkt->curr, len); 117 * Initialize |subpkt| with the next |len| bytes read from |pkt|. Data is not 118 * copied: the |subpkt| packet will share its underlying buffer with the 119 * original |pkt|, so data wrapped by |pkt| must outlive the |subpkt|. 122 PACKET *subpkt, size_t len) 124 if (!PACKET_peek_sub_packet(pkt, subpkt, len) [all...] |
| /src/crypto/external/bsd/openssl/dist/include/internal/ |
| packet.h | 103 * Peek ahead and initialize |subpkt| with the next |len| bytes read from |pkt|. 104 * Data is not copied: the |subpkt| packet will share its underlying buffer with 105 * the original |pkt|, so data wrapped by |pkt| must outlive the |subpkt|. 108 PACKET *subpkt, size_t len) 113 return PACKET_buf_init(subpkt, pkt->curr, len); 117 * Initialize |subpkt| with the next |len| bytes read from |pkt|. Data is not 118 * copied: the |subpkt| packet will share its underlying buffer with the 119 * original |pkt|, so data wrapped by |pkt| must outlive the |subpkt|. 122 PACKET *subpkt, size_t len) 124 if (!PACKET_peek_sub_packet(pkt, subpkt, len) [all...] |
| /src/crypto/external/bsd/openssl.old/dist/ssl/ |
| packet_local.h | 102 * Peek ahead and initialize |subpkt| with the next |len| bytes read from |pkt|. 103 * Data is not copied: the |subpkt| packet will share its underlying buffer with 104 * the original |pkt|, so data wrapped by |pkt| must outlive the |subpkt|. 107 PACKET *subpkt, size_t len) 112 return PACKET_buf_init(subpkt, pkt->curr, len); 116 * Initialize |subpkt| with the next |len| bytes read from |pkt|. Data is not 117 * copied: the |subpkt| packet will share its underlying buffer with the 118 * original |pkt|, so data wrapped by |pkt| must outlive the |subpkt|. 121 PACKET *subpkt, size_t len) 123 if (!PACKET_peek_sub_packet(pkt, subpkt, len) [all...] |
| /src/crypto/external/apache2/openssl/dist/crypto/ |
| asn1_dsa.c | 150 * Decodes the DER length octets in pkt and initialises subpkt with the 155 int ossl_decode_der_length(PACKET *pkt, PACKET *subpkt) 163 return PACKET_get_sub_packet(pkt, subpkt, (size_t)byte); 165 return PACKET_get_length_prefixed_1(pkt, subpkt); 167 return PACKET_get_length_prefixed_2(pkt, subpkt);
|
| /src/crypto/external/bsd/openssl/dist/crypto/ |
| asn1_dsa.c | 150 * Decodes the DER length octets in pkt and initialises subpkt with the 155 int ossl_decode_der_length(PACKET *pkt, PACKET *subpkt) 163 return PACKET_get_sub_packet(pkt, subpkt, (size_t)byte); 165 return PACKET_get_length_prefixed_1(pkt, subpkt); 167 return PACKET_get_length_prefixed_2(pkt, subpkt);
|
| /src/crypto/external/apache2/openssl/dist/ssl/quic/ |
| quic_port.c | 1047 PACKET pkt, subpkt; local 1060 && (!PACKET_get_length_prefixed_1(&pkt, &subpkt) 1061 || (token->odcid.id_len = (unsigned char)PACKET_remaining(&subpkt)) 1063 || !PACKET_copy_bytes(&subpkt, 1066 || !PACKET_get_length_prefixed_1(&pkt, &subpkt) 1067 || (token->rscid.id_len = (unsigned char)PACKET_remaining(&subpkt)) 1069 || !PACKET_copy_bytes(&subpkt, (unsigned char *)&token->rscid.id, 1071 || !PACKET_get_length_prefixed_1(&pkt, &subpkt) 1072 || (token->remote_addr_len = PACKET_remaining(&subpkt)) == 0 1074 || !PACKET_copy_bytes(&subpkt, token->remote_addr, token->remote_addr_len [all...] |
| /src/crypto/external/bsd/netpgp/dist/src/libverify/ |
| libverify.c | 702 pgpv_sigsubpkt_t subpkt; local 704 memset(&subpkt, 0x0, sizeof(subpkt)); 705 subpkt.s.size = len; 706 subpkt.critical = 0; 707 subpkt.tag = tag; 708 subpkt.s.data = p; 709 ARRAY_APPEND(sigpkt->subpkts, subpkt); 717 pgpv_sigsubpkt_t subpkt; local 725 memset(&subpkt, 0x0, sizeof(subpkt)) [all...] |
| /src/crypto/external/bsd/netpgp/dist/src/netpgpverify/ |
| libverify.c | 1087 pgpv_sigsubpkt_t subpkt; local 1089 memset(&subpkt, 0x0, sizeof(subpkt)); 1090 subpkt.s.size = len; 1091 subpkt.critical = 0; 1092 subpkt.tag = tag; 1093 subpkt.s.data = p; 1095 ARRAY_APPEND(pgp->subpkts, subpkt); 1103 pgpv_sigsubpkt_t subpkt; local 1111 memset(&subpkt, 0x0, sizeof(subpkt)) [all...] |
| /src/crypto/external/bsd/openssl/dist/ssl/statem/ |
| extensions_srvr.c | 471 PACKET subpkt; local 479 || !PACKET_get_sub_packet(pkt, &subpkt, ct)) { 490 while (PACKET_remaining(&subpkt)) { 491 if (!PACKET_get_net_2(&subpkt, &id)) {
|
| /src/crypto/external/bsd/openssl.old/dist/ssl/statem/ |
| extensions_srvr.c | 510 PACKET subpkt; local 518 || !PACKET_get_sub_packet(pkt, &subpkt, ct)) { 529 while (PACKET_remaining(&subpkt)) { 530 if (!PACKET_get_net_2(&subpkt, &id)) {
|
| /src/crypto/external/bsd/openssl/dist/ssl/ |
| t1_enc.c | 113 PACKET pkt, subpkt; local 125 if (!PACKET_get_length_prefixed_2(&pkt, &subpkt))
|
| /src/crypto/external/apache2/openssl/dist/ssl/statem/ |
| extensions_srvr.c | 494 PACKET subpkt; local 503 || !PACKET_get_sub_packet(pkt, &subpkt, ct)) { 514 while (PACKET_remaining(&subpkt)) { 515 if (!PACKET_get_net_2(&subpkt, &id)) {
|