Home
last modified time | relevance | path

Searched refs:subpkt (Results 1 - 11 of 11) sorted by relevance

/third_party/openssl/test/
H A Dpackettest.c135 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, in test_PACKET_get_length_prefixed_1()
378 PACKET pkt, short_pkt, subpkt; test_PACKET_get_length_prefixed_2() local
402 PACKET pkt, short_pkt, subpkt; test_PACKET_get_length_prefixed_3() local
426 PACKET pkt, exact_pkt, subpkt; test_PACKET_as_length_prefixed_1() local
450 PACKET pkt, exact_pkt, subpkt; test_PACKET_as_length_prefixed_2() local
[all...]
/third_party/node/deps/openssl/openssl/include/internal/
H A Dpacket.h103 * 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) in PACKET_peek_sub_packet()
113 return PACKET_buf_init(subpkt, pkt->curr, len); in PACKET_peek_sub_packet()
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) in PACKET_get_sub_packet()
124 if (!PACKET_peek_sub_packet(pkt, subpkt, le in PACKET_get_sub_packet()
107 PACKET_peek_sub_packet(const PACKET *pkt, PACKET *subpkt, size_t len) PACKET_peek_sub_packet() argument
121 PACKET_get_sub_packet(PACKET *pkt, PACKET *subpkt, size_t len) PACKET_get_sub_packet() argument
514 PACKET_get_length_prefixed_1(PACKET *pkt, PACKET *subpkt) PACKET_get_length_prefixed_1() argument
536 PACKET_as_length_prefixed_1(PACKET *pkt, PACKET *subpkt) PACKET_as_length_prefixed_1() argument
562 PACKET_get_length_prefixed_2(PACKET *pkt, PACKET *subpkt) PACKET_get_length_prefixed_2() argument
585 PACKET_as_length_prefixed_2(PACKET *pkt, PACKET *subpkt) PACKET_as_length_prefixed_2() argument
612 PACKET_get_length_prefixed_3(PACKET *pkt, PACKET *subpkt) PACKET_get_length_prefixed_3() argument
[all...]
/third_party/openssl/include/internal/
H A Dpacket.h103 * 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) in PACKET_peek_sub_packet()
113 return PACKET_buf_init(subpkt, pkt->curr, len); in PACKET_peek_sub_packet()
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) in PACKET_get_sub_packet()
124 if (!PACKET_peek_sub_packet(pkt, subpkt, le in PACKET_get_sub_packet()
107 PACKET_peek_sub_packet(const PACKET *pkt, PACKET *subpkt, size_t len) PACKET_peek_sub_packet() argument
121 PACKET_get_sub_packet(PACKET *pkt, PACKET *subpkt, size_t len) PACKET_get_sub_packet() argument
514 PACKET_get_length_prefixed_1(PACKET *pkt, PACKET *subpkt) PACKET_get_length_prefixed_1() argument
536 PACKET_as_length_prefixed_1(PACKET *pkt, PACKET *subpkt) PACKET_as_length_prefixed_1() argument
562 PACKET_get_length_prefixed_2(PACKET *pkt, PACKET *subpkt) PACKET_get_length_prefixed_2() argument
585 PACKET_as_length_prefixed_2(PACKET *pkt, PACKET *subpkt) PACKET_as_length_prefixed_2() argument
612 PACKET_get_length_prefixed_3(PACKET *pkt, PACKET *subpkt) PACKET_get_length_prefixed_3() argument
[all...]
/third_party/node/deps/openssl/openssl/crypto/
H A Dasn1_dsa.c150 * Decodes the DER length octets in pkt and initialises subpkt with the
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/openssl/crypto/
H A Dasn1_dsa.c150 * Decodes the DER length octets in pkt and initialises subpkt with the
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/
H A Dasn1_dsa.h19 int ossl_decode_der_length(PACKET *pkt, PACKET *subpkt);
/third_party/openssl/include/crypto/
H A Dasn1_dsa.h19 int ossl_decode_der_length(PACKET *pkt, PACKET *subpkt);
/third_party/node/deps/openssl/openssl/ssl/
H A Dt1_enc.c113 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/
H A Dt1_enc.c113 PACKET pkt, subpkt; in count_unprocessed_records() local
125 if (!PACKET_get_length_prefixed_2(&pkt, &subpkt)) in count_unprocessed_records()
/third_party/node/deps/openssl/openssl/ssl/statem/
H A Dextensions_srvr.c466 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/openssl/ssl/statem/
H A Dextensions_srvr.c466 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()

Completed in 12 milliseconds