/third_party/node/deps/openssl/openssl/include/internal/ |
H A D | packet.h | 27 } PACKET; typedef 30 static ossl_inline void packet_forward(PACKET *pkt, size_t len) in packet_forward() 37 * Returns the number of bytes remaining to be read in the PACKET 39 static ossl_inline size_t PACKET_remaining(const PACKET *pkt) in PACKET_remaining() 46 * Useful for integrating with non-PACKET parsing code. 50 static ossl_inline const unsigned char *PACKET_end(const PACKET *pkt) in PACKET_end() 56 * Returns a pointer to the PACKET's current position. 59 static ossl_inline const unsigned char *PACKET_data(const PACKET *pkt) in PACKET_data() 65 * Initialise a PACKET with |len| bytes held in |buf|. This does not make a 66 * copy of the data so |buf| must be present for the whole time that the PACKET [all...] |
/third_party/openssl/include/internal/ |
H A D | packet.h | 27 } PACKET; typedef 30 static ossl_inline void packet_forward(PACKET *pkt, size_t len) in packet_forward() 37 * Returns the number of bytes remaining to be read in the PACKET 39 static ossl_inline size_t PACKET_remaining(const PACKET *pkt) in PACKET_remaining() 46 * Useful for integrating with non-PACKET parsing code. 50 static ossl_inline const unsigned char *PACKET_end(const PACKET *pkt) in PACKET_end() 56 * Returns a pointer to the PACKET's current position. 59 static ossl_inline const unsigned char *PACKET_data(const PACKET *pkt) in PACKET_data() 65 * Initialise a PACKET with |len| bytes held in |buf|. This does not make a 66 * copy of the data so |buf| must be present for the whole time that the PACKET [all...] |
/third_party/node/deps/openssl/openssl/ssl/statem/ |
H A D | statem_local.h | 70 int parse_ca_names(SSL *s, PACKET *pkt); 86 MSG_PROCESS_RETURN ossl_statem_client_process_message(SSL *s, PACKET *pkt); 99 MSG_PROCESS_RETURN ossl_statem_server_process_message(SSL *s, PACKET *pkt); 114 __owur MSG_PROCESS_RETURN tls_process_change_cipher_spec(SSL *s, PACKET *pkt); 115 __owur MSG_PROCESS_RETURN tls_process_finished(SSL *s, PACKET *pkt); 121 __owur MSG_PROCESS_RETURN tls_process_key_update(SSL *s, PACKET *pkt); 128 __owur MSG_PROCESS_RETURN tls_process_server_hello(SSL *s, PACKET *pkt); 129 __owur MSG_PROCESS_RETURN tls_process_certificate_request(SSL *s, PACKET *pkt); 130 __owur MSG_PROCESS_RETURN tls_process_new_session_ticket(SSL *s, PACKET *pkt); 131 __owur int tls_process_cert_status_body(SSL *s, PACKET *pk [all...] |
H A D | extensions_srvr.c | 41 int tls_parse_ctos_renegotiate(SSL *s, PACKET *pkt, unsigned int context, in tls_parse_ctos_renegotiate() 94 int tls_parse_ctos_server_name(SSL *s, PACKET *pkt, unsigned int context, in tls_parse_ctos_server_name() 98 PACKET sni, hostname; in tls_parse_ctos_server_name() 166 int tls_parse_ctos_maxfragmentlen(SSL *s, PACKET *pkt, unsigned int context, in tls_parse_ctos_maxfragmentlen() 203 int tls_parse_ctos_srp(SSL *s, PACKET *pkt, unsigned int context, X509 *x, in tls_parse_ctos_srp() 206 PACKET srp_I; in tls_parse_ctos_srp() 223 int tls_parse_ctos_ec_pt_formats(SSL *s, PACKET *pkt, unsigned int context, in tls_parse_ctos_ec_pt_formats() 226 PACKET ec_point_format_list; in tls_parse_ctos_ec_pt_formats() 246 int tls_parse_ctos_session_ticket(SSL *s, PACKET *pkt, unsigned int context, in tls_parse_ctos_session_ticket() 260 int tls_parse_ctos_sig_algs_cert(SSL *s, PACKET *pk [all...] |
H A D | statem_clnt.c | 31 static MSG_PROCESS_RETURN tls_process_as_hello_retry_request(SSL *s, PACKET *pkt); 32 static MSG_PROCESS_RETURN tls_process_encrypted_extensions(SSL *s, PACKET *pkt); 1024 MSG_PROCESS_RETURN ossl_statem_client_process_message(SSL *s, PACKET *pkt) in ossl_statem_client_process_message() 1286 MSG_PROCESS_RETURN dtls_process_hello_verify(SSL *s, PACKET *pkt) in dtls_process_hello_verify() 1289 PACKET cookiepkt; in dtls_process_hello_verify() 1384 MSG_PROCESS_RETURN tls_process_server_hello(SSL *s, PACKET *pkt) in tls_process_server_hello() 1386 PACKET session_id, extpkt; in tls_process_server_hello() 1722 PACKET *extpkt) in tls_process_as_hello_retry_request() 1781 MSG_PROCESS_RETURN tls_process_server_certificate(SSL *s, PACKET *pkt) in tls_process_server_certificate() 1829 PACKET extension in tls_process_server_certificate() [all...] |
H A D | extensions_clnt.c | 853 PACKET prots, alpnpkt; in tls_construct_ctos_early_data() 1243 int tls_parse_stoc_renegotiate(SSL *s, PACKET *pkt, unsigned int context, in tls_parse_stoc_renegotiate() 1297 int tls_parse_stoc_maxfragmentlen(SSL *s, PACKET *pkt, unsigned int context, in tls_parse_stoc_maxfragmentlen() 1335 int tls_parse_stoc_server_name(SSL *s, PACKET *pkt, unsigned int context, in tls_parse_stoc_server_name() 1363 int tls_parse_stoc_ec_pt_formats(SSL *s, PACKET *pkt, unsigned int context, in tls_parse_stoc_ec_pt_formats() 1367 PACKET ecptformatlist; in tls_parse_stoc_ec_pt_formats() 1402 int tls_parse_stoc_session_ticket(SSL *s, PACKET *pkt, unsigned int context, in tls_parse_stoc_session_ticket() 1428 int tls_parse_stoc_status_request(SSL *s, PACKET *pkt, unsigned int context, in tls_parse_stoc_status_request() 1469 int tls_parse_stoc_sct(SSL *s, PACKET *pkt, unsigned int context, X509 *x, in tls_parse_stoc_sct() 1537 static int ssl_next_proto_validate(SSL *s, PACKET *pk [all...] |
H A D | extensions.c | 42 static int tls_parse_certificate_authorities(SSL *s, PACKET *pkt, 83 int (*parse_ctos)(SSL *s, PACKET *pkt, unsigned int context, X509 *x, 86 int (*parse_stoc)(SSL *s, PACKET *pkt, unsigned int context, X509 *x, 589 int tls_collect_extensions(SSL *s, PACKET *packet, unsigned int context, in tls_collect_extensions() 592 PACKET extensions = *packet; in tls_collect_extensions() 618 PACKET extension; in tls_collect_extensions() 724 int (*parser)(SSL *s, PACKET *pkt, unsigned int context, X509 *x, in tls_parse_extension() 1286 static int tls_parse_certificate_authorities(SSL *s, PACKET *pkt, in tls_parse_certificate_authorities() 1605 PACKET hashprefix, msg; in tls_psk_do_binder()
|
H A D | statem_srvr.c | 1190 MSG_PROCESS_RETURN ossl_statem_server_process_message(SSL *s, PACKET *pkt) in ossl_statem_server_process_message() 1361 PACKET sni, tmppkt; in ssl_check_for_safari() 1386 MSG_PROCESS_RETURN tls_process_client_hello(SSL *s, PACKET *pkt) in tls_process_client_hello() 1389 PACKET session_id, compression, extensions, cookie; in tls_process_client_hello() 1471 PACKET challenge; in tls_process_client_hello() 1587 /* Preserve the raw extensions PACKET for later use */ in tls_process_client_hello() 2819 static int tls_process_cke_psk_preamble(SSL *s, PACKET *pkt) in tls_process_cke_psk_preamble() 2824 PACKET psk_identity; in tls_process_cke_psk_preamble() 2878 static int tls_process_cke_rsa(SSL *s, PACKET *pkt) in tls_process_cke_rsa() 2881 PACKET enc_premaste in tls_process_cke_rsa() [all...] |
H A D | statem_lib.c | 418 MSG_PROCESS_RETURN tls_process_cert_verify(SSL *s, PACKET *pkt) in tls_process_cert_verify() 681 MSG_PROCESS_RETURN tls_process_key_update(SSL *s, PACKET *pkt) in tls_process_key_update() 762 MSG_PROCESS_RETURN tls_process_change_cipher_spec(SSL *s, PACKET *pkt) in tls_process_change_cipher_spec() 818 MSG_PROCESS_RETURN tls_process_finished(SSL *s, PACKET *pkt) in tls_process_finished() 1841 PACKET versionslist; in ssl_choose_server_version() 2279 int parse_ca_names(SSL *s, PACKET *pkt) in parse_ca_names() 2283 PACKET cadns; in parse_ca_names()
|
/third_party/openssl/ssl/statem/ |
H A D | statem_local.h | 70 int parse_ca_names(SSL *s, PACKET *pkt); 86 MSG_PROCESS_RETURN ossl_statem_client_process_message(SSL *s, PACKET *pkt); 99 MSG_PROCESS_RETURN ossl_statem_server_process_message(SSL *s, PACKET *pkt); 110 __owur MSG_PROCESS_RETURN tls_process_change_cipher_spec(SSL *s, PACKET *pkt); 111 __owur MSG_PROCESS_RETURN tls_process_finished(SSL *s, PACKET *pkt); 117 __owur MSG_PROCESS_RETURN tls_process_key_update(SSL *s, PACKET *pkt); 124 __owur MSG_PROCESS_RETURN tls_process_server_hello(SSL *s, PACKET *pkt); 125 __owur MSG_PROCESS_RETURN tls_process_certificate_request(SSL *s, PACKET *pkt); 126 __owur MSG_PROCESS_RETURN tls_process_new_session_ticket(SSL *s, PACKET *pkt); 127 __owur int tls_process_cert_status_body(SSL *s, PACKET *pk [all...] |
H A D | extensions_srvr.c | 41 int tls_parse_ctos_renegotiate(SSL *s, PACKET *pkt, unsigned int context, in tls_parse_ctos_renegotiate() 94 int tls_parse_ctos_server_name(SSL *s, PACKET *pkt, unsigned int context, in tls_parse_ctos_server_name() 98 PACKET sni, hostname; in tls_parse_ctos_server_name() 166 int tls_parse_ctos_maxfragmentlen(SSL *s, PACKET *pkt, unsigned int context, in tls_parse_ctos_maxfragmentlen() 203 int tls_parse_ctos_srp(SSL *s, PACKET *pkt, unsigned int context, X509 *x, in tls_parse_ctos_srp() 206 PACKET srp_I; in tls_parse_ctos_srp() 223 int tls_parse_ctos_ec_pt_formats(SSL *s, PACKET *pkt, unsigned int context, in tls_parse_ctos_ec_pt_formats() 226 PACKET ec_point_format_list; in tls_parse_ctos_ec_pt_formats() 246 int tls_parse_ctos_session_ticket(SSL *s, PACKET *pkt, unsigned int context, in tls_parse_ctos_session_ticket() 260 int tls_parse_ctos_sig_algs_cert(SSL *s, PACKET *pk [all...] |
H A D | statem_clnt.c | 31 static MSG_PROCESS_RETURN tls_process_as_hello_retry_request(SSL *s, PACKET *pkt); 32 static MSG_PROCESS_RETURN tls_process_encrypted_extensions(SSL *s, PACKET *pkt); 1016 MSG_PROCESS_RETURN ossl_statem_client_process_message(SSL *s, PACKET *pkt) in ossl_statem_client_process_message() 1278 MSG_PROCESS_RETURN dtls_process_hello_verify(SSL *s, PACKET *pkt) in dtls_process_hello_verify() 1281 PACKET cookiepkt; in dtls_process_hello_verify() 1376 MSG_PROCESS_RETURN tls_process_server_hello(SSL *s, PACKET *pkt) in tls_process_server_hello() 1378 PACKET session_id, extpkt; in tls_process_server_hello() 1714 PACKET *extpkt) in tls_process_as_hello_retry_request() 1773 MSG_PROCESS_RETURN tls_process_server_certificate(SSL *s, PACKET *pkt) in tls_process_server_certificate() 1821 PACKET extension in tls_process_server_certificate() [all...] |
H A D | extensions_clnt.c | 853 PACKET prots, alpnpkt; in tls_construct_ctos_early_data() 1203 int tls_parse_stoc_renegotiate(SSL *s, PACKET *pkt, unsigned int context, in tls_parse_stoc_renegotiate() 1257 int tls_parse_stoc_maxfragmentlen(SSL *s, PACKET *pkt, unsigned int context, in tls_parse_stoc_maxfragmentlen() 1295 int tls_parse_stoc_server_name(SSL *s, PACKET *pkt, unsigned int context, in tls_parse_stoc_server_name() 1323 int tls_parse_stoc_ec_pt_formats(SSL *s, PACKET *pkt, unsigned int context, in tls_parse_stoc_ec_pt_formats() 1327 PACKET ecptformatlist; in tls_parse_stoc_ec_pt_formats() 1362 int tls_parse_stoc_session_ticket(SSL *s, PACKET *pkt, unsigned int context, in tls_parse_stoc_session_ticket() 1388 int tls_parse_stoc_status_request(SSL *s, PACKET *pkt, unsigned int context, in tls_parse_stoc_status_request() 1429 int tls_parse_stoc_sct(SSL *s, PACKET *pkt, unsigned int context, X509 *x, in tls_parse_stoc_sct() 1497 static int ssl_next_proto_validate(SSL *s, PACKET *pk [all...] |
H A D | extensions.c | 42 static int tls_parse_certificate_authorities(SSL *s, PACKET *pkt, 78 int (*parse_ctos)(SSL *s, PACKET *pkt, unsigned int context, X509 *x, 81 int (*parse_stoc)(SSL *s, PACKET *pkt, unsigned int context, X509 *x, 561 int tls_collect_extensions(SSL *s, PACKET *packet, unsigned int context, in tls_collect_extensions() 564 PACKET extensions = *packet; in tls_collect_extensions() 590 PACKET extension; in tls_collect_extensions() 696 int (*parser)(SSL *s, PACKET *pkt, unsigned int context, X509 *x, in tls_parse_extension() 1258 static int tls_parse_certificate_authorities(SSL *s, PACKET *pkt, in tls_parse_certificate_authorities() 1573 PACKET hashprefix, msg; in tls_psk_do_binder()
|
H A D | statem_srvr.c | 1179 MSG_PROCESS_RETURN ossl_statem_server_process_message(SSL *s, PACKET *pkt) in ossl_statem_server_process_message() 1350 PACKET sni, tmppkt; in ssl_check_for_safari() 1375 MSG_PROCESS_RETURN tls_process_client_hello(SSL *s, PACKET *pkt) in tls_process_client_hello() 1378 PACKET session_id, compression, extensions, cookie; in tls_process_client_hello() 1460 PACKET challenge; in tls_process_client_hello() 1567 /* Preserve the raw extensions PACKET for later use */ in tls_process_client_hello() 2798 static int tls_process_cke_psk_preamble(SSL *s, PACKET *pkt) in tls_process_cke_psk_preamble() 2803 PACKET psk_identity; in tls_process_cke_psk_preamble() 2857 static int tls_process_cke_rsa(SSL *s, PACKET *pkt) in tls_process_cke_rsa() 2860 PACKET enc_premaste in tls_process_cke_rsa() [all...] |
H A D | statem_lib.c | 397 MSG_PROCESS_RETURN tls_process_cert_verify(SSL *s, PACKET *pkt) in tls_process_cert_verify() 653 MSG_PROCESS_RETURN tls_process_key_update(SSL *s, PACKET *pkt) in tls_process_key_update() 727 MSG_PROCESS_RETURN tls_process_change_cipher_spec(SSL *s, PACKET *pkt) in tls_process_change_cipher_spec() 783 MSG_PROCESS_RETURN tls_process_finished(SSL *s, PACKET *pkt) in tls_process_finished() 1806 PACKET versionslist; in ssl_choose_server_version() 2244 int parse_ca_names(SSL *s, PACKET *pkt) in parse_ca_names() 2248 PACKET cadns; in parse_ca_names()
|
/third_party/openssl/test/ |
H A D | packettest.c | 19 PACKET pkt; in test_PACKET_remaining() 34 PACKET pkt; in test_PACKET_end() 51 PACKET pkt; in test_PACKET_get_1() 68 PACKET pkt; in test_PACKET_get_4() 85 PACKET pkt; in test_PACKET_get_net_2() 102 PACKET pkt; in test_PACKET_get_net_3() 119 PACKET pkt; in test_PACKET_get_net_4() 135 PACKET pkt, subpkt; in test_PACKET_get_sub_packet() 157 PACKET pkt; in test_PACKET_get_bytes() 181 PACKET pk in test_PACKET_copy_bytes() [all...] |
H A D | asynciotest.c | 143 PACKET pkt; in async_write() 149 PACKET payload, wholebody, sessionid, extensions; in async_write() 191 PACKET extbody; in async_write()
|
H A D | clienthellotest.c | 67 PACKET pkt, pkt2, pkt3; in test_client_hello()
|
/third_party/node/deps/openssl/openssl/crypto/ |
H A D | asn1_dsa.c | 155 int ossl_decode_der_length(PACKET *pkt, PACKET *subpkt) in ossl_decode_der_length() 183 * If the PACKET is supposed to only contain a single INTEGER value with no 187 int ossl_decode_der_integer(PACKET *pkt, BIGNUM *n) in ossl_decode_der_integer() 189 PACKET contpkt, tmppkt; in ossl_decode_der_integer() 237 PACKET pkt, contpkt; in ossl_decode_der_dsa_sig()
|
/third_party/openssl/crypto/ |
H A D | asn1_dsa.c | 155 int ossl_decode_der_length(PACKET *pkt, PACKET *subpkt) in ossl_decode_der_length() 183 * If the PACKET is supposed to only contain a single INTEGER value with no 187 int ossl_decode_der_integer(PACKET *pkt, BIGNUM *n) in ossl_decode_der_integer() 189 PACKET contpkt, tmppkt; in ossl_decode_der_integer() 237 PACKET pkt, contpkt; in ossl_decode_der_dsa_sig()
|
/third_party/node/deps/openssl/openssl/include/crypto/ |
H A D | asn1_dsa.h | 19 int ossl_decode_der_length(PACKET *pkt, PACKET *subpkt); 20 int ossl_decode_der_integer(PACKET *pkt, BIGNUM *n);
|
/third_party/openssl/include/crypto/ |
H A D | asn1_dsa.h | 19 int ossl_decode_der_length(PACKET *pkt, PACKET *subpkt); 20 int ossl_decode_der_integer(PACKET *pkt, BIGNUM *n);
|
/third_party/node/deps/openssl/openssl/ssl/ |
H A D | ssl_rsa.c | 548 PACKET pkt, data; in serverinfo_find_extension() 651 PACKET pkt; in serverinfo_process_buffer() 665 PACKET data; in serverinfo_process_buffer()
|
/third_party/openssl/ssl/ |
H A D | ssl_rsa.c | 548 PACKET pkt, data; in serverinfo_find_extension() 651 PACKET pkt; in serverinfo_process_buffer() 665 PACKET data; in serverinfo_process_buffer()
|