HomeSort by: relevance | last modified time | path
    Searched refs:SSL_CONNECTION (Results 1 - 25 of 51) sorted by relevancy

1 2 3

  /src/crypto/external/apache2/openssl/dist/ssl/statem/
statem_local.h 65 typedef CON_FUNC_RETURN (*confunc_f)(SSL_CONNECTION *s, WPACKET *pkt);
67 int ssl3_take_mac(SSL_CONNECTION *s);
68 int check_in_list(SSL_CONNECTION *s, uint16_t group_id, const uint16_t *groups,
70 int create_synthetic_message_hash(SSL_CONNECTION *s,
74 int parse_ca_names(SSL_CONNECTION *s, PACKET *pkt);
75 const STACK_OF(X509_NAME) *get_ca_names(SSL_CONNECTION *s);
76 int construct_ca_names(SSL_CONNECTION *s, const STACK_OF(X509_NAME) *ca_sk,
78 size_t construct_key_exchange_tbs(SSL_CONNECTION *s, unsigned char **ptbs,
84 int ossl_statem_client_read_transition(SSL_CONNECTION *s, int mt);
85 WRITE_TRAN ossl_statem_client_write_transition(SSL_CONNECTION *s)
    [all...]
statem.c 68 static int state_machine(SSL_CONNECTION *s, int server);
69 static void init_read_state_machine(SSL_CONNECTION *s);
70 static SUB_STATE_RETURN read_state_machine(SSL_CONNECTION *s);
71 static void init_write_state_machine(SSL_CONNECTION *s);
72 static SUB_STATE_RETURN write_state_machine(SSL_CONNECTION *s);
76 const SSL_CONNECTION *sc = SSL_CONNECTION_FROM_CONST_SSL(ssl);
86 const SSL_CONNECTION *sc = SSL_CONNECTION_FROM_CONST_SSL(s);
96 const SSL_CONNECTION *sc = SSL_CONNECTION_FROM_CONST_SSL(s);
106 const SSL_CONNECTION *sc = SSL_CONNECTION_FROM_CONST_SSL(s);
122 OSSL_HANDSHAKE_STATE ossl_statem_get_state(SSL_CONNECTION *s
    [all...]
extensions.c 22 static int final_renegotiate(SSL_CONNECTION *s, unsigned int context, int sent);
23 static int init_server_name(SSL_CONNECTION *s, unsigned int context);
24 static int final_server_name(SSL_CONNECTION *s, unsigned int context, int sent);
25 static int final_ec_pt_formats(SSL_CONNECTION *s, unsigned int context,
27 static int init_session_ticket(SSL_CONNECTION *s, unsigned int context);
29 static int init_status_request(SSL_CONNECTION *s, unsigned int context);
32 static int init_npn(SSL_CONNECTION *s, unsigned int context);
34 static int init_alpn(SSL_CONNECTION *s, unsigned int context);
35 static int final_alpn(SSL_CONNECTION *s, unsigned int context, int sent);
36 static int init_sig_algs_cert(SSL_CONNECTION *s, unsigned int context)
    [all...]
extensions_clnt.c 16 EXT_RETURN tls_construct_ctos_renegotiate(SSL_CONNECTION *s, WPACKET *pkt,
62 EXT_RETURN tls_construct_ctos_server_name(SSL_CONNECTION *s, WPACKET *pkt,
88 EXT_RETURN tls_construct_ctos_maxfragmentlen(SSL_CONNECTION *s, WPACKET *pkt,
113 EXT_RETURN tls_construct_ctos_srp(SSL_CONNECTION *s, WPACKET *pkt,
139 static int use_ecc(SSL_CONNECTION *s, int min_version, int max_version)
183 EXT_RETURN tls_construct_ctos_ec_pt_formats(SSL_CONNECTION *s, WPACKET *pkt,
214 EXT_RETURN tls_construct_ctos_supported_groups(SSL_CONNECTION *s, WPACKET *pkt,
283 EXT_RETURN tls_construct_ctos_session_ticket(SSL_CONNECTION *s, WPACKET *pkt,
323 EXT_RETURN tls_construct_ctos_sig_algs(SSL_CONNECTION *s, WPACKET *pkt,
364 EXT_RETURN tls_construct_ctos_status_request(SSL_CONNECTION *s, WPACKET *pkt
    [all...]
statem_dtls.c 58 static void dtls1_fix_message_header(SSL_CONNECTION *s, size_t frag_off,
60 static unsigned char *dtls1_write_message_header(SSL_CONNECTION *s,
62 static void dtls1_set_message_header_int(SSL_CONNECTION *s, unsigned char mt,
67 static int dtls_get_reassembled_message(SSL_CONNECTION *s, int *errtype,
118 int dtls1_do_write(SSL_CONNECTION *s, uint8_t type)
344 int dtls_get_message(SSL_CONNECTION *s, int *mt)
404 int dtls_get_message_body(SSL_CONNECTION *s, size_t *len)
445 static size_t dtls1_max_handshake_message_len(const SSL_CONNECTION *s)
453 static int dtls1_preprocess_fragment(SSL_CONNECTION *s,
500 static int dtls1_retrieve_buffered_fragment(SSL_CONNECTION *s, size_t *len
    [all...]
extensions_srvr.c 42 int tls_parse_ctos_renegotiate(SSL_CONNECTION *s, PACKET *pkt,
105 int tls_parse_ctos_server_name(SSL_CONNECTION *s, PACKET *pkt,
177 int tls_parse_ctos_maxfragmentlen(SSL_CONNECTION *s, PACKET *pkt,
220 int tls_parse_ctos_srp(SSL_CONNECTION *s, PACKET *pkt, unsigned int context,
240 int tls_parse_ctos_ec_pt_formats(SSL_CONNECTION *s, PACKET *pkt,
264 int tls_parse_ctos_session_ticket(SSL_CONNECTION *s, PACKET *pkt,
276 int tls_parse_ctos_sig_algs_cert(SSL_CONNECTION *s, PACKET *pkt,
303 int tls_parse_ctos_sig_algs(SSL_CONNECTION *s, PACKET *pkt,
329 int tls_parse_ctos_status_request(SSL_CONNECTION *s, PACKET *pkt,
433 int tls_parse_ctos_npn(SSL_CONNECTION *s, PACKET *pkt, unsigned int context
    [all...]
statem_lib.c 46 SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL(s);
62 int ssl3_do_write(SSL_CONNECTION *s, uint8_t type)
126 int tls_close_construct_packet(SSL_CONNECTION *s, WPACKET *pkt, int htype)
140 int tls_setup_handshake(SSL_CONNECTION *s)
258 static int get_cert_verify_tbs_data(SSL_CONNECTION *s, unsigned char *tls13tbs,
313 CON_FUNC_RETURN tls_construct_cert_verify(SSL_CONNECTION *s, WPACKET *pkt)
441 MSG_PROCESS_RETURN tls_process_cert_verify(SSL_CONNECTION *s, PACKET *pkt)
618 CON_FUNC_RETURN tls_construct_finished(SSL_CONNECTION *s, WPACKET *pkt)
702 CON_FUNC_RETURN tls_construct_key_update(SSL_CONNECTION *s, WPACKET *pkt)
713 MSG_PROCESS_RETURN tls_process_key_update(SSL_CONNECTION *s, PACKET *pkt
    [all...]
statem_clnt.c 33 static MSG_PROCESS_RETURN tls_process_as_hello_retry_request(SSL_CONNECTION *s,
35 static MSG_PROCESS_RETURN tls_process_encrypted_extensions(SSL_CONNECTION *s,
38 static ossl_inline int cert_req_allowed(SSL_CONNECTION *s);
39 static int key_exchange_expected(SSL_CONNECTION *s);
40 static int ssl_cipher_list_to_bytes(SSL_CONNECTION *s, STACK_OF(SSL_CIPHER) *sk,
43 static ossl_inline int received_server_cert(SSL_CONNECTION *sc)
55 static ossl_inline int cert_req_allowed(SSL_CONNECTION *s)
73 static int key_exchange_expected(SSL_CONNECTION *s)
97 static int ossl_statem_client13_read_transition(SSL_CONNECTION *s, int mt)
230 int ossl_statem_client_read_transition(SSL_CONNECTION *s, int mt
    [all...]
  /src/crypto/external/apache2/openssl/dist/include/internal/
statem.h 137 typedef struct ssl_connection_st SSL_CONNECTION;
141 OSSL_HANDSHAKE_STATE ossl_statem_get_state(SSL_CONNECTION *s);
142 void ossl_statem_clear(SSL_CONNECTION *s);
143 void ossl_statem_set_renegotiate(SSL_CONNECTION *s);
144 void ossl_statem_send_fatal(SSL_CONNECTION *s, int al);
145 void ossl_statem_fatal(SSL_CONNECTION *s, int al, int reason,
154 int ossl_statem_in_error(const SSL_CONNECTION *s);
155 void ossl_statem_set_in_init(SSL_CONNECTION *s, int init);
156 int ossl_statem_get_in_handshake(SSL_CONNECTION *s);
157 void ossl_statem_set_in_handshake(SSL_CONNECTION *s, int inhand)
    [all...]
ssl_unwrap.h 19 ? (c SSL_CONNECTION *)(ssl) \
34 ? (c SSL_CONNECTION *)(ssl) \
36 ? (c SSL_CONNECTION *)ossl_quic_obj_get0_handshake_layer((QUIC_OBJ *)(ssl)) \
74 ? (c SSL_CONNECTION *)((c QUIC_CONNECTION *)(ssl))->tls \
  /src/crypto/external/apache2/openssl/dist/ssl/record/
record.h 72 /* The parent SSL_CONNECTION structure */
73 SSL_CONNECTION *s;
137 void RECORD_LAYER_init(RECORD_LAYER *rl, SSL_CONNECTION *s);
157 __owur int dtls1_write_bytes(SSL_CONNECTION *s, uint8_t type, const void *buf,
159 int do_dtls1_write(SSL_CONNECTION *s, uint8_t type, const unsigned char *buf,
161 void dtls1_increment_epoch(SSL_CONNECTION *s, int rw);
162 uint16_t dtls1_get_epoch(SSL_CONNECTION *s, int rw);
163 int ssl_release_record(SSL_CONNECTION *s, TLS_RECORD *rr, size_t length);
171 int ossl_tls_handle_rlayer_return(SSL_CONNECTION *s, int writing, int ret,
174 int ssl_set_new_record_layer(SSL_CONNECTION *s, int version
    [all...]
rec_layer_s3.c 27 void RECORD_LAYER_init(RECORD_LAYER *rl, SSL_CONNECTION *s)
119 static uint32_t ossl_get_max_early_data(SSL_CONNECTION *s)
150 static int ossl_early_data_count_ok(SSL_CONNECTION *s, size_t length,
179 const SSL_CONNECTION *sc = SSL_CONNECTION_FROM_CONST_SSL(s);
213 SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL(s);
222 const SSL_CONNECTION *sc = SSL_CONNECTION_FROM_CONST_SSL(s);
238 const SSL_CONNECTION *sc = SSL_CONNECTION_FROM_CONST_SSL(s);
252 static int tls_write_check_pending(SSL_CONNECTION *s, uint8_t type,
280 SSL_CONNECTION *s = SSL_CONNECTION_FROM_SSL_ONLY(ssl);
491 int ossl_tls_handle_rlayer_return(SSL_CONNECTION *s, int writing, int ret
    [all...]
  /src/crypto/external/apache2/openssl/dist/ssl/
ssl_local.h 2151 int (*setup_key_block)(SSL_CONNECTION *);
2152 int (*generate_master_secret)(SSL_CONNECTION *, unsigned char *,
2154 int (*change_cipher_state)(SSL_CONNECTION *, int);
2155 size_t (*final_finish_mac)(SSL_CONNECTION *, const char *, size_t,
2162 int (*export_keying_material)(SSL_CONNECTION *, unsigned char *, size_t,
2169 int (*set_handshake_header)(SSL_CONNECTION *s, WPACKET *pkt, int type);
2171 int (*close_construct_packet)(SSL_CONNECTION *s, WPACKET *pkt, int htype);
2173 int (*do_write)(SSL_CONNECTION *s);
2466 int (*p_ssl_init_wbio_buffer)(SSL_CONNECTION *s);
2471 static ossl_inline int tls12_rpk_and_privkey(const SSL_CONNECTION *sc, int idx
    [all...]
d1_lib.c 19 static int dtls1_handshake_write(SSL_CONNECTION *s);
68 SSL_CONNECTION *s = SSL_CONNECTION_FROM_SSL_ONLY(ssl);
110 static void dtls1_clear_queues(SSL_CONNECTION *s)
116 void dtls1_clear_received_buffer(SSL_CONNECTION *s)
128 void dtls1_clear_sent_buffer(SSL_CONNECTION *s)
153 SSL_CONNECTION *s = SSL_CONNECTION_FROM_SSL_ONLY(ssl);
179 SSL_CONNECTION *s = SSL_CONNECTION_FROM_SSL_ONLY(ssl);
233 SSL_CONNECTION *s = SSL_CONNECTION_FROM_SSL_ONLY(ssl);
278 void dtls1_start_timer(SSL_CONNECTION *s)
310 int dtls1_get_timeout(const SSL_CONNECTION *s, OSSL_TIME *timeleft
    [all...]
ssl_lib.c 41 static int ssl_undefined_function_3(SSL_CONNECTION *sc, unsigned char *r,
47 static int ssl_undefined_function_4(SSL_CONNECTION *sc, int r)
52 static size_t ssl_undefined_function_5(SSL_CONNECTION *sc, const char *r,
63 static int ssl_undefined_function_7(SSL_CONNECTION *sc, unsigned char *r,
70 static int ssl_undefined_function_8(SSL_CONNECTION *sc)
186 static int ssl_dane_dup(SSL_CONNECTION *to, SSL_CONNECTION *from)
579 SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL(s);
734 SSL_CONNECTION *s;
979 SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL(s)
    [all...]
d1_srtp.c 153 SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL_ONLY(s);
163 SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL_ONLY(s);
178 SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL_ONLY(s);
tls_srp.c 61 int ssl_srp_ctx_free_intern(SSL_CONNECTION *s)
82 SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL(s);
92 int ssl_srp_ctx_init_intern(SSL_CONNECTION *s)
143 SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL(s);
174 int ssl_srp_server_param_with_username_intern(SSL_CONNECTION *s, int *ad)
206 SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL(s);
222 SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL(s);
247 SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL(s);
301 int srp_generate_server_master_secret(SSL_CONNECTION *s)
334 int srp_generate_client_master_secret(SSL_CONNECTION *s
    [all...]
d1_msg.c 17 SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL_ONLY(s);
47 SSL_CONNECTION *s = SSL_CONNECTION_FROM_SSL_ONLY(ssl);
s3_enc.c 19 static int ssl3_generate_key_block(SSL_CONNECTION *s, unsigned char *km, int num)
91 int ssl3_change_cipher_state(SSL_CONNECTION *s, int which)
161 int ssl3_setup_key_block(SSL_CONNECTION *s)
213 void ssl3_cleanup_key_block(SSL_CONNECTION *s)
220 int ssl3_init_finished_mac(SSL_CONNECTION *s)
239 void ssl3_free_digest_list(SSL_CONNECTION *s)
247 int ssl3_finish_mac(SSL_CONNECTION *s, const unsigned char *buf, size_t len)
272 int ssl3_digest_cached_records(SSL_CONNECTION *s, int keep)
321 size_t ssl3_final_finish_mac(SSL_CONNECTION *s, const char *sender, size_t len,
374 int ssl3_generate_master_secret(SSL_CONNECTION *s, unsigned char *out
    [all...]
s3_msg.c 13 int ssl3_do_change_cipher_spec(SSL_CONNECTION *s)
45 int ssl3_send_alert(SSL_CONNECTION *s, int level, int desc)
83 SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL(s);
ssl_stat.c 17 const SSL_CONNECTION *sc = SSL_CONNECTION_FROM_CONST_SSL(s);
134 const SSL_CONNECTION *sc = SSL_CONNECTION_FROM_CONST_SSL(s);
tls13_enc.c 100 int tls13_hkdf_expand(SSL_CONNECTION *s, const EVP_MD *md,
122 int tls13_derive_key(SSL_CONNECTION *s, const EVP_MD *md,
137 int tls13_derive_iv(SSL_CONNECTION *s, const EVP_MD *md,
148 int tls13_derive_finishedkey(SSL_CONNECTION *s, const EVP_MD *md,
164 int tls13_generate_secret(SSL_CONNECTION *s, const EVP_MD *md,
231 int tls13_generate_handshake_secret(SSL_CONNECTION *s,
246 int tls13_generate_master_secret(SSL_CONNECTION *s, unsigned char *out,
267 size_t tls13_final_finish_mac(SSL_CONNECTION *s, const char *str, size_t slen,
323 int tls13_setup_key_block(SSL_CONNECTION *s)
348 static int derive_secret_key_and_iv(SSL_CONNECTION *s, const EVP_MD *md
    [all...]
ssl_cert_comp.c 197 SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL(ssl);
259 SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL(ssl);
304 SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL(ssl);
373 SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL(ssl);
386 SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL(ssl);
414 SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL(ssl);
459 SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL(ssl);
  /src/crypto/external/apache2/openssl/dist/ssl/quic/
quic_tls_api.c 19 SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL(s);
30 SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL(s);
40 SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL(s);
52 SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL(s);
65 SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL(s);
75 SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL(s);
129 SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL(s);
175 SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL(s);
190 SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL(s);
  /src/crypto/external/apache2/openssl/dist/test/
tls13secretstest.c 130 int ssl3_digest_cached_records(SSL_CONNECTION *s, int keep)
138 int ssl_handshake_hash(SSL_CONNECTION *s, unsigned char *out, size_t outlen,
156 const EVP_MD *ssl_handshake_md(SSL_CONNECTION *s)
188 int ssl_log_secret(SSL_CONNECTION *sc,
201 void ossl_statem_send_fatal(SSL_CONNECTION *s, int al)
205 void ossl_statem_fatal(SSL_CONNECTION *s, int al, int reason,
210 int ossl_statem_export_allowed(SSL_CONNECTION *s)
215 int ossl_statem_export_early_allowed(SSL_CONNECTION *s)
228 int ssl_set_new_record_layer(SSL_CONNECTION *s, int version, int direction,
242 static int test_secret(SSL_CONNECTION *s, unsigned char *prk
    [all...]

Completed in 43 milliseconds

1 2 3