Home
last modified time | relevance | path

Searched defs:s (Results 1 – 25 of 221) sorted by relevance

123456789

/openssl/ssl/statem/
H A Dstatem.c83 int SSL_in_init(const SSL *s) in SSL_in_init()
93 int SSL_is_init_finished(const SSL *s) in SSL_is_init_finished()
103 int SSL_in_before(const SSL *s) in SSL_in_before()
129 void ossl_statem_clear(SSL_CONNECTION *s) in ossl_statem_clear()
180 #define check_fatal(s) \ argument
194 int ossl_statem_in_error(const SSL_CONNECTION *s) in ossl_statem_in_error()
292 int ossl_statem_connect(SSL *s) in ossl_statem_connect()
302 int ossl_statem_accept(SSL *s) in ossl_statem_accept()
314 static info_cb get_callback(SSL_CONNECTION *s) in get_callback()
748 static int statem_do_write(SSL_CONNECTION *s) in statem_do_write()
[all …]
H A Dstatem_clnt.c54 static ossl_inline int cert_req_allowed(SSL_CONNECTION *s) in cert_req_allowed()
72 static int key_exchange_expected(SSL_CONNECTION *s) in key_exchange_expected()
230 int ossl_statem_client_read_transition(SSL_CONNECTION *s, int mt) in ossl_statem_client_read_transition()
937 int ossl_statem_client_construct_message(SSL_CONNECTION *s, in ossl_statem_client_construct_message()
1017 size_t ossl_statem_client_max_message_size(SSL_CONNECTION *s) in ossl_statem_client_max_message_size()
1378 static int set_client_ciphersuite(SSL_CONNECTION *s, in set_client_ciphersuite()
2914 int tls_process_initial_server_flight(SSL_CONNECTION *s) in tls_process_initial_server_flight()
3366 int ossl_gost18_cke_cipher_nid(const SSL_CONNECTION *s) in ossl_gost18_cke_cipher_nid()
3578 int tls_client_key_exchange_post_work(SSL_CONNECTION *s) in tls_client_key_exchange_post_work()
3655 static int ssl3_check_client_certificate(SSL_CONNECTION *s) in ssl3_check_client_certificate()
[all …]
H A Dextensions.c607 int tls_collect_extensions(SSL_CONNECTION *s, PACKET *packet, in tls_collect_extensions()
789 int tls_parse_all_extensions(SSL_CONNECTION *s, int context, in tls_parse_all_extensions()
850 int tls_construct_extensions(SSL_CONNECTION *s, WPACKET *pkt, in tls_construct_extensions()
1157 static int init_npn(SSL_CONNECTION *s, unsigned int context) in init_npn()
1165 static int init_alpn(SSL_CONNECTION *s, unsigned int context) in init_alpn()
1208 static int init_sig_algs_cert(SSL_CONNECTION *s, in init_sig_algs_cert()
1220 static int init_srp(SSL_CONNECTION *s, unsigned int context) in init_srp()
1238 static int init_etm(SSL_CONNECTION *s, unsigned int context) in init_etm()
1245 static int init_ems(SSL_CONNECTION *s, unsigned int context) in init_ems()
1537 int tls_psk_do_binder(SSL_CONNECTION *s, const EVP_MD *md, in tls_psk_do_binder()
[all …]
H A Dstatem_srvr.c182 int ossl_statem_server_read_transition(SSL_CONNECTION *s, int mt) in ossl_statem_server_read_transition()
349 static int send_server_key_exchange(SSL_CONNECTION *s) in send_server_key_exchange()
412 int send_certificate_request(SSL_CONNECTION *s) in send_certificate_request()
1093 int ossl_statem_server_construct_message(SSL_CONNECTION *s, in ossl_statem_server_construct_message()
1219 size_t ossl_statem_server_max_message_size(SSL_CONNECTION *s) in ossl_statem_server_max_message_size()
1336 static int ssl_check_srp_ext_ClientHello(SSL_CONNECTION *s) in ssl_check_srp_ext_ClientHello()
1417 static void ssl_check_for_safari(SSL_CONNECTION *s, in ssl_check_for_safari()
2145 static int tls_handle_status_request(SSL_CONNECTION *s) in tls_handle_status_request()
2196 int tls_handle_alpn(SSL_CONNECTION *s) in tls_handle_alpn()
2959 static int tls_process_cke_rsa(SSL_CONNECTION *s, PACKET *pkt) in tls_process_cke_rsa()
[all …]
H A Dextensions_clnt.c15 EXT_RETURN tls_construct_ctos_renegotiate(SSL_CONNECTION *s, WPACKET *pkt, in tls_construct_ctos_renegotiate()
113 EXT_RETURN tls_construct_ctos_srp(SSL_CONNECTION *s, WPACKET *pkt, in tls_construct_ctos_srp()
416 EXT_RETURN tls_construct_ctos_npn(SSL_CONNECTION *s, WPACKET *pkt, in tls_construct_ctos_npn()
505 EXT_RETURN tls_construct_ctos_etm(SSL_CONNECTION *s, WPACKET *pkt, in tls_construct_ctos_etm()
1258 int tls_parse_stoc_renegotiate(SSL_CONNECTION *s, PACKET *pkt, in tls_parse_stoc_renegotiate()
1352 int tls_parse_stoc_server_name(SSL_CONNECTION *s, PACKET *pkt, in tls_parse_stoc_server_name()
1381 int tls_parse_stoc_ec_pt_formats(SSL_CONNECTION *s, PACKET *pkt, in tls_parse_stoc_ec_pt_formats()
1717 int tls_parse_stoc_use_srtp(SSL_CONNECTION *s, PACKET *pkt, in tls_parse_stoc_use_srtp()
1830 int tls_parse_stoc_key_share(SSL_CONNECTION *s, PACKET *pkt, in tls_parse_stoc_key_share()
1985 int tls_parse_stoc_early_data(SSL_CONNECTION *s, PACKET *pkt, in tls_parse_stoc_early_data()
[all …]
H A Dstatem_lib.c40 int ossl_statem_set_mutator(SSL *s, in ossl_statem_set_mutator()
61 int ssl3_do_write(SSL_CONNECTION *s, uint8_t type) in ssl3_do_write()
139 int tls_setup_handshake(SSL_CONNECTION *s) in tls_setup_handshake()
751 int ssl3_take_mac(SSL_CONNECTION *s) in ssl3_take_mac()
1531 int tls_get_message_header(SSL_CONNECTION *s, int *mt) in tls_get_message_header()
1782 int ssl_allow_compression(SSL_CONNECTION *s) in ssl_allow_compression()
1903 static int is_tls13_capable(const SSL_CONNECTION *s) in is_tls13_capable()
2013 int ssl_check_version_downgrade(SSL_CONNECTION *s) in ssl_check_version_downgrade()
2535 int ssl_set_client_hello_version(SSL_CONNECTION *s) in ssl_set_client_hello_version()
2602 int create_synthetic_message_hash(SSL_CONNECTION *s, in create_synthetic_message_hash()
[all …]
H A Dstatem_dtls.c109 int dtls1_do_write(SSL_CONNECTION *s, uint8_t type) in dtls1_do_write()
324 int dtls_get_message(SSL_CONNECTION *s, int *mt) in dtls_get_message()
384 int dtls_get_message_body(SSL_CONNECTION *s, size_t *len) in dtls_get_message_body()
433 static int dtls1_preprocess_fragment(SSL_CONNECTION *s, in dtls1_preprocess_fragment()
594 static int dtls1_reassemble_fragment(SSL_CONNECTION *s, in dtls1_reassemble_fragment()
704 static int dtls1_process_out_of_seq_message(SSL_CONNECTION *s, in dtls1_process_out_of_seq_message()
1015 WORK_STATE dtls_wait_for_dry(SSL_CONNECTION *s) in dtls_wait_for_dry()
1051 int dtls1_read_failed(SSL_CONNECTION *s, int code) in dtls1_read_failed()
1091 int dtls1_retransmit_buffered_messages(SSL_CONNECTION *s) in dtls1_retransmit_buffered_messages()
1113 int dtls1_buffer_message(SSL_CONNECTION *s, int is_ccs) in dtls1_buffer_message()
[all …]
H A Dextensions_srvr.c41 int tls_parse_ctos_renegotiate(SSL_CONNECTION *s, PACKET *pkt, in tls_parse_ctos_renegotiate()
104 int tls_parse_ctos_server_name(SSL_CONNECTION *s, PACKET *pkt, in tls_parse_ctos_server_name()
176 int tls_parse_ctos_maxfragmentlen(SSL_CONNECTION *s, PACKET *pkt, in tls_parse_ctos_maxfragmentlen()
239 int tls_parse_ctos_ec_pt_formats(SSL_CONNECTION *s, PACKET *pkt, in tls_parse_ctos_ec_pt_formats()
263 int tls_parse_ctos_session_ticket(SSL_CONNECTION *s, PACKET *pkt, in tls_parse_ctos_session_ticket()
278 int tls_parse_ctos_sig_algs_cert(SSL_CONNECTION *s, PACKET *pkt, in tls_parse_ctos_sig_algs_cert()
299 int tls_parse_ctos_sig_algs(SSL_CONNECTION *s, PACKET *pkt, in tls_parse_ctos_sig_algs()
319 int tls_parse_ctos_status_request(SSL_CONNECTION *s, PACKET *pkt, in tls_parse_ctos_status_request()
479 int tls_parse_ctos_use_srtp(SSL_CONNECTION *s, PACKET *pkt, in tls_parse_ctos_use_srtp()
560 int tls_parse_ctos_psk_kex_modes(SSL_CONNECTION *s, PACKET *pkt, in tls_parse_ctos_psk_kex_modes()
[all …]
/openssl/ssl/
H A Dssl_sess.c722 SSL_SESSION *s; in SSL_CTX_add_session() local
886 int SSL_set_session(SSL *s, SSL_SESSION *session) in SSL_set_session()
951 long SSL_SESSION_get_time(const SSL_SESSION *s) in SSL_SESSION_get_time()
985 long SSL_SESSION_set_time(SSL_SESSION *s, long t) in SSL_SESSION_set_time()
1030 int SSL_SESSION_has_ticket(const SSL_SESSION *s) in SSL_SESSION_has_ticket()
1087 X509 *SSL_SESSION_get0_peer(SSL_SESSION *s) in SSL_SESSION_get0_peer()
1121 long SSL_CTX_set_timeout(SSL_CTX *s, long t) in SSL_CTX_set_timeout()
1132 long SSL_CTX_get_timeout(const SSL_CTX *s) in SSL_CTX_get_timeout()
1139 int SSL_set_session_secret_cb(SSL *s, in SSL_set_session_secret_cb()
1197 void SSL_CTX_flush_sessions(SSL_CTX *s, long t) in SSL_CTX_flush_sessions()
[all …]
H A Dd1_lib.c109 static void dtls1_clear_queues(SSL_CONNECTION *s) in dtls1_clear_queues()
115 void dtls1_clear_received_buffer(SSL_CONNECTION *s) in dtls1_clear_received_buffer()
127 void dtls1_clear_sent_buffer(SSL_CONNECTION *s) in dtls1_clear_sent_buffer()
278 void dtls1_start_timer(SSL_CONNECTION *s) in dtls1_start_timer()
332 int dtls1_is_timer_expired(SSL_CONNECTION *s) in dtls1_is_timer_expired()
355 void dtls1_stop_timer(SSL_CONNECTION *s) in dtls1_stop_timer()
366 int dtls1_check_timeout_num(SSL_CONNECTION *s) in dtls1_check_timeout_num()
391 int dtls1_handle_timeout(SSL_CONNECTION *s) in dtls1_handle_timeout()
858 int dtls1_shutdown(SSL *s) in dtls1_shutdown()
887 int dtls1_query_mtu(SSL_CONNECTION *s) in dtls1_query_mtu()
[all …]
H A Dtls_srp.c60 int ssl_srp_ctx_free_intern(SSL_CONNECTION *s) in ssl_srp_ctx_free_intern()
79 int SSL_SRP_CTX_free(SSL *s) in SSL_SRP_CTX_free()
91 int ssl_srp_ctx_init_intern(SSL_CONNECTION *s) in ssl_srp_ctx_init_intern()
160 int SSL_SRP_CTX_init(SSL *s) in SSL_SRP_CTX_init()
410 int srp_verify_server_param(SSL_CONNECTION *s) in srp_verify_server_param()
447 int ssl_srp_calc_a_param_intern(SSL_CONNECTION *s) in ssl_srp_calc_a_param_intern()
463 int SRP_Calc_A_param(SSL *s) in SRP_Calc_A_param()
473 BIGNUM *SSL_get_srp_g(SSL *s) in SSL_get_srp_g()
485 BIGNUM *SSL_get_srp_N(SSL *s) in SSL_get_srp_N()
497 char *SSL_get_srp_username(SSL *s) in SSL_get_srp_username()
[all …]
H A Dssl_lib.c83 SSL *s; member
569 int SSL_clear(SSL *s) in SSL_clear()
734 SSL_CONNECTION *s; in ossl_ssl_connection_new_int() local
981 int SSL_up_ref(SSL *s) in SSL_up_ref()
1382 void SSL_free(SSL *s) in SSL_free()
1408 SSL_CONNECTION *s; in ossl_ssl_connection_free() local
2152 int SSL_accept(SSL *s) in SSL_accept()
2254 SSL *s; in ssl_io_intern() local
4853 SSL *s = args->s; in ssl_do_handshake_intern() local
5039 SSL *SSL_dup(SSL *s) in SSL_dup()
[all …]
H A Ds3_lib.c3380 int ssl3_handshake_write(SSL_CONNECTION *s) in ssl3_handshake_write()
3385 int ssl3_new(SSL *s) in ssl3_new()
3403 void ssl3_free(SSL *s) in ssl3_free()
3441 int ssl3_clear(SSL *s) in ssl3_clear()
3502 long ssl3_ctrl(SSL *s, int cmd, long larg, void *parg) in ssl3_ctrl()
4501 int ssl3_shutdown(SSL *s) in ssl3_shutdown()
4616 int ssl3_renegotiate(SSL *s) in ssl3_renegotiate()
4638 int ssl3_renegotiate_check(SSL *s, int initok) in ssl3_renegotiate_check()
4671 long ssl_get_algorithm2(SSL_CONNECTION *s) in ssl_get_algorithm2()
5092 const char *SSL_get0_group_name(SSL *s) in SSL_get0_group_name()
[all …]
H A Ds3_enc.c18 static int ssl3_generate_key_block(SSL_CONNECTION *s, unsigned char *km, int num) in ssl3_generate_key_block()
90 int ssl3_change_cipher_state(SSL_CONNECTION *s, int which) in ssl3_change_cipher_state()
161 int ssl3_setup_key_block(SSL_CONNECTION *s) in ssl3_setup_key_block()
213 void ssl3_cleanup_key_block(SSL_CONNECTION *s) in ssl3_cleanup_key_block()
220 int ssl3_init_finished_mac(SSL_CONNECTION *s) in ssl3_init_finished_mac()
239 void ssl3_free_digest_list(SSL_CONNECTION *s) in ssl3_free_digest_list()
247 int ssl3_finish_mac(SSL_CONNECTION *s, const unsigned char *buf, size_t len) in ssl3_finish_mac()
272 int ssl3_digest_cached_records(SSL_CONNECTION *s, int keep) in ssl3_digest_cached_records()
321 size_t ssl3_final_finish_mac(SSL_CONNECTION *s, const char *sender, size_t len, in ssl3_final_finish_mac()
374 int ssl3_generate_master_secret(SSL_CONNECTION *s, unsigned char *out, in ssl3_generate_master_secret()
H A Ds3_msg.c12 int ssl3_do_change_cipher_spec(SSL_CONNECTION *s) in ssl3_do_change_cipher_spec()
44 int ssl3_send_alert(SSL_CONNECTION *s, int level, int desc) in ssl3_send_alert()
78 int ssl3_dispatch_alert(SSL *s) in ssl3_dispatch_alert()
H A Dt1_lib.c103 int tls1_new(SSL *s) in tls1_new()
113 void tls1_free(SSL *s) in tls1_free()
124 int tls1_clear(SSL *s) in tls1_clear()
2175 int ssl_set_client_disabled(SSL_CONNECTION *s) in ssl_set_client_disabled()
2247 int tls_use_ticket(SSL_CONNECTION *s) in tls_use_ticket()
2254 int tls1_set_server_sigalgs(SSL_CONNECTION *s) in tls1_set_server_sigalgs()
2900 int tls1_process_sigalgs(SSL_CONNECTION *s) in tls1_process_sigalgs()
2926 int SSL_get_sigalgs(SSL *s, int idx, in SSL_get_sigalgs()
2963 int SSL_get_shared_sigalgs(SSL *s, int idx, in SSL_get_shared_sigalgs()
3025 const SIGALG_LOOKUP *s; in sig_cb() local
[all …]
/openssl/include/internal/
H A Dsockets.h61 # define accept(s,f,l) ((int)accept(s,f,l)) argument
180 # define closesocket(s) close_s(s) argument
181 # define readsocket(s,b,n) read_s(s,b,n) argument
182 # define writesocket(s,b,n) send(s,b,n,0) argument
185 # define closesocket(s) close(s) argument
190 # define closesocket(s) close(s) argument
194 # define readsocket(s,b,n) read((s),(b),(n)) argument
195 # define writesocket(s,b,n) write((s),(b),(n)) argument
197 # define closesocket(s) close(s) argument
200 # define closesocket(s) close(s) argument
[all …]
/openssl/test/testutil/
H A Dstanza.c19 int test_start_file(STANZA *s, const char *testfile) in test_start_file()
30 int test_end_file(STANZA *s) in test_end_file()
41 static int read_key(STANZA *s) in read_key()
86 int test_readstanza(STANZA *s) in test_readstanza()
147 void test_clearstanza(STANZA *s) in test_clearstanza()
/openssl/ssl/quic/
H A Duint_set.c60 void ossl_uint_set_init(UINT_SET *s) in ossl_uint_set_init()
65 void ossl_uint_set_destroy(UINT_SET *s) in ossl_uint_set_destroy()
76 static void uint_set_merge_adjacent(UINT_SET *s, UINT_SET_ITEM *x) in uint_set_merge_adjacent()
125 int ossl_uint_set_insert(UINT_SET *s, const UINT_RANGE *range) in ossl_uint_set_insert()
258 int ossl_uint_set_remove(UINT_SET *s, const UINT_RANGE *range) in ossl_uint_set_remove()
318 int ossl_uint_set_query(const UINT_SET *s, uint64_t v) in ossl_uint_set_query()
H A Dquic_impl.c469 void ossl_quic_free(SSL *s) in ossl_quic_free()
570 int ossl_quic_init(SSL *s) in ossl_quic_init()
577 void ossl_quic_deinit(SSL *s) in ossl_quic_deinit()
583 int ossl_quic_reset(SSL *s) in ossl_quic_reset()
595 int ossl_quic_clear(SSL *s) in ossl_quic_clear()
1060 int ossl_quic_handle_events(SSL *s) in ossl_quic_handle_events()
1749 int ossl_quic_do_handshake(SSL *s) in ossl_quic_do_handshake()
1765 int ossl_quic_connect(SSL *s) in ossl_quic_connect()
1775 int ossl_quic_accept(SSL *s) in ossl_quic_accept()
2148 int ossl_quic_want(const SSL *s) in ossl_quic_want()
[all …]
/openssl/ssl/record/
H A Drec_layer_s3.c26 void RECORD_LAYER_init(RECORD_LAYER *rl, SSL_CONNECTION *s) in RECORD_LAYER_init()
117 static uint32_t ossl_get_max_early_data(SSL_CONNECTION *s) in ossl_get_max_early_data()
173 size_t ssl3_pending(const SSL *s) in ssl3_pending()
208 void SSL_set_default_read_buffer_len(SSL *s, size_t len) in SSL_set_default_read_buffer_len()
217 const char *SSL_rstate_string_long(const SSL *s) in SSL_rstate_string_long()
233 const char *SSL_rstate_string(const SSL *s) in SSL_rstate_string()
277 SSL_CONNECTION *s = SSL_CONNECTION_FROM_SSL_ONLY(ssl); in ssl3_write_bytes() local
1133 SSL_CONNECTION *s = cbarg; in rlayer_msg_callback_wrapper() local
1145 SSL_CONNECTION *s = cbarg; in rlayer_security_wrapper() local
1153 SSL_CONNECTION *s = cbarg; in rlayer_padding_wrapper() local
[all …]
H A Drec_layer_d1.c74 static int dtls_buffer_record(SSL_CONNECTION *s, TLS_RECORD *rec) in dtls_buffer_record()
139 static void dtls_unbuffer_record(SSL_CONNECTION *s) in dtls_unbuffer_record()
198 int dtls1_read_bytes(SSL *s, uint8_t type, uint8_t *recvd_type, in dtls1_read_bytes()
607 int dtls1_write_bytes(SSL_CONNECTION *s, uint8_t type, const void *buf, in dtls1_write_bytes()
626 SSL *s = SSL_CONNECTION_GET_SSL(sc); in do_dtls1_write() local
668 void dtls1_increment_epoch(SSL_CONNECTION *s, int rw) in dtls1_increment_epoch()
683 uint16_t dtls1_get_epoch(SSL_CONNECTION *s, int rw) { in dtls1_get_epoch()
/openssl/crypto/asn1/
H A Da_utctm.c34 int ASN1_UTCTIME_set_string(ASN1_UTCTIME *s, const char *str) in ASN1_UTCTIME_set_string()
52 ASN1_UTCTIME *ASN1_UTCTIME_set(ASN1_UTCTIME *s, time_t t) in ASN1_UTCTIME_set()
57 ASN1_UTCTIME *ASN1_UTCTIME_adj(ASN1_UTCTIME *s, time_t t, in ASN1_UTCTIME_adj()
75 int ASN1_UTCTIME_cmp_time_t(const ASN1_UTCTIME *s, time_t t) in ASN1_UTCTIME_cmp_time_t()
H A Da_gentm.c38 int ASN1_GENERALIZEDTIME_set_string(ASN1_GENERALIZEDTIME *s, const char *str) in ASN1_GENERALIZEDTIME_set_string()
56 ASN1_GENERALIZEDTIME *ASN1_GENERALIZEDTIME_set(ASN1_GENERALIZEDTIME *s, in ASN1_GENERALIZEDTIME_set()
62 ASN1_GENERALIZEDTIME *ASN1_GENERALIZEDTIME_adj(ASN1_GENERALIZEDTIME *s, in ASN1_GENERALIZEDTIME_adj()
/openssl/test/
H A Dtls13secretstest.c129 int ssl3_digest_cached_records(SSL_CONNECTION *s, int keep) in ssl3_digest_cached_records()
137 int ssl_handshake_hash(SSL_CONNECTION *s, unsigned char *out, size_t outlen, in ssl_handshake_hash()
155 const EVP_MD *ssl_handshake_md(SSL_CONNECTION *s) in ssl_handshake_md()
173 int ssl_cipher_get_evp(SSL_CTX *ctx, const SSL_SESSION *s, in ssl_cipher_get_evp()
200 void ossl_statem_send_fatal(SSL_CONNECTION *s, int al) in ossl_statem_send_fatal()
204 void ossl_statem_fatal(SSL_CONNECTION *s, int al, int reason, in ossl_statem_fatal()
209 int ossl_statem_export_allowed(SSL_CONNECTION *s) in ossl_statem_export_allowed()
214 int ossl_statem_export_early_allowed(SSL_CONNECTION *s) in ossl_statem_export_early_allowed()
227 int ssl_set_new_record_layer(SSL_CONNECTION *s, int version, int direction, in ssl_set_new_record_layer()
241 static int test_secret(SSL_CONNECTION *s, unsigned char *prk, in test_secret()
[all …]

Completed in 119 milliseconds

123456789