Home
last modified time | relevance | path

Searched refs:WPACKET (Results 1 – 19 of 19) sorted by relevance

/freebsd-13-stable/crypto/openssl/ssl/statem/
HDstatem_local.h54 typedef int (*confunc_f) (SSL *s, WPACKET *pkt);
64 int construct_ca_names(SSL *s, const STACK_OF(X509_NAME) *ca_sk, WPACKET *pkt);
75 int ossl_statem_client_construct_message(SSL *s, WPACKET *pkt,
88 int ossl_statem_server_construct_message(SSL *s, WPACKET *pkt,
103 __owur int tls_construct_change_cipher_spec(SSL *s, WPACKET *pkt);
104 __owur int dtls_construct_change_cipher_spec(SSL *s, WPACKET *pkt);
106 __owur int tls_construct_finished(SSL *s, WPACKET *pkt);
107 __owur int tls_construct_key_update(SSL *s, WPACKET *pkt);
114 __owur int tls_construct_client_hello(SSL *s, WPACKET *pkt);
121 __owur int tls_construct_cert_verify(SSL *s, WPACKET *pkt);
[all …]
HDextensions_clnt.c15 EXT_RETURN tls_construct_ctos_renegotiate(SSL *s, WPACKET *pkt, in tls_construct_ctos_renegotiate()
36 EXT_RETURN tls_construct_ctos_server_name(SSL *s, WPACKET *pkt, in tls_construct_ctos_server_name()
63 EXT_RETURN tls_construct_ctos_maxfragmentlen(SSL *s, WPACKET *pkt, in tls_construct_ctos_maxfragmentlen()
89 EXT_RETURN tls_construct_ctos_srp(SSL *s, WPACKET *pkt, unsigned int context, in tls_construct_ctos_srp()
159 EXT_RETURN tls_construct_ctos_ec_pt_formats(SSL *s, WPACKET *pkt, in tls_construct_ctos_ec_pt_formats()
185 EXT_RETURN tls_construct_ctos_supported_groups(SSL *s, WPACKET *pkt, in tls_construct_ctos_supported_groups()
234 EXT_RETURN tls_construct_ctos_session_ticket(SSL *s, WPACKET *pkt, in tls_construct_ctos_session_ticket()
278 EXT_RETURN tls_construct_ctos_sig_algs(SSL *s, WPACKET *pkt, in tls_construct_ctos_sig_algs()
306 EXT_RETURN tls_construct_ctos_status_request(SSL *s, WPACKET *pkt, in tls_construct_ctos_status_request()
380 EXT_RETURN tls_construct_ctos_npn(SSL *s, WPACKET *pkt, unsigned int context, in tls_construct_ctos_npn()
[all …]
HDextensions_srvr.c739 WPACKET hrrpkt; in tls_parse_ctos_cookie()
1308 EXT_RETURN tls_construct_stoc_renegotiate(SSL *s, WPACKET *pkt, in tls_construct_stoc_renegotiate()
1333 EXT_RETURN tls_construct_stoc_server_name(SSL *s, WPACKET *pkt, in tls_construct_stoc_server_name()
1358 EXT_RETURN tls_construct_stoc_maxfragmentlen(SSL *s, WPACKET *pkt, in tls_construct_stoc_maxfragmentlen()
1382 EXT_RETURN tls_construct_stoc_ec_pt_formats(SSL *s, WPACKET *pkt, in tls_construct_stoc_ec_pt_formats()
1411 EXT_RETURN tls_construct_stoc_supported_groups(SSL *s, WPACKET *pkt, in tls_construct_stoc_supported_groups()
1476 EXT_RETURN tls_construct_stoc_session_ticket(SSL *s, WPACKET *pkt, in tls_construct_stoc_session_ticket()
1496 EXT_RETURN tls_construct_stoc_status_request(SSL *s, WPACKET *pkt, in tls_construct_stoc_status_request()
1537 EXT_RETURN tls_construct_stoc_next_proto_neg(SSL *s, WPACKET *pkt, in tls_construct_stoc_next_proto_neg()
1567 EXT_RETURN tls_construct_stoc_alpn(SSL *s, WPACKET *pkt, unsigned int context, in tls_construct_stoc_alpn()
[all …]
HDstatem.c761 int (*get_construct_message_f) (SSL *s, WPACKET *pkt, in write_state_machine()
762 int (**confunc) (SSL *s, WPACKET *pkt), in write_state_machine()
765 int (*confunc) (SSL *s, WPACKET *pkt); in write_state_machine()
767 WPACKET pkt; in write_state_machine()
HDstatem_srvr.c44 static int tls_construct_encrypted_extensions(SSL *s, WPACKET *pkt);
1018 int ossl_statem_server_construct_message(SSL *s, WPACKET *pkt, in ossl_statem_server_construct_message()
1285 int dtls_raw_hello_verify_request(WPACKET *pkt, unsigned char *cookie, in dtls_raw_hello_verify_request()
1296 int dtls_construct_hello_verify_request(SSL *s, WPACKET *pkt) in dtls_construct_hello_verify_request()
2365 int tls_construct_server_hello(SSL *s, WPACKET *pkt) in tls_construct_server_hello()
2477 int tls_construct_server_done(SSL *s, WPACKET *pkt) in tls_construct_server_done()
2488 int tls_construct_server_key_exchange(SSL *s, WPACKET *pkt) in tls_construct_server_key_exchange()
2850 int tls_construct_certificate_request(SSL *s, WPACKET *pkt) in tls_construct_certificate_request()
3793 int tls_construct_server_certificate(SSL *s, WPACKET *pkt) in tls_construct_server_certificate()
3820 static int create_ticket_prequel(SSL *s, WPACKET *pkt, uint32_t age_add, in create_ticket_prequel()
[all …]
HDstatem_clnt.c33 WPACKET *pkt);
885 int ossl_statem_client_construct_message(SSL *s, WPACKET *pkt, in ossl_statem_client_construct_message()
1099 int tls_construct_client_hello(SSL *s, WPACKET *pkt) in tls_construct_client_hello()
2885 static int tls_construct_cke_psk_preamble(SSL *s, WPACKET *pkt) in tls_construct_cke_psk_preamble()
2970 static int tls_construct_cke_rsa(SSL *s, WPACKET *pkt) in tls_construct_cke_rsa()
3064 static int tls_construct_cke_dhe(SSL *s, WPACKET *pkt) in tls_construct_cke_dhe()
3122 static int tls_construct_cke_ecdhe(SSL *s, WPACKET *pkt) in tls_construct_cke_ecdhe()
3176 static int tls_construct_cke_gost(SSL *s, WPACKET *pkt) in tls_construct_cke_gost()
3293 static int tls_construct_cke_srp(SSL *s, WPACKET *pkt) in tls_construct_cke_srp()
3323 int tls_construct_client_key_exchange(SSL *s, WPACKET *pkt) in tls_construct_client_key_exchange()
[all …]
HDstatem_lib.c75 int tls_close_construct_packet(SSL *s, WPACKET *pkt, int htype) in tls_close_construct_packet()
230 int tls_construct_cert_verify(SSL *s, WPACKET *pkt) in tls_construct_cert_verify()
532 int tls_construct_finished(SSL *s, WPACKET *pkt) in tls_construct_finished()
611 int tls_construct_key_update(SSL *s, WPACKET *pkt) in tls_construct_key_update()
870 int tls_construct_change_cipher_spec(SSL *s, WPACKET *pkt) in tls_construct_change_cipher_spec()
882 static int ssl_add_cert_to_wpacket(SSL *s, WPACKET *pkt, X509 *x, int chain) in ssl_add_cert_to_wpacket()
911 static int ssl_add_cert_chain(SSL *s, WPACKET *pkt, CERT_PKEY *cpk) in ssl_add_cert_chain()
1007 unsigned long ssl3_output_cert_chain(SSL *s, WPACKET *pkt, CERT_PKEY *cpk) in ssl3_output_cert_chain()
2331 int construct_ca_names(SSL *s, const STACK_OF(X509_NAME) *ca_sk, WPACKET *pkt) in construct_ca_names()
HDextensions.c36 static EXT_RETURN tls_construct_certificate_authorities(SSL *s, WPACKET *pkt,
83 EXT_RETURN (*construct_stoc)(SSL *s, WPACKET *pkt, unsigned int context,
86 EXT_RETURN (*construct_ctos)(SSL *s, WPACKET *pkt, unsigned int context,
801 int tls_construct_extensions(SSL *s, WPACKET *pkt, unsigned int context, in tls_construct_extensions()
843 EXT_RETURN (*construct)(SSL *s, WPACKET *pkt, unsigned int context, in tls_construct_extensions()
1230 static EXT_RETURN tls_construct_certificate_authorities(SSL *s, WPACKET *pkt, in tls_construct_certificate_authorities()
HDstatem_dtls.c910 int dtls_construct_change_cipher_spec(SSL *s, WPACKET *pkt) in dtls_construct_change_cipher_spec()
1233 int dtls1_set_handshake_header(SSL *s, WPACKET *pkt, int htype) in dtls1_set_handshake_header()
1257 int dtls1_close_construct_packet(SSL *s, WPACKET *pkt, int htype) in dtls1_close_construct_packet()
HDextensions_cust.c174 int custom_ext_add(SSL *s, int context, WPACKET *pkt, X509 *x, size_t chainidx, in custom_ext_add()
/freebsd-13-stable/crypto/openssl/ssl/
HDpacket.c16 int WPACKET_allocate_bytes(WPACKET *pkt, size_t len, unsigned char **allocbytes) in WPACKET_allocate_bytes()
26 int WPACKET_sub_allocate_bytes__(WPACKET *pkt, size_t len, in WPACKET_sub_allocate_bytes__()
40 int WPACKET_reserve_bytes(WPACKET *pkt, size_t len, unsigned char **allocbytes) in WPACKET_reserve_bytes()
71 int WPACKET_sub_reserve_bytes__(WPACKET *pkt, size_t len, in WPACKET_sub_reserve_bytes__()
90 static int wpacket_intern_init_len(WPACKET *pkt, size_t lenbytes) in wpacket_intern_init_len()
118 int WPACKET_init_static_len(WPACKET *pkt, unsigned char *buf, size_t len, in WPACKET_init_static_len()
134 int WPACKET_init_len(WPACKET *pkt, BUF_MEM *buf, size_t lenbytes) in WPACKET_init_len()
147 int WPACKET_init(WPACKET *pkt, BUF_MEM *buf) in WPACKET_init()
152 int WPACKET_set_flags(WPACKET *pkt, unsigned int flags) in WPACKET_set_flags()
186 static int wpacket_intern_close(WPACKET *pkt, WPACKET_SUB *sub, int doclose) in wpacket_intern_close()
[all …]
HDpacket_local.h652 typedef struct wpacket_st WPACKET; typedef
697 int WPACKET_init_len(WPACKET *pkt, BUF_MEM *buf, size_t lenbytes);
703 int WPACKET_init(WPACKET *pkt, BUF_MEM *buf);
710 int WPACKET_init_static_len(WPACKET *pkt, unsigned char *buf, size_t len,
715 int WPACKET_set_flags(WPACKET *pkt, unsigned int flags);
723 int WPACKET_close(WPACKET *pkt);
729 int WPACKET_finish(WPACKET *pkt);
738 int WPACKET_fill_lengths(WPACKET *pkt);
745 int WPACKET_start_sub_packet_len__(WPACKET *pkt, size_t lenbytes);
764 int WPACKET_start_sub_packet(WPACKET *pkt);
[all …]
HDssl_local.h464 int (*put_cipher_by_char) (const SSL_CIPHER *cipher, WPACKET *pkt,
1974 int (*set_handshake_header) (SSL *s, WPACKET *pkt, int type);
1976 int (*close_construct_packet) (SSL *s, WPACKET *pkt, int htype);
2343 __owur int ssl3_put_cipher_by_char(const SSL_CIPHER *c, WPACKET *pkt,
2354 __owur int ssl3_get_req_cert_type(SSL *s, WPACKET *pkt);
2364 __owur unsigned long ssl3_output_cert_chain(SSL *s, WPACKET *pkt,
2385 __owur int ssl3_set_handshake_header(SSL *s, WPACKET *pkt, int htype);
2386 __owur int tls_close_construct_packet(SSL *s, WPACKET *pkt, int htype);
2388 __owur int dtls1_set_handshake_header(SSL *s, WPACKET *pkt, int htype);
2389 __owur int dtls1_close_construct_packet(SSL *s, WPACKET *pkt, int htype);
[all …]
HDd1_lib.c686 WPACKET wpkt; in DTLSv1_listen()
HDtls13_enc.c52 WPACKET pkt; in tls13_hkdf_expand()
HDs3_lib.c3273 int ssl3_set_handshake_header(SSL *s, WPACKET *pkt, int htype) in ssl3_set_handshake_header()
4116 int ssl3_put_cipher_by_char(const SSL_CIPHER *c, WPACKET *pkt, size_t *len) in ssl3_put_cipher_by_char()
4338 int ssl3_get_req_cert_type(SSL *s, WPACKET *pkt) in ssl3_get_req_cert_type()
HDt1_lib.c1696 int tls12_copy_sigalgs(SSL *s, WPACKET *pkt, in tls12_copy_sigalgs()
/freebsd-13-stable/crypto/openssl/ssl/record/
HDssl3_record_tls13.c35 WPACKET wpkt; in tls13_enc()
HDrec_layer_s3.c674 WPACKET pkt[SSL_MAX_PIPELINES]; in do_ssl3_write()
676 WPACKET *thispkt; in do_ssl3_write()