Home
last modified time | relevance | path

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

12345678910

/minix3/crypto/external/bsd/openssl/dist/ssl/
H A Dssl_locl.h529 RSA *(*rsa_tmp_cb) (SSL *ssl, int is_export, int keysize);
533 DH *(*dh_tmp_cb) (SSL *ssl, int is_export, int keysize);
538 EC_KEY *(*ecdh_tmp_cb) (SSL *ssl, int is_export, int keysize);
607 int (*enc) (SSL *, int);
608 int (*mac) (SSL *, unsigned char *, int);
609 int (*setup_key_block) (SSL *);
610 int (*generate_master_secret) (SSL *, unsigned char *, unsigned char *,
612 int (*change_cipher_state) (SSL *, int);
613 int (*final_finish_mac) (SSL *, const char *, int, unsigned char *);
615 int (*cert_verify_mac) (SSL *, int, unsigned char *);
[all …]
H A Dssl.h384 typedef int (*tls_session_ticket_ext_cb_fn) (SSL *s,
387 typedef int (*tls_session_secret_cb_fn) (SSL *s, void *secret,
417 int (*ssl_new) (SSL *s);
418 void (*ssl_clear) (SSL *s);
419 void (*ssl_free) (SSL *s);
420 int (*ssl_accept) (SSL *s);
421 int (*ssl_connect) (SSL *s);
422 int (*ssl_read) (SSL *s, void *buf, int len);
423 int (*ssl_peek) (SSL *s, void *buf, int len);
424 int (*ssl_write) (SSL *s, const void *buf, int len);
[all …]
H A Dssl_lib.c170 (int (*)(SSL *, int))ssl_undefined_function,
171 (int (*)(SSL *, unsigned char *, int))ssl_undefined_function,
173 (int (*)(SSL *, unsigned char *, unsigned char *, int))
175 (int (*)(SSL *, int))ssl_undefined_function,
176 (int (*)(SSL *, const char *, int, unsigned char *))
179 (int (*)(SSL *, int, unsigned char *))ssl_undefined_function,
185 (int (*)(SSL *, unsigned char *, size_t, const char *,
190 int SSL_clear(SSL *s) in SSL_clear()
285 SSL *SSL_new(SSL_CTX *ctx) in SSL_new()
287 SSL *s; in SSL_new()
[all …]
H A Dsrtp.h136 int SSL_set_tlsext_use_srtp(SSL *ctx, const char *profiles);
137 SRTP_PROTECTION_PROFILE *SSL_get_selected_srtp_profile(SSL *s);
139 STACK_OF(SRTP_PROTECTION_PROFILE) *SSL_get_srtp_profiles(SSL *ssl);
140 SRTP_PROTECTION_PROFILE *SSL_get_selected_srtp_profile(SSL *s);
/minix3/crypto/external/bsd/openssl/dist/doc/ssl/
H A Dssl.pod6 SSL - OpenSSL SSL/TLS library
12 The OpenSSL B<ssl> library implements the Secure Sockets Layer (SSL v2/v3) and
20 TLS/SSL enabled connections (see L<SSL_CTX_new(3)|SSL_CTX_new(3)>).
25 B<SSL> object. After the B<SSL> object has been created using
30 Then the TLS/SSL handshake is performed using
34 to read and write data on the TLS/SSL connection.
36 TLS/SSL connection.
45 =item B<SSL_METHOD> (SSL Method)
51 =item B<SSL_CIPHER> (SSL Cipher)
54 are a core part of the SSL/TLS protocol. The available ciphers are configured
[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(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_new.pod5 SSL_new - create a new SSL structure for a connection
11 SSL *SSL_new(SSL_CTX *ctx);
15 SSL_new() creates a new B<SSL> structure which is needed to hold the
16 data for a TLS/SSL connection. The new structure inherits the settings
28 The creation of a new SSL structure failed. Check the error stack to
31 =item Pointer to an SSL structure
33 The return value points to an allocated SSL structure.
H A DSSL_CTX_set_msg_callback.pod11 …cb)(int write_p, int version, int content_type, const void *buf, size_t len, SSL *ssl, void *arg));
14 …void SSL_set_msg_callback(SSL *ssl, void (*cb)(int write_p, int version, int content_type, const v…
15 void SSL_set_msg_callback_arg(SSL *ssl, void *arg);
20 define a message callback function I<cb> for observing all SSL/TLS
27 default settings that will be copied to new B<SSL> objects by
29 SSL_set_msg_callback_arg() modify the actual settings of an B<SSL>
32 When I<cb> is called by the SSL/TLS library for a protocol message,
46 B<SSL2_VERSION>, B<SSL3_VERSION> and B<TLS1_VERSION> (for SSL 2.0, SSL
51 In the case of SSL 2.0, this is always B<0>. In the case of SSL 3.0
65 The B<SSL> object that received or sent the message.
[all …]
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);
18 that TLS/SSL I/O function must be passed to SSL_get_error() in parameter
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 connection has been closed. If the protocol version is SSL 3.0
50 The operation did not complete; the same TLS/SSL I/O function should be
53 or allows writing data (B<SSL_ERROR_WANT_WRITE>), then some TLS/SSL
54 protocol progress will take place, i.e. at least part of an TLS/SSL
[all …]
H A DSSL_want.pod5 …SL_want_read, SSL_want_write, SSL_want_x509_lookup - obtain state information TLS/SSL I/O operation
11 int SSL_want(const SSL *ssl);
12 int SSL_want_nothing(const SSL *ssl);
13 int SSL_want_read(const SSL *ssl);
14 int SSL_want_write(const SSL *ssl);
15 int SSL_want_x509_lookup(const SSL *ssl);
19 SSL_want() returns state information for the SSL object B<ssl>.
26 SSL_want() examines the internal state information of the SSL object. Its
49 There are data in the SSL buffer that must be written to the underlying
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.
49 The TLS/SSL handshake was not successful but was shut down controlled and
50 by the specifications of the TLS/SSL protocol. Call SSL_get_error() with the
55 The TLS/SSL handshake was successfully completed, a TLS/SSL connection has been
60 The TLS/SSL handshake was not successful because a fatal error occurred either
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,
H A DSSL_state_string.pod5 SSL_state_string, SSL_state_string_long - get textual description of state of an SSL object
11 const char *SSL_state_string(const SSL *ssl);
12 const char *SSL_state_string_long(const SSL *ssl);
17 of the SSL object B<ssl>.
20 the SSL object B<ssl>.
24 During its use, an SSL objects passes several states. The state is internally
H A DSSL_connect.pod5 SSL_connect - initiate the TLS/SSL handshake with an TLS/SSL server
11 int SSL_connect(SSL *ssl);
15 SSL_connect() initiates the TLS/SSL handshake with a server. The communication
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_ctrl.pod5 …allback_ctrl, SSL_ctrl, SSL_callback_ctrl - internal handling functions for SSL_CTX and SSL objects
14 long SSL_ctrl(SSL *ssl, int cmd, long larg, void *parg);
15 long SSL_callback_ctrl(SSL *, int cmd, void (*fp)());
20 the SSL_CTX and SSL objects. Depending on the command B<cmd> the arguments
27 The return values of the SSL*_ctrl() functions depend on the command
H A DSSL_pending.pod5 SSL_pending - obtain number of readable bytes buffered in an SSL object
11 int SSL_pending(const SSL *ssl);
30 SSL_pending() takes into account only bytes from the TLS/SSL record
31 that is currently being processed (if any). If the B<SSL> object's
34 bytes may have been read containing more TLS/SSL records; these are ignored by
H A DSSL_set_fd.pod5 SSL_set_fd - connect the SSL object with a file descriptor
11 int SSL_set_fd(SSL *ssl, int fd);
12 int SSL_set_rfd(SSL *ssl, int fd);
13 int SSL_set_wfd(SSL *ssl, int fd);
18 for the TLS/SSL (encrypted) side of B<ssl>. B<fd> will typically be the
22 interface between the B<ssl> and B<fd>. The BIO and hence the SSL engine
H A DSSL_set_session.pod5 SSL_set_session - set a TLS/SSL session to be used during TLS/SSL connect
11 int SSL_set_session(SSL *ssl, SSL_SESSION *session);
15 SSL_set_session() sets B<session> to be used when the TLS/SSL connection
16 is to be established. SSL_set_session() is only useful for TLS/SSL clients.
31 only be used with one SSL_CTX object (and the SSL objects created
H A DSSL_get_ex_data_X509_STORE_CTX_idx.pod5 SSL_get_ex_data_X509_STORE_CTX_idx - get ex_data index to access SSL structure
17 the pointer to the SSL object is stored into the X509_STORE_CTX object.
22 peers certificate during a handshake, a pointer to the SSL object is
29 program directly or indirectly during other SSL setup functions or during
33 before the SSL index is created.
52 access the SSL object for the connection to be accessed during the
H A DSSL_get_rbio.pod5 SSL_get_rbio - get BIO linked to an SSL object
11 BIO *SSL_get_rbio(SSL *ssl);
12 BIO *SSL_get_wbio(SSL *ssl);
28 No BIO was connected to the SSL object
/minix3/crypto/external/bsd/openssl/dist/doc/crypto/
H A DBIO_f_ssl.pod8 BIO_ssl_shutdown - SSL BIO
37 BIO_f_ssl() returns the SSL BIO method. This is a filter BIO which
38 is a wrapper round the OpenSSL SSL routines adding a BIO "flavour" to
39 SSL I/O.
41 I/O performed on an SSL BIO communicates using the SSL protocol with
42 the SSLs read and write BIOs. If an SSL connection is not established
45 If a BIO is appended to an SSL BIO using BIO_push() it is automatically
46 used as the SSL BIOs read and write BIOs.
48 Calling BIO_reset() on an SSL BIO closes down any current SSL connection
51 The SSL BIO is then reset to the initial accept or connect state.
[all …]
/minix3/crypto/external/bsd/openssl/dist/doc/apps/
H A Dsess_id.pod6 sess_id - SSL/TLS session handling utility
21 The B<sess_id> process the encoded version of the SSL session structure
22 and optionally prints out SSL session details (for example the SSL session
24 needs some knowledge of the SSL protocol to use properly, most users will
77 SSL-Session:
98 the cipher used this is the actual raw SSL or TLS cipher code, see the SSL
103 the SSL session ID in hex format.
111 this is the SSL session master key.
115 the key argument, this is only used in SSL v2.
127 this is the return code when an SSL client certificate is verified.
[all …]
/minix3/crypto/external/bsd/openssl/dist/demos/easy_tls/
H A DREADME1 easy_tls - generic SSL/TLS proxy
4 (... and example for non-blocking SSL/TLS I/O multiplexing.)
9 Small generic SSL/TLS proxy library: With a few function calls,
11 separate SSL/TLS proxy process. This allows easily adding
12 SSL/TLS support to many programs not originally designed for it.
31 'test' will not automatically do SSL/TLS, or even read or write
35 start an SSL/TLS proxy. E.g. (user input tagged with '*'):
52 You can even do SSL/TLS over SSL/TLS over SSL/TLS ... by using
/minix3/crypto/external/bsd/openssl/dist/demos/tunala/
H A Dtunala.h157 void buffer_from_SSL(buffer_t * buf, SSL *ssl);
158 void buffer_to_SSL(buffer_t * buf, SSL *ssl);
163 void cb_ssl_info(const SSL *s, int where, int ret);
170 RSA *cb_generate_tmp_rsa(SSL *s, int is_export, int keylength);
179 SSL *ssl;
193 SSL *state_machine_get_SSL(state_machine_t * machine);
194 int state_machine_set_SSL(state_machine_t * machine, SSL *ssl, int is_server);
/minix3/crypto/external/bsd/openssl/dist/apps/
H A Ds_apps.h174 void MS_CALLBACK apps_ssl_info_callback(const SSL *s, int where, int ret);
176 const void *buf, size_t len, SSL *ssl, void *arg);
177 void MS_CALLBACK tlsext_cb(SSL *s, int client_server, int type,
181 int MS_CALLBACK generate_cookie_callback(SSL *ssl, unsigned char *cookie,
183 int MS_CALLBACK verify_cookie_callback(SSL *ssl, unsigned char *cookie,

12345678910