Home
last modified time | relevance | path

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

1234567

/onnv-gate/usr/src/common/openssl/ssl/
H A Dssl_locl.h419 RSA *(*rsa_tmp_cb)(SSL *ssl,int is_export,int keysize);
423 DH *(*dh_tmp_cb)(SSL *ssl,int is_export,int keysize);
428 EC_KEY *(*ecdh_tmp_cb)(SSL *ssl,int is_export,int keysize);
485 int (*enc)(SSL *, int);
486 int (*mac)(SSL *, unsigned char *, int);
487 int (*setup_key_block)(SSL *);
488 int (*generate_master_secret)(SSL *, unsigned char *, unsigned char *, int);
489 int (*change_cipher_state)(SSL *, int);
490 int (*final_finish_mac)(SSL *, EVP_MD_CTX *, EVP_MD_CTX *, const char *, int, unsigned char *);
492 int (*cert_verify_mac)(SSL *, EVP_MD_CTX *, unsigned char *);
[all …]
H A Dssl.h361 typedef struct ssl_st SSL; typedef
368 int (*ssl_new)(SSL *s);
369 void (*ssl_clear)(SSL *s);
370 void (*ssl_free)(SSL *s);
371 int (*ssl_accept)(SSL *s);
372 int (*ssl_connect)(SSL *s);
373 int (*ssl_read)(SSL *s,void *buf,int len);
374 int (*ssl_peek)(SSL *s,void *buf,int len);
375 int (*ssl_write)(SSL *s,const void *buf,int len);
376 int (*ssl_shutdown)(SSL *s);
[all …]
H A Dssl_lib.c136 (int (*)(SSL *,int))ssl_undefined_function,
137 (int (*)(SSL *, unsigned char *, int))ssl_undefined_function,
139 (int (*)(SSL *, unsigned char *, unsigned char *, int))ssl_undefined_function,
140 (int (*)(SSL*, int))ssl_undefined_function,
141 …(int (*)(SSL *, EVP_MD_CTX *, EVP_MD_CTX *, const char*, int, unsigned char *))ssl_undefined_funct…
143 (int (*)(SSL *, EVP_MD_CTX *, unsigned char *))ssl_undefined_function,
151 int SSL_clear(SSL *s) in SSL_clear()
238 SSL *SSL_new(SSL_CTX *ctx) in SSL_new()
240 SSL *s; in SSL_new()
253 s=(SSL *)OPENSSL_malloc(sizeof(SSL)); in SSL_new()
[all …]
H A Dt1_lib.c91 int tls1_new(SSL *s) in IMPLEMENT_tls1_meth_func()
98 void tls1_free(SSL *s) in tls1_free()
103 void tls1_clear(SSL *s) in tls1_clear()
110 long tls1_ctrl(SSL *s, int cmd, long larg, char *parg)
115 long tls1_callback_ctrl(SSL *s, int cmd, void *(*fp)())
H A Ds2_lib.c237 int ssl2_pending(const SSL *s) in ssl2_pending()
242 int ssl2_new(SSL *s) in ssl2_new()
273 void ssl2_free(SSL *s) in ssl2_free()
288 void ssl2_clear(SSL *s) in ssl2_clear()
308 long ssl2_ctrl(SSL *s, int cmd, long larg, void *parg) in ssl2_ctrl()
323 long ssl2_callback_ctrl(SSL *s, int cmd, void (*fp)(void)) in ssl2_callback_ctrl()
373 int ssl2_generate_key_material(SSL *s) in ssl2_generate_key_material()
425 void ssl2_return_error(SSL *s, int err) in ssl2_return_error()
437 void ssl2_write_error(SSL *s) in ssl2_write_error()
467 int ssl2_shutdown(SSL *s) in ssl2_shutdown()
/onnv-gate/usr/src/lib/libldap4/include/
H A Dssl.h17 typedef void * SSL; typedef
19 SSL SSL_new();
20 int SSL_connect(SSL s, int filedes);
21 int SSL_accept(SSL s, int filedes);
22 int SSL_read(SSL s, u_char *buf, u_int len);
23 int SSL_write(SSL s, u_char *buf, u_int len);
24 int SSL_fread(SSL s, u_char *buf, u_int len);
25 int SSL_fwrite(SSL s, u_char *buf, u_int len);
26 int SSL_flush(SSL s);
27 int SSL_close(SSL s);
[all …]
/onnv-gate/usr/src/common/openssl/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, SSL_METHOD *method);
14 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_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_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 …cb)(int write_p, int version, int content_type, const void *buf, size_t len, 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.
87 a TLS 1.0 ClientHello message is received by an SSL 3.0-only server,
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 successfully completed, a TLS/SSL connection has been
54 The TLS/SSL handshake was not successful but was shut down controlled and
55 by the specifications of the TLS/SSL protocol. Call SSL_get_error() with the
60 The TLS/SSL handshake was not successful because a fatal error occurred either
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 successfully completed, a TLS/SSL connection has been
51 The TLS/SSL handshake was not successful but was shut down controlled and
52 by the specifications of the TLS/SSL protocol. Call SSL_get_error() with the
57 The TLS/SSL handshake was not successful, because a fatal error occurred either
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_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_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_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_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
33 read containing more TLS/SSL records; these are ignored by
H A DSSL_do_handshake.pod5 SSL_do_handshake - perform a TLS/SSL handshake
11 int SSL_do_handshake(SSL *ssl);
15 SSL_do_handshake() will wait for a SSL/TLS handshake to take place. If the
50 The TLS/SSL handshake was successfully completed, a TLS/SSL connection has been
55 The TLS/SSL handshake was not successful but was shut down controlled and
56 by the specifications of the TLS/SSL protocol. Call SSL_get_error() with the
61 The TLS/SSL handshake was not successful because a fatal error occurred either
H A DSSL_get_session.pod5 SSL_get_session - retrieve TLS/SSL session data
11 SSL_SESSION *SSL_get_session(const SSL *ssl);
12 SSL_SESSION *SSL_get0_session(const SSL *ssl);
13 SSL_SESSION *SSL_get1_session(SSL *ssl);
48 only be used with one SSL_CTX object (and the SSL objects created
61 =item Pointer to an SSL
63 The return value points to the data of an SSL session.
/onnv-gate/usr/src/common/openssl/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 …]
/onnv-gate/usr/src/common/openssl/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 …]

1234567