| /NextBSD/crypto/openssl/ssl/ |
| HD | ssl_locl.h | 614 RSA *(*rsa_tmp_cb) (SSL *ssl, int is_export, int keysize); 618 DH *(*dh_tmp_cb) (SSL *ssl, int is_export, int keysize); 623 EC_KEY *(*ecdh_tmp_cb) (SSL *ssl, int is_export, int keysize); 675 int (*cert_cb) (SSL *ssl, void *arg); 765 int (*enc) (SSL *, int); 766 int (*mac) (SSL *, unsigned char *, int); 767 int (*setup_key_block) (SSL *); 768 int (*generate_master_secret) (SSL *, unsigned char *, unsigned char *, 770 int (*change_cipher_state) (SSL *, int); 771 int (*final_finish_mac) (SSL *, const char *, int, unsigned char *); [all …]
|
| HD | ssl.h | 390 typedef int (*tls_session_ticket_ext_cb_fn) (SSL *s, 393 typedef int (*tls_session_secret_cb_fn) (SSL *s, void *secret, 402 typedef int (*custom_ext_add_cb) (SSL *s, unsigned int ext_type, 406 typedef void (*custom_ext_free_cb) (SSL *s, unsigned int ext_type, 409 typedef int (*custom_ext_parse_cb) (SSL *s, unsigned int ext_type, 440 int (*ssl_new) (SSL *s); 441 void (*ssl_clear) (SSL *s); 442 void (*ssl_free) (SSL *s); 443 int (*ssl_accept) (SSL *s); 444 int (*ssl_connect) (SSL *s); [all …]
|
| HD | ssl_lib.c | 170 (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 …]
|
| HD | d1_lib.c | 70 static void dtls1_set_handshake_header(SSL *s, int type, unsigned long len); 71 static int dtls1_handshake_write(SSL *s); 73 int dtls1_listen(SSL *s, struct sockaddr *client); 123 int dtls1_new(SSL *s) in dtls1_new() 170 static void dtls1_clear_queues(SSL *s) in dtls1_clear_queues() 216 void dtls1_free(SSL *s) in dtls1_free() 232 void dtls1_clear(SSL *s) in dtls1_clear() 280 long dtls1_ctrl(SSL *s, int cmd, long larg, void *parg) in dtls1_ctrl() 360 void dtls1_start_timer(SSL *s) in dtls1_start_timer() 384 struct timeval *dtls1_get_timeout(SSL *s, struct timeval *timeleft) in dtls1_get_timeout() [all …]
|
| HD | s2_lib.c | 314 int ssl2_pending(const SSL *s) in ssl2_pending() 319 int ssl2_new(SSL *s) in ssl2_new() 356 void ssl2_free(SSL *s) in ssl2_free() 373 void ssl2_clear(SSL *s) in ssl2_clear() 393 long ssl2_ctrl(SSL *s, int cmd, long larg, void *parg) in ssl2_ctrl() 409 long ssl2_callback_ctrl(SSL *s, int cmd, void (*fp) (void)) in ssl2_callback_ctrl() 456 int ssl2_generate_key_material(SSL *s) in ssl2_generate_key_material() 511 void ssl2_return_error(SSL *s, int err) in ssl2_return_error() 521 void ssl2_write_error(SSL *s) in ssl2_write_error() 553 int ssl2_shutdown(SSL *s) in ssl2_shutdown()
|
| /NextBSD/crypto/openssl/doc/ssl/ |
| HD | ssl.pod | 6 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 …]
|
| HD | SSL_CTX_set_ssl_version.pod | 6 - 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
|
| HD | SSL_get_error.pod | 5 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 …]
|
| HD | SSL_CTX_set_msg_callback.pod | 11 …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 …]
|
| HD | SSL_new.pod | 5 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.
|
| HD | SSL_want.pod | 5 …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
|
| HD | SSL_accept.pod | 5 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
|
| HD | SSL_connect.pod | 5 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
|
| HD | SSL_state_string.pod | 5 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
|
| HD | SSL_rstate_string.pod | 5 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,
|
| HD | SSL_do_handshake.pod | 5 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 47 The TLS/SSL handshake was not successful but was shut down controlled and 48 by the specifications of the TLS/SSL protocol. Call SSL_get_error() with the 53 The TLS/SSL handshake was successfully completed, a TLS/SSL connection has been 58 The TLS/SSL handshake was not successful because a fatal error occurred either
|
| HD | SSL_set_session.pod | 5 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
|
| HD | SSL_set_fd.pod | 5 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
|
| HD | SSL_get_ex_data_X509_STORE_CTX_idx.pod | 5 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
|
| HD | SSL_CTX_use_certificate.pod | 14 int SSL_use_certificate(SSL *ssl, X509 *x); 15 int SSL_use_certificate_ASN1(SSL *ssl, unsigned char *d, int len); 16 int SSL_use_certificate_file(SSL *ssl, const char *file, int type); 27 int SSL_use_PrivateKey(SSL *ssl, EVP_PKEY *pkey); 28 int SSL_use_PrivateKey_ASN1(int pk,SSL *ssl, unsigned char *d, long len); 29 int SSL_use_PrivateKey_file(SSL *ssl, const char *file, int type); 30 int SSL_use_RSAPrivateKey(SSL *ssl, RSA *rsa); 31 int SSL_use_RSAPrivateKey_ASN1(SSL *ssl, unsigned char *d, long len); 32 int SSL_use_RSAPrivateKey_file(SSL *ssl, const char *file, int type); 35 int SSL_check_private_key(const SSL *ssl); [all …]
|
| HD | SSL_CTX_ctrl.pod | 5 …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
|
| /NextBSD/crypto/openssl/doc/crypto/ |
| HD | BIO_f_ssl.pod | 8 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 …]
|
| /NextBSD/crypto/openssl/apps/ |
| HD | s_apps.h | 165 int ssl_print_sigalgs(BIO *out, SSL *s); 166 int ssl_print_point_formats(BIO *out, SSL *s); 167 int ssl_print_curves(BIO *out, SSL *s, int noshared); 169 int ssl_print_tmp_key(BIO *out, SSL *s); 180 void MS_CALLBACK apps_ssl_info_callback(const SSL *s, int where, int ret); 182 const void *buf, size_t len, SSL *ssl, void *arg); 183 void MS_CALLBACK tlsext_cb(SSL *s, int client_server, int type, 187 int MS_CALLBACK generate_cookie_callback(SSL *ssl, unsigned char *cookie, 189 int MS_CALLBACK verify_cookie_callback(SSL *ssl, unsigned char *cookie, 199 void print_ssl_summary(BIO *bio, SSL *s);
|
| /NextBSD/crypto/openssl/doc/apps/ |
| HD | sess_id.pod | 6 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 …]
|
| /NextBSD/contrib/unbound/daemon/ |
| HD | remote.c | 609 ssl_print_text(SSL* ssl, const char* text) in ssl_print_text() 629 ssl_print_vmsg(SSL* ssl, const char* format, va_list args) in ssl_print_vmsg() 637 int ssl_printf(SSL* ssl, const char* format, ...) in ssl_printf() 648 ssl_read_line(SSL* ssl, char* buf, size_t max) in ssl_read_line() 687 static void send_ok(SSL* ssl) in send_ok() 694 do_stop(SSL* ssl, struct daemon_remote* rc) in do_stop() 703 do_reload(SSL* ssl, struct daemon_remote* rc) in do_reload() 712 do_verbosity(SSL* ssl, char* str) in do_verbosity() 725 print_stats(SSL* ssl, const char* nm, struct stats_info* s) in print_stats() 766 print_thread_stats(SSL* ssl, int i, struct stats_info* s) in print_thread_stats() [all …]
|