/third_party/openssl/test/ |
D | packettest.c | 135 PACKET pkt, subpkt; in test_PACKET_get_sub_packet() local 139 || !TEST_true(PACKET_get_sub_packet(&pkt, &subpkt, 4)) in test_PACKET_get_sub_packet() 140 || !TEST_true(PACKET_get_net_4(&subpkt, &i)) in test_PACKET_get_sub_packet() 142 || !TEST_size_t_eq(PACKET_remaining(&subpkt), 0) in test_PACKET_get_sub_packet() 144 || !TEST_true(PACKET_get_sub_packet(&pkt, &subpkt, 4)) in test_PACKET_get_sub_packet() 145 || !TEST_true(PACKET_get_net_4(&subpkt, &i)) in test_PACKET_get_sub_packet() 147 || !TEST_size_t_eq(PACKET_remaining(&subpkt), 0) in test_PACKET_get_sub_packet() 148 || !TEST_false(PACKET_get_sub_packet(&pkt, &subpkt, 4))) in test_PACKET_get_sub_packet() 353 PACKET pkt, short_pkt, subpkt; in test_PACKET_get_length_prefixed_1() local 355 memset(&subpkt, 0, sizeof(subpkt)); in test_PACKET_get_length_prefixed_1() [all …]
|
/third_party/openssl/include/internal/ |
D | packet.h | 108 PACKET *subpkt, size_t len) in PACKET_peek_sub_packet() argument 113 return PACKET_buf_init(subpkt, pkt->curr, len); in PACKET_peek_sub_packet() 122 PACKET *subpkt, size_t len) in PACKET_get_sub_packet() argument 124 if (!PACKET_peek_sub_packet(pkt, subpkt, len)) in PACKET_get_sub_packet() 515 PACKET *subpkt) in PACKET_get_length_prefixed_1() argument 526 subpkt->curr = data; in PACKET_get_length_prefixed_1() 527 subpkt->remaining = length; in PACKET_get_length_prefixed_1() 537 PACKET *subpkt) in PACKET_as_length_prefixed_1() argument 549 subpkt->curr = data; in PACKET_as_length_prefixed_1() 550 subpkt->remaining = length; in PACKET_as_length_prefixed_1() [all …]
|
/third_party/node/deps/openssl/openssl/include/internal/ |
D | packet.h | 108 PACKET *subpkt, size_t len) in PACKET_peek_sub_packet() argument 113 return PACKET_buf_init(subpkt, pkt->curr, len); in PACKET_peek_sub_packet() 122 PACKET *subpkt, size_t len) in PACKET_get_sub_packet() argument 124 if (!PACKET_peek_sub_packet(pkt, subpkt, len)) in PACKET_get_sub_packet() 515 PACKET *subpkt) in PACKET_get_length_prefixed_1() argument 526 subpkt->curr = data; in PACKET_get_length_prefixed_1() 527 subpkt->remaining = length; in PACKET_get_length_prefixed_1() 537 PACKET *subpkt) in PACKET_as_length_prefixed_1() argument 549 subpkt->curr = data; in PACKET_as_length_prefixed_1() 550 subpkt->remaining = length; in PACKET_as_length_prefixed_1() [all …]
|
/third_party/openssl/crypto/ |
D | asn1_dsa.c | 155 int ossl_decode_der_length(PACKET *pkt, PACKET *subpkt) in ossl_decode_der_length() argument 163 return PACKET_get_sub_packet(pkt, subpkt, (size_t)byte); in ossl_decode_der_length() 165 return PACKET_get_length_prefixed_1(pkt, subpkt); in ossl_decode_der_length() 167 return PACKET_get_length_prefixed_2(pkt, subpkt); in ossl_decode_der_length()
|
/third_party/node/deps/openssl/openssl/crypto/ |
D | asn1_dsa.c | 155 int ossl_decode_der_length(PACKET *pkt, PACKET *subpkt) in ossl_decode_der_length() argument 163 return PACKET_get_sub_packet(pkt, subpkt, (size_t)byte); in ossl_decode_der_length() 165 return PACKET_get_length_prefixed_1(pkt, subpkt); in ossl_decode_der_length() 167 return PACKET_get_length_prefixed_2(pkt, subpkt); in ossl_decode_der_length()
|
/third_party/node/deps/openssl/openssl/include/crypto/ |
D | asn1_dsa.h | 19 int ossl_decode_der_length(PACKET *pkt, PACKET *subpkt);
|
/third_party/openssl/include/crypto/ |
D | asn1_dsa.h | 19 int ossl_decode_der_length(PACKET *pkt, PACKET *subpkt);
|
/third_party/openssl/ssl/statem/ |
D | extensions_srvr.c | 466 PACKET subpkt; in tls_parse_ctos_use_srtp() local 474 || !PACKET_get_sub_packet(pkt, &subpkt, ct)) { in tls_parse_ctos_use_srtp() 485 while (PACKET_remaining(&subpkt)) { in tls_parse_ctos_use_srtp() 486 if (!PACKET_get_net_2(&subpkt, &id)) { in tls_parse_ctos_use_srtp()
|
/third_party/node/deps/openssl/openssl/ssl/statem/ |
D | extensions_srvr.c | 466 PACKET subpkt; in tls_parse_ctos_use_srtp() local 474 || !PACKET_get_sub_packet(pkt, &subpkt, ct)) { in tls_parse_ctos_use_srtp() 485 while (PACKET_remaining(&subpkt)) { in tls_parse_ctos_use_srtp() 486 if (!PACKET_get_net_2(&subpkt, &id)) { in tls_parse_ctos_use_srtp()
|
/third_party/node/deps/openssl/openssl/ssl/ |
D | t1_enc.c | 113 PACKET pkt, subpkt; in count_unprocessed_records() local 125 if (!PACKET_get_length_prefixed_2(&pkt, &subpkt)) in count_unprocessed_records()
|
/third_party/openssl/ssl/ |
D | t1_enc.c | 113 PACKET pkt, subpkt; in count_unprocessed_records() local 125 if (!PACKET_get_length_prefixed_2(&pkt, &subpkt)) in count_unprocessed_records()
|