Home
last modified time | relevance | path

Searched refs:SSL (Results 1 – 25 of 318) sorted by relevance

12345678910>>...13

/freebsd-13.1/crypto/openssl/ssl/statem/
H A Dstatem_local.h54 typedef int (*confunc_f) (SSL *s, WPACKET *pkt);
56 int ssl3_take_mac(SSL *s);
62 int parse_ca_names(SSL *s, PACKET *pkt);
63 const STACK_OF(X509_NAME) *get_ca_names(SSL *s);
77 size_t ossl_statem_client_max_message_size(SSL *s);
90 size_t ossl_statem_server_max_message_size(SSL *s);
95 __owur int tls_get_message_header(SSL *s, int *mt);
111 __owur WORK_STATE dtls_wait_for_dry(SSL *s);
131 __owur int ssl3_check_cert_and_algorithm(SSL *s);
419 int tls_handle_alpn(SSL *s);
[all …]
H A Dstatem.h131 __owur int ossl_statem_accept(SSL *s);
132 __owur int ossl_statem_connect(SSL *s);
133 void ossl_statem_clear(SSL *s);
134 void ossl_statem_set_renegotiate(SSL *s);
145 int ossl_statem_in_error(const SSL *s);
146 void ossl_statem_set_in_init(SSL *s, int init);
147 int ossl_statem_get_in_handshake(SSL *s);
149 __owur int ossl_statem_skip_early_data(SSL *s);
151 void ossl_statem_set_hello_verify_done(SSL *s);
153 __owur int ossl_statem_export_allowed(SSL *s);
[all …]
H A Dstatem.c71 int SSL_in_init(const SSL *s) in SSL_in_init()
76 int SSL_is_init_finished(const SSL *s) in SSL_is_init_finished()
81 int SSL_in_before(const SSL *s) in SSL_in_before()
97 void ossl_statem_clear(SSL *s) in ossl_statem_clear()
152 int ossl_statem_in_error(const SSL *s) in ossl_statem_in_error()
179 int ossl_statem_skip_early_data(SSL *s) in ossl_statem_skip_early_data()
248 int ossl_statem_connect(SSL *s) in ossl_statem_connect()
253 int ossl_statem_accept(SSL *s) in ossl_statem_accept()
260 static info_cb get_callback(SSL *s) in get_callback()
698 static int statem_do_write(SSL *s) in statem_do_write()
[all …]
H A Dextensions.c18 static int init_server_name(SSL *s, unsigned int context);
29 static int init_npn(SSL *s, unsigned int context);
31 static int init_alpn(SSL *s, unsigned int context);
34 static int init_sig_algs(SSL *s, unsigned int context);
44 static int init_srp(SSL *s, unsigned int context);
46 static int init_etm(SSL *s, unsigned int context);
47 static int init_ems(SSL *s, unsigned int context);
54 static int init_srtp(SSL *s, unsigned int context);
75 int (*init)(SSL *s, unsigned int context);
1107 static int init_npn(SSL *s, unsigned int context) in init_npn()
[all …]
H A Dextensions_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()
116 static int use_ecc(SSL *s) in use_ecc()
145 EXT_RETURN tls_construct_ctos_ec_pt_formats(SSL *s, WPACKET *pkt, in tls_construct_ctos_ec_pt_formats()
264 EXT_RETURN tls_construct_ctos_sig_algs(SSL *s, WPACKET *pkt, in tls_construct_ctos_sig_algs()
412 EXT_RETURN tls_construct_ctos_use_srtp(SSL *s, WPACKET *pkt, in tls_construct_ctos_use_srtp()
643 EXT_RETURN tls_construct_ctos_key_share(SSL *s, WPACKET *pkt, in tls_construct_ctos_key_share()
733 EXT_RETURN tls_construct_ctos_early_data(SSL *s, WPACKET *pkt, in tls_construct_ctos_early_data()
916 EXT_RETURN tls_construct_ctos_padding(SSL *s, WPACKET *pkt, in tls_construct_ctos_padding()
[all …]
/freebsd-13.1/crypto/openssl/include/openssl/
H A Dssl.h1514 __owur int SSL_clear(SSL *s);
1559 void SSL_set_cert_cb(SSL *s, int (*cb) (SSL *ssl, void *arg), void *arg);
1644 __owur int SSL_copy_session_id(SSL *to, const SSL *from);
1725 SSL *SSL_new(SSL_CTX *ctx);
1726 int SSL_up_ref(SSL *s);
1817 void SSL_free(SSL *ssl);
1925 int SSL_renegotiate(SSL *s);
1928 int SSL_shutdown(SSL *s);
1968 __owur SSL *SSL_dup(SSL *ssl);
1999 void (*SSL_get_info_callback(const SSL *ssl)) (const SSL *ssl, int type,
[all …]
/freebsd-13.1/crypto/openssl/ssl/
H A Dssl_local.h444 int (*ssl_new) (SSL *s);
445 int (*ssl_clear) (SSL *s);
446 void (*ssl_free) (SSL *s);
2323 void ssl_set_masks(SSL *s);
2369 __owur int ssl3_new(SSL *s);
2370 void ssl3_free(SSL *s);
2375 int ssl3_clear(SSL *s);
2439 void tls1_free(SSL *s);
2440 int tls1_clear(SSL *s);
2443 void dtls1_free(SSL *s);
[all …]
H A Dssl_lib.c108 SSL *s;
211 static int ssl_dane_dup(SSL *to, SSL *from) in ssl_dane_dup()
579 int SSL_clear(SSL *s) in SSL_clear()
682 SSL *s; in SSL_new()
1148 void SSL_free(SSL *s) in SSL_free()
1585 int SSL_copy_session_id(SSL *t, const SSL *f) in SSL_copy_session_id()
1737 SSL *s; in ssl_io_intern()
3778 SSL *s; in ssl_do_handshake_intern()
3924 SSL *SSL_dup(SSL *s) in SSL_dup()
3926 SSL *ret; in SSL_dup()
[all …]
H A Dd1_lib.c67 int dtls1_new(SSL *s) in dtls1_new()
126 void dtls1_clear_sent_buffer(SSL *s) in dtls1_clear_sent_buffer()
139 void dtls1_free(SSL *s) in dtls1_free()
155 int dtls1_clear(SSL *s) in dtls1_clear()
243 void dtls1_start_timer(SSL *s) in dtls1_start_timer()
327 int dtls1_is_timer_expired(SSL *s) in dtls1_is_timer_expired()
352 void dtls1_stop_timer(SSL *s) in dtls1_stop_timer()
389 int dtls1_handle_timeout(SSL *s) in dtls1_handle_timeout()
867 int dtls1_shutdown(SSL *s) in dtls1_shutdown()
892 int dtls1_query_mtu(SSL *s) in dtls1_query_mtu()
[all …]
/freebsd-13.1/crypto/openssl/doc/man7/
H A Dssl.pod5 ssl - OpenSSL SSL/TLS library
23 B<SSL> object. After the B<SSL> object has been created using
34 TLS/SSL connection.
43 =item B<SSL_METHOD> (SSL Method)
49 =item B<SSL_CIPHER> (SSL Cipher)
56 =item B<SSL_CTX> (SSL Context)
62 =item B<SSL_SESSION> (SSL Session)
67 =item B<SSL> (SSL Connection)
487 =item int B<SSL_copy_session_id>(SSL *t, const SSL *f);
496 =item SSL *B<SSL_dup>(SSL *ssl);
[all …]
/freebsd-13.1/crypto/openssl/doc/man3/
H A DBIO_f_ssl.pod10 BIO_ssl_shutdown - SSL BIO
22 long BIO_get_ssl(BIO *b, SSL **sslp);
40 SSL I/O.
42 I/O performed on an SSL BIO communicates using the SSL protocol with
49 Calling BIO_reset() on an SSL BIO closes down any current SSL connection
57 BIO_set_ssl() sets the internal SSL pointer of SSL BIO B<b> to B<ssl> using
60 BIO_get_ssl() retrieves the SSL pointer of SSL BIO B<b>, it can then be
90 the internal SSL pointer.
157 SSL *ssl;
209 SSL *ssl;
[all …]
H A DSSL_new.pod5 SSL_dup, SSL_new, SSL_up_ref - create an SSL structure for a connection
11 SSL *SSL_dup(SSL *s);
12 SSL *SSL_new(SSL_CTX *ctx);
13 int SSL_up_ref(SSL *s);
17 SSL_new() creates a new B<SSL> structure which is needed to hold the
18 data for a TLS/SSL connection. The new structure inherits the settings
20 options, verification settings, timeout settings. An B<SSL> structure is
27 existing B<SSL> structure.
31 the settings in I<s> into the new B<SSL> object.
110 =item Pointer to an SSL structure
[all …]
H A DSSL_CTX_set_ssl_version.pod6 - choose a new TLS/SSL method
13 int SSL_set_ssl_method(SSL *s, const SSL_METHOD *method);
14 const SSL_METHOD *SSL_get_ssl_method(const SSL *ssl);
18 SSL_CTX_set_ssl_version() sets a new default TLS/SSL B<method> for SSL objects
19 newly created from this B<ctx>. SSL objects already created with
23 SSL_set_ssl_method() sets a new TLS/SSL B<method> for a particular B<ssl>
26 SSL_get_ssl_method() returns a function pointer to the TLS/SSL method
35 an SSL object, the method of the SSL object is reset to the method currently
H A DSSL_CTX_set_ex_data.pod7 - Store and retrieve extra data from the SSL_CTX, SSL or SSL_SESSION
17 void *SSL_get_ex_data(const SSL *s, int idx);
19 int SSL_set_ex_data(SSL *s, int idx, void *arg);
23 SSL*_set_ex_data() functions can be used to store arbitrary user data into the
24 B<SSL_CTX>, or B<SSL> object. The user must supply a unique index
25 which they can subsequently use to retrieve the data using SSL*_get_ex_data().
33 The SSL*_set_ex_data() functions return 1 if the item is successfully stored
35 The SSL*_get_ex_data() functions return the ex_data pointer if successful,
H A DSSL_want.pod7 information TLS/SSL I/O operation
13 int SSL_want(const SSL *ssl);
14 int SSL_want_nothing(const SSL *ssl);
15 int SSL_want_read(const SSL *ssl);
16 int SSL_want_write(const SSL *ssl);
17 int SSL_want_x509_lookup(const SSL *ssl);
18 int SSL_want_async(const SSL *ssl);
19 int SSL_want_async_job(const SSL *ssl);
20 int SSL_want_client_hello_cb(const SSL *ssl);
24 SSL_want() returns state information for the SSL object B<ssl>.
[all …]
H A DSSL_accept.pod5 SSL_accept - wait for a TLS/SSL client to initiate a TLS/SSL handshake
11 int SSL_accept(SSL *ssl);
15 SSL_accept() waits for a TLS/SSL client to initiate the TLS/SSL handshake.
46 The TLS/SSL handshake was not successful but was shut down controlled and
47 by the specifications of the TLS/SSL protocol. Call SSL_get_error() with the
52 The TLS/SSL handshake was successfully completed, a TLS/SSL connection has been
57 The TLS/SSL handshake was not successful because a fatal error occurred either
H A DSSL_CTX_set1_verify_cert_store.pod20 int SSL_set0_verify_cert_store(SSL *ctx, X509_STORE *st);
21 int SSL_set1_verify_cert_store(SSL *ctx, X509_STORE *st);
22 int SSL_set0_chain_cert_store(SSL *ctx, X509_STORE *st);
23 int SSL_set1_chain_cert_store(SSL *ctx, X509_STORE *st);
35 except they apply to SSL structure B<ssl>.
45 The stores pointers associated with an SSL_CTX structure are copied to any SSL
46 structures when SSL_new() is called. As a result SSL structures will not be
50 peer: that is an SSL/TLS client will use the verification store to verify
51 the server's certificate chain and a SSL/TLS server will use it to verify
H A DSSL_in_init.pod17 int SSL_in_init(const SSL *s);
18 int SSL_in_before(const SSL *s);
19 int SSL_is_init_finished(const SSL *s);
21 int SSL_in_connect_init(SSL *s);
22 int SSL_in_accept_init(SSL *s);
24 OSSL_HANDSHAKE_STATE SSL_get_state(const SSL *ssl);
28 SSL_in_init() returns 1 if the SSL/TLS state machine is currently processing or
31 SSL_in_before() returns 1 if no SSL/TLS handshake has yet been initiated, or 0
34 SSL_is_init_finished() returns 1 if the SSL/TLS connection is in a state where
H A DSSL_CTX_set_record_padding_callback.pod18 …void SSL_CTX_set_record_padding_callback(SSL_CTX *ctx, size_t (*cb)(SSL *s, int type, size_t len, …
19 …int SSL_set_record_padding_callback(SSL *ssl, size_t (*cb)(SSL *s, int type, size_t len, void *arg…
24 void SSL_set_record_padding_callback_arg(SSL *ssl, void *arg);
25 void *SSL_get_record_padding_callback_arg(const SSL *ssl);
28 int SSL_set_block_padding(SSL *ssl, size_t block_size);
34 for TLS 1.3 records. The value set in B<ctx> is copied to a new SSL by SSL_new().
36 function cannot be set if Kernel TLS is already configured for the current SSL object.
40 set in B<ctx> is copied to a new SSL by SSL_new().
70 the callback function is not set because Kernel TLS is configured for the SSL object.
H A DSSL_get_error.pod5 SSL_get_error - obtain result code for TLS/SSL I/O operation
11 int SSL_get_error(const SSL *ssl, int ret);
23 used in the same thread that performed the TLS/SSL I/O operation, and no
25 thread's error queue must be empty before the TLS/SSL I/O operation is
36 The TLS/SSL I/O operation completed. This result code is returned
41 The TLS/SSL peer has closed the connection for writing by sending the
80 TLS/SSL I/O function should be retried.
82 Caveat: Any TLS/SSL I/O function can lead to either of
94 The operation did not complete; the same TLS/SSL I/O function should be
107 The TLS/SSL I/O function should be called again later.
[all …]
H A DSSL_rstate_string.pod5 SSL_rstate_string, SSL_rstate_string_long - get textual description of state of an SSL object durin…
11 const char *SSL_rstate_string(SSL *ssl);
12 const char *SSL_rstate_string_long(SSL *ssl);
17 of the SSL object B<ssl>.
20 the SSL object B<ssl>.
24 When performing a read operation, the SSL/TLS engine must parse the record,
/freebsd-13.1/crypto/openssl/apps/
H A Ds_apps.h27 int ssl_print_sigalgs(BIO *out, SSL *s);
28 int ssl_print_point_formats(BIO *out, SSL *s);
29 int ssl_print_groups(BIO *out, SSL *s, int noshared);
30 int ssl_print_tmp_key(BIO *out, SSL *s);
39 void apps_ssl_info_callback(const SSL *s, int where, int ret);
41 size_t len, SSL *ssl, void *arg);
45 int generate_cookie_callback(SSL *ssl, unsigned char *cookie,
47 int verify_cookie_callback(SSL *ssl, const unsigned char *cookie,
66 void print_verify_detail(SSL *s, BIO *bio);
67 void print_ssl_summary(SSL *s);
[all …]
/freebsd-13.1/crypto/openssl/ssl/record/
H A Drecord.h131 SSL *s;
196 void RECORD_LAYER_init(RECORD_LAYER *rl, SSL *s);
206 __owur size_t ssl3_pending(const SSL *s);
209 int do_ssl3_write(SSL *s, int type, const unsigned char *buf,
212 __owur int ssl3_read_bytes(SSL *s, int type, int *recvd_type,
215 __owur int ssl3_setup_buffers(SSL *s);
220 __owur int tls1_enc(SSL *s, SSL3_RECORD *recs, size_t n_recs, int send);
229 __owur int dtls1_read_bytes(SSL *s, int type, int *recvd_type,
234 int do_dtls1_write(SSL *s, int type, const unsigned char *buf,
236 void dtls1_reset_seq_numbers(SSL *s, int rw);
[all …]
H A Drecord_local.h42 DTLS1_BITMAP *dtls1_get_bitmap(SSL *s, SSL3_RECORD *rr,
44 int dtls1_process_buffered_records(SSL *s);
74 __owur int ssl3_setup_read_buffer(SSL *s);
76 int ssl3_release_read_buffer(SSL *s);
77 int ssl3_release_write_buffer(SSL *s);
107 int ssl3_get_record(SSL *s);
108 __owur int ssl3_do_compress(SSL *ssl, SSL3_RECORD *wr);
109 __owur int ssl3_do_uncompress(SSL *ssl, SSL3_RECORD *rr);
114 __owur int tls1_cbc_remove_padding(const SSL *s,
117 int dtls1_process_record(SSL *s, DTLS1_BITMAP *bitmap);
[all …]
/freebsd-13.1/crypto/openssl/doc/man1/
H A Dsess_id.pod6 sess_id - SSL/TLS session handling utility
22 The B<sess_id> process the encoded version of the SSL session structure
23 and optionally prints out SSL session details (for example the SSL session
85 SSL-Session:
106 The cipher used this is the actual raw SSL or TLS cipher code, see the SSL
111 The SSL session ID in hex format.
119 This is the SSL session master key.
132 This is the return code when an SSL client certificate is verified.
140 -----BEGIN SSL SESSION PARAMETERS-----
141 -----END SSL SESSION PARAMETERS-----
[all …]

12345678910>>...13