Home
last modified time | relevance | path

Searched refs:PACKET (Results 1 – 25 of 60) sorted by relevance

123

/netbsd-src/crypto/external/bsd/openssl.old/dist/ssl/
H A Dpacket_local.h26 } PACKET; typedef
29 static ossl_inline void packet_forward(PACKET *pkt, size_t len) in packet_forward()
38 static ossl_inline size_t PACKET_remaining(const PACKET *pkt) in PACKET_remaining()
49 static ossl_inline const unsigned char *PACKET_end(const PACKET *pkt) in PACKET_end()
58 static ossl_inline const unsigned char *PACKET_data(const PACKET *pkt) in PACKET_data()
68 __owur static ossl_inline int PACKET_buf_init(PACKET *pkt, in PACKET_buf_init()
82 static ossl_inline void PACKET_null_init(PACKET *pkt) in PACKET_null_init()
93 __owur static ossl_inline int PACKET_equal(const PACKET *pkt, const void *ptr, in PACKET_equal()
106 __owur static ossl_inline int PACKET_peek_sub_packet(const PACKET *pkt, in PACKET_peek_sub_packet()
107 PACKET *subpkt, size_t len) in PACKET_peek_sub_packet()
[all …]
H A Dssl_local.h661 PACKET data;
680 PACKET ciphersuites;
683 PACKET extensions;
2275 __owur int ssl_cache_cipherlist(SSL *s, PACKET *cipher_suites, int sslv2format);
2276 __owur int bytes_to_cipher_list(SSL *s, PACKET *cipher_suites,
2573 __owur int tls1_save_u16(PACKET *pkt, uint16_t **pdest, size_t *pdestlen);
2574 __owur int tls1_save_sigalgs(SSL *s, PACKET *pkt, int cert);
/netbsd-src/crypto/external/bsd/openssl/dist/include/internal/
H A Dpacket.h27 } PACKET; typedef
30 static ossl_inline void packet_forward(PACKET *pkt, size_t len) in packet_forward()
39 static ossl_inline size_t PACKET_remaining(const PACKET *pkt) in PACKET_remaining()
50 static ossl_inline const unsigned char *PACKET_end(const PACKET *pkt) in PACKET_end()
59 static ossl_inline const unsigned char *PACKET_data(const PACKET *pkt) in PACKET_data()
69 __owur static ossl_inline int PACKET_buf_init(PACKET *pkt, in PACKET_buf_init()
83 static ossl_inline void PACKET_null_init(PACKET *pkt) in PACKET_null_init()
94 __owur static ossl_inline int PACKET_equal(const PACKET *pkt, const void *ptr, in PACKET_equal()
107 __owur static ossl_inline int PACKET_peek_sub_packet(const PACKET *pkt, in PACKET_peek_sub_packet()
108 PACKET *subpkt, size_t len) in PACKET_peek_sub_packet()
[all …]
/netbsd-src/crypto/external/bsd/openssl.old/dist/ssl/statem/
H A Dstatem_local.h62 int parse_ca_names(SSL *s, PACKET *pkt);
78 MSG_PROCESS_RETURN ossl_statem_client_process_message(SSL *s, PACKET *pkt);
91 MSG_PROCESS_RETURN ossl_statem_server_process_message(SSL *s, PACKET *pkt);
101 __owur MSG_PROCESS_RETURN tls_process_change_cipher_spec(SSL *s, PACKET *pkt);
102 __owur MSG_PROCESS_RETURN tls_process_finished(SSL *s, PACKET *pkt);
108 __owur MSG_PROCESS_RETURN tls_process_key_update(SSL *s, PACKET *pkt);
115 __owur MSG_PROCESS_RETURN tls_process_server_hello(SSL *s, PACKET *pkt);
116 __owur MSG_PROCESS_RETURN tls_process_certificate_request(SSL *s, PACKET *pkt);
117 __owur MSG_PROCESS_RETURN tls_process_new_session_ticket(SSL *s, PACKET *pkt);
118 __owur int tls_process_cert_status_body(SSL *s, PACKET *pkt);
[all …]
H A Dextensions_srvr.c41 int tls_parse_ctos_renegotiate(SSL *s, PACKET *pkt, unsigned int context, in tls_parse_ctos_renegotiate()
97 int tls_parse_ctos_server_name(SSL *s, PACKET *pkt, unsigned int context, in tls_parse_ctos_server_name()
101 PACKET sni, hostname; in tls_parse_ctos_server_name()
180 int tls_parse_ctos_maxfragmentlen(SSL *s, PACKET *pkt, unsigned int context, in tls_parse_ctos_maxfragmentlen()
220 int tls_parse_ctos_srp(SSL *s, PACKET *pkt, unsigned int context, X509 *x, in tls_parse_ctos_srp()
223 PACKET srp_I; in tls_parse_ctos_srp()
248 int tls_parse_ctos_ec_pt_formats(SSL *s, PACKET *pkt, unsigned int context, in tls_parse_ctos_ec_pt_formats()
251 PACKET ec_point_format_list; in tls_parse_ctos_ec_pt_formats()
274 int tls_parse_ctos_session_ticket(SSL *s, PACKET *pkt, unsigned int context, in tls_parse_ctos_session_ticket()
289 int tls_parse_ctos_sig_algs_cert(SSL *s, PACKET *pkt, unsigned int context, in tls_parse_ctos_sig_algs_cert()
[all …]
H A Dextensions_clnt.c872 PACKET prots, alpnpkt; in tls_construct_ctos_early_data()
1235 int tls_parse_stoc_renegotiate(SSL *s, PACKET *pkt, unsigned int context, in tls_parse_stoc_renegotiate()
1295 int tls_parse_stoc_maxfragmentlen(SSL *s, PACKET *pkt, unsigned int context, in tls_parse_stoc_maxfragmentlen()
1336 int tls_parse_stoc_server_name(SSL *s, PACKET *pkt, unsigned int context, in tls_parse_stoc_server_name()
1369 int tls_parse_stoc_ec_pt_formats(SSL *s, PACKET *pkt, unsigned int context, in tls_parse_stoc_ec_pt_formats()
1373 PACKET ecptformatlist; in tls_parse_stoc_ec_pt_formats()
1413 int tls_parse_stoc_session_ticket(SSL *s, PACKET *pkt, unsigned int context, in tls_parse_stoc_session_ticket()
1442 int tls_parse_stoc_status_request(SSL *s, PACKET *pkt, unsigned int context, in tls_parse_stoc_status_request()
1486 int tls_parse_stoc_sct(SSL *s, PACKET *pkt, unsigned int context, X509 *x, in tls_parse_stoc_sct()
1558 static int ssl_next_proto_validate(SSL *s, PACKET *pkt) in ssl_next_proto_validate()
[all …]
H A Dstatem_clnt.c27 static MSG_PROCESS_RETURN tls_process_as_hello_retry_request(SSL *s, PACKET *pkt);
28 static MSG_PROCESS_RETURN tls_process_encrypted_extensions(SSL *s, PACKET *pkt);
1021 MSG_PROCESS_RETURN ossl_statem_client_process_message(SSL *s, PACKET *pkt) in ossl_statem_client_process_message()
1296 MSG_PROCESS_RETURN dtls_process_hello_verify(SSL *s, PACKET *pkt) in dtls_process_hello_verify()
1299 PACKET cookiepkt; in dtls_process_hello_verify()
1400 MSG_PROCESS_RETURN tls_process_server_hello(SSL *s, PACKET *pkt) in tls_process_server_hello()
1402 PACKET session_id, extpkt; in tls_process_server_hello()
1756 PACKET *extpkt) in tls_process_as_hello_retry_request()
1820 MSG_PROCESS_RETURN tls_process_server_certificate(SSL *s, PACKET *pkt) in tls_process_server_certificate()
1873 PACKET extensions; in tls_process_server_certificate()
[all …]
H A Dextensions.c40 static int tls_parse_certificate_authorities(SSL *s, PACKET *pkt,
77 int (*parse_ctos)(SSL *s, PACKET *pkt, unsigned int context, X509 *x,
80 int (*parse_stoc)(SSL *s, PACKET *pkt, unsigned int context, X509 *x,
557 int tls_collect_extensions(SSL *s, PACKET *packet, unsigned int context, in tls_collect_extensions()
560 PACKET extensions = *packet; in tls_collect_extensions()
587 PACKET extension; in tls_collect_extensions()
695 int (*parser)(SSL *s, PACKET *pkt, unsigned int context, X509 *x, in tls_parse_extension()
1263 static int tls_parse_certificate_authorities(SSL *s, PACKET *pkt, in tls_parse_certificate_authorities()
1588 PACKET hashprefix, msg; in tls_psk_do_binder()
H A Dstatem_srvr.c1182 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()
1383 MSG_PROCESS_RETURN tls_process_client_hello(SSL *s, PACKET *pkt) in tls_process_client_hello()
1386 PACKET session_id, compression, extensions, cookie; in tls_process_client_hello()
1473 PACKET challenge; in tls_process_client_hello()
2929 static int tls_process_cke_psk_preamble(SSL *s, PACKET *pkt) in tls_process_cke_psk_preamble()
2934 PACKET psk_identity; in tls_process_cke_psk_preamble()
2997 static int tls_process_cke_rsa(SSL *s, PACKET *pkt) in tls_process_cke_rsa()
3004 PACKET enc_premaster; in tls_process_cke_rsa()
3168 static int tls_process_cke_dhe(SSL *s, PACKET *pkt) in tls_process_cke_dhe()
[all …]
H A Dstatem_lib.c345 MSG_PROCESS_RETURN tls_process_cert_verify(SSL *s, PACKET *pkt) in tls_process_cert_verify()
623 MSG_PROCESS_RETURN tls_process_key_update(SSL *s, PACKET *pkt) in tls_process_key_update()
700 MSG_PROCESS_RETURN tls_process_change_cipher_spec(SSL *s, PACKET *pkt) in tls_process_change_cipher_spec()
762 MSG_PROCESS_RETURN tls_process_finished(SSL *s, PACKET *pkt) in tls_process_finished()
1806 PACKET versionslist; in ssl_choose_server_version()
2255 int parse_ca_names(SSL *s, PACKET *pkt) in parse_ca_names()
2259 PACKET cadns; in parse_ca_names()
/netbsd-src/crypto/external/bsd/openssl/dist/ssl/statem/
H A Dstatem_local.h70 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 *pkt);
[all …]
H A Dstatem_clnt.c31 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 extensions; in tls_process_server_certificate()
[all …]
H A Dstatem_srvr.c1179 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()
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_premaster; in tls_process_cke_rsa()
2954 static int tls_process_cke_dhe(SSL *s, PACKET *pkt) in tls_process_cke_dhe()
[all …]
/netbsd-src/crypto/external/bsd/openssl.old/dist/test/
H A Dpackettest.c19 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 pkt; in test_PACKET_copy_bytes()
[all …]
H A Dasynciotest.c143 PACKET pkt; in async_write()
149 PACKET payload, wholebody, sessionid, extensions; in async_write()
191 PACKET extbody; in async_write()
H A Dbad_dtls_test.c117 PACKET pkt, pkt2; in validate_client_hello()
379 PACKET pkt; in validate_ccs()
H A Dclienthellotest.c67 PACKET pkt = {0}, pkt2 = {0}, pkt3 = {0}; in test_client_hello()
/netbsd-src/crypto/external/bsd/openssl/dist/test/
H A Dpackettest.c19 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 pkt; in test_PACKET_copy_bytes()
[all …]
H A Dasynciotest.c143 PACKET pkt; in async_write()
149 PACKET payload, wholebody, sessionid, extensions; in async_write()
191 PACKET extbody; in async_write()
H A Dbad_dtls_test.c119 PACKET pkt, pkt2; in validate_client_hello()
395 PACKET pkt; in validate_ccs()
H A Dclienthellotest.c67 PACKET pkt, pkt2, pkt3; in test_client_hello()
/netbsd-src/crypto/external/bsd/openssl/dist/crypto/
H A Dasn1_dsa.c155 int ossl_decode_der_length(PACKET *pkt, PACKET *subpkt) in ossl_decode_der_length()
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()
/netbsd-src/crypto/external/bsd/openssl/dist/include/crypto/
H A Dasn1_dsa.h19 int ossl_decode_der_length(PACKET *pkt, PACKET *subpkt);
20 int ossl_decode_der_integer(PACKET *pkt, BIGNUM *n);
/netbsd-src/external/bsd/ntp/dist/include/
H A Dntpsim.h62 PACKET /* Event that designates arrival of a packet */ enumerator
/netbsd-src/crypto/external/bsd/openssl/dist/ssl/
H A Dssl_local.h713 PACKET data;
732 PACKET ciphersuites;
735 PACKET extensions;
2402 __owur int ssl_cache_cipherlist(SSL *s, PACKET *cipher_suites, int sslv2format);
2403 __owur int bytes_to_cipher_list(SSL *s, PACKET *cipher_suites,
2712 __owur int tls1_save_u16(PACKET *pkt, uint16_t **pdest, size_t *pdestlen);
2713 __owur int tls1_save_sigalgs(SSL *s, PACKET *pkt, int cert);

123