| /netbsd-src/crypto/external/bsd/openssl.old/dist/ssl/statem/ |
| H A D | statem_local.h | 54 typedef int (*confunc_f) (SSL *s, WPACKET *pkt); 56 int ssl3_take_mac(SSL *s); 57 int check_in_list(SSL *s, uint16_t group_id, const uint16_t *groups, 59 int create_synthetic_message_hash(SSL *s, const unsigned char *hashval, 62 int parse_ca_names(SSL *s, PACKET *pkt); 63 const STACK_OF(X509_NAME) *get_ca_names(SSL *s); 64 int construct_ca_names(SSL *s, const STACK_OF(X509_NAME) *ca_sk, WPACKET *pkt); 65 size_t construct_key_exchange_tbs(SSL *s, unsigned char **ptbs, 71 int ossl_statem_client_read_transition(SSL *s, int mt); 72 WRITE_TRAN ossl_statem_client_write_transition(SSL *s); [all …]
|
| H A D | statem.h | 131 __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); 135 void ossl_statem_fatal(SSL *s, int al, int func, int reason, const char *file, 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); 148 void ossl_statem_set_in_handshake(SSL *s, int inhand); 149 __owur int ossl_statem_skip_early_data(SSL *s); [all …]
|
| H A D | statem.c | 60 static int state_machine(SSL *s, int server); 61 static void init_read_state_machine(SSL *s); 62 static SUB_STATE_RETURN read_state_machine(SSL *s); 63 static void init_write_state_machine(SSL *s); 64 static SUB_STATE_RETURN write_state_machine(SSL *s); 66 OSSL_HANDSHAKE_STATE SSL_get_state(const SSL *ssl) in SSL_get_state() 71 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() [all …]
|
| H A D | extensions.c | 17 static int final_renegotiate(SSL *s, unsigned int context, int sent); 18 static int init_server_name(SSL *s, unsigned int context); 19 static int final_server_name(SSL *s, unsigned int context, int sent); 21 static int init_ec_point_formats(SSL *s, unsigned int context); 22 static int final_ec_pt_formats(SSL *s, unsigned int context, int sent); 24 static int init_session_ticket(SSL *s, unsigned int context); 26 static int init_status_request(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); 32 static int final_alpn(SSL *s, unsigned int context, int sent); [all …]
|
| /netbsd-src/crypto/external/bsd/openssl/dist/ssl/statem/ |
| H A D | statem_local.h | 62 typedef int (*confunc_f) (SSL *s, WPACKET *pkt); 64 int ssl3_take_mac(SSL *s); 65 int check_in_list(SSL *s, uint16_t group_id, const uint16_t *groups, 67 int create_synthetic_message_hash(SSL *s, const unsigned char *hashval, 70 int parse_ca_names(SSL *s, PACKET *pkt); 71 const STACK_OF(X509_NAME) *get_ca_names(SSL *s); 72 int construct_ca_names(SSL *s, const STACK_OF(X509_NAME) *ca_sk, WPACKET *pkt); 73 size_t construct_key_exchange_tbs(SSL *s, unsigned char **ptbs, 79 int ossl_statem_client_read_transition(SSL *s, int mt); 80 WRITE_TRAN ossl_statem_client_write_transition(SSL *s); [all …]
|
| H A D | statem.h | 131 __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); 135 void ossl_statem_send_fatal(SSL *s, int al); 136 void ossl_statem_fatal(SSL *s, int al, int reason, const char *fmt, ...); 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); 148 void ossl_statem_set_in_handshake(SSL *s, int inhand); [all …]
|
| H A D | statem.c | 65 static int state_machine(SSL *s, int server); 66 static void init_read_state_machine(SSL *s); 67 static SUB_STATE_RETURN read_state_machine(SSL *s); 68 static void init_write_state_machine(SSL *s); 69 static SUB_STATE_RETURN write_state_machine(SSL *s); 71 OSSL_HANDSHAKE_STATE SSL_get_state(const SSL *ssl) in SSL_get_state() 76 int SSL_in_init(const SSL *s) in SSL_in_init() 81 int SSL_is_init_finished(const SSL *s) in SSL_is_init_finished() 86 int SSL_in_before(const SSL *s) in SSL_in_before() 102 void ossl_statem_clear(SSL *s) in ossl_statem_clear() [all …]
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/include/openssl/ |
| H A D | ssl.h | 229 typedef int (*tls_session_ticket_ext_cb_fn)(SSL *s, const unsigned char *data, 231 typedef int (*tls_session_secret_cb_fn)(SSL *s, void *secret, int *secret_len, 262 typedef int (*custom_ext_add_cb)(SSL *s, unsigned int ext_type, 266 typedef void (*custom_ext_free_cb)(SSL *s, unsigned int ext_type, 269 typedef int (*custom_ext_parse_cb)(SSL *s, unsigned int ext_type, 274 typedef int (*SSL_custom_ext_add_cb_ex)(SSL *s, unsigned int ext_type, 281 typedef void (*SSL_custom_ext_free_cb_ex)(SSL *s, unsigned int ext_type, 286 typedef int (*SSL_custom_ext_parse_cb_ex)(SSL *s, unsigned int ext_type, 584 unsigned long SSL_get_options(const SSL *s); 586 unsigned long SSL_clear_options(SSL *s, unsigned long op); [all …]
|
| /netbsd-src/crypto/external/bsd/openssl/dist/ssl/ |
| H A D | ssl_local.h | 490 int (*ssl_new) (SSL *s); 491 int (*ssl_clear) (SSL *s); 492 void (*ssl_free) (SSL *s); 493 int (*ssl_accept) (SSL *s); 494 int (*ssl_connect) (SSL *s); 495 int (*ssl_read) (SSL *s, void *buf, size_t len, size_t *readbytes); 496 int (*ssl_peek) (SSL *s, void *buf, size_t len, size_t *readbytes); 497 int (*ssl_write) (SSL *s, const void *buf, size_t len, size_t *written); 498 int (*ssl_shutdown) (SSL *s); 499 int (*ssl_renegotiate) (SSL *s); [all …]
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/ssl/ |
| H A D | ssl_local.h | 442 int (*ssl_new) (SSL *s); 443 int (*ssl_clear) (SSL *s); 444 void (*ssl_free) (SSL *s); 445 int (*ssl_accept) (SSL *s); 446 int (*ssl_connect) (SSL *s); 447 int (*ssl_read) (SSL *s, void *buf, size_t len, size_t *readbytes); 448 int (*ssl_peek) (SSL *s, void *buf, size_t len, size_t *readbytes); 449 int (*ssl_write) (SSL *s, const void *buf, size_t len, size_t *written); 450 int (*ssl_shutdown) (SSL *s); 451 int (*ssl_renegotiate) (SSL *s); [all …]
|
| H A D | ssl_lib.c | 28 static int ssl_undefined_function_1(SSL *ssl, SSL3_RECORD *r, size_t s, int t) in ssl_undefined_function_1() 36 static int ssl_undefined_function_2(SSL *ssl, SSL3_RECORD *r, unsigned char *s, in ssl_undefined_function_2() 45 static int ssl_undefined_function_3(SSL *ssl, unsigned char *r, in ssl_undefined_function_3() 55 static int ssl_undefined_function_4(SSL *ssl, int r) in ssl_undefined_function_4() 61 static size_t ssl_undefined_function_5(SSL *ssl, const char *r, size_t s, in ssl_undefined_function_5() 76 static int ssl_undefined_function_7(SSL *ssl, unsigned char *r, size_t s, in ssl_undefined_function_7() 106 SSL *s; 111 int (*func_read) (SSL *, void *, size_t, size_t *); 112 int (*func_write) (SSL *, const void *, size_t, size_t *); 113 int (*func_other) (SSL *); [all …]
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/doc/man7/ |
| H A D | ssl.pod | 5 ssl - OpenSSL SSL/TLS library 13 The OpenSSL B<ssl> library implements the Secure Sockets Layer (SSL v2/v3) and 18 TLS/SSL enabled connections (see L<SSL_CTX_new(3)>). 23 B<SSL> object. After the B<SSL> object has been created using 28 When the TLS/SSL handshake is performed using 32 used to read and write data on the TLS/SSL connection. 34 TLS/SSL connection. 43 =item B<SSL_METHOD> (SSL Method) 49 =item B<SSL_CIPHER> (SSL Cipher) 52 are a core part of the SSL/TLS protocol. The available ciphers are configured [all …]
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/doc/man3/ |
| H A D | BIO_f_ssl.pod | 10 BIO_ssl_shutdown - SSL BIO 21 long BIO_set_ssl(BIO *b, SSL *ssl, long c); 22 long BIO_get_ssl(BIO *b, SSL **sslp); 38 BIO_f_ssl() returns the SSL BIO method. This is a filter BIO which 39 is a wrapper round the OpenSSL SSL routines adding a BIO "flavour" to 40 SSL I/O. 42 I/O performed on an SSL BIO communicates using the SSL protocol with 43 the SSLs read and write BIOs. If an SSL connection is not established 46 If a BIO is appended to an SSL BIO using BIO_push() it is automatically 47 used as the SSL BIOs read and write BIOs. [all …]
|
| /netbsd-src/crypto/external/bsd/openssl/dist/include/openssl/ |
| H A D | ssl.h.in | 250 typedef int (*tls_session_ticket_ext_cb_fn)(SSL *s, const unsigned char *data, 252 typedef int (*tls_session_secret_cb_fn)(SSL *s, void *secret, int *secret_len, 283 typedef int (*custom_ext_add_cb)(SSL *s, unsigned int ext_type, 287 typedef void (*custom_ext_free_cb)(SSL *s, unsigned int ext_type, 290 typedef int (*custom_ext_parse_cb)(SSL *s, unsigned int ext_type, 295 typedef int (*SSL_custom_ext_add_cb_ex)(SSL *s, unsigned int ext_type, 302 typedef void (*SSL_custom_ext_free_cb_ex)(SSL *s, unsigned int ext_type, 307 typedef int (*SSL_custom_ext_parse_cb_ex)(SSL *s, unsigned int ext_type, 317 /* Typedef for SSL async callback */ 318 typedef int (*SSL_async_callback_fn)(SSL *s, void *arg); [all …]
|
| /netbsd-src/crypto/external/bsd/openssl/dist/doc/man3/ |
| H A D | BIO_f_ssl.pod | 10 BIO_ssl_shutdown - SSL BIO 21 long BIO_set_ssl(BIO *b, SSL *ssl, long c); 22 long BIO_get_ssl(BIO *b, SSL **sslp); 38 BIO_f_ssl() returns the SSL BIO method. This is a filter BIO which 39 is a wrapper round the OpenSSL SSL routines adding a BIO "flavour" to 40 SSL I/O. 42 I/O performed on an SSL BIO communicates using the SSL protocol with 43 the SSLs read and write BIOs. If an SSL connection is not established 46 If a BIO is appended to an SSL BIO using BIO_push() it is automatically 47 used as the SSL BIOs read and write BIOs. [all …]
|
| H A D | SSL_new.pod | 5 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 21 reference counted. Creating an B<SSL> structure for the first time increments 23 reference count drops to zero, any memory or resources allocated to the B<SSL> 27 existing B<SSL> structure. [all …]
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/apps/ |
| H A D | s_apps.h | 27 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); 42 void tlsext_cb(SSL *s, int client_server, int type, const unsigned char *data, 45 int generate_cookie_callback(SSL *ssl, unsigned char *cookie, 47 int verify_cookie_callback(SSL *ssl, const unsigned char *cookie, 55 int generate_stateless_cookie_callback(SSL *ssl, unsigned char *cookie, [all …]
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/ssl/record/ |
| H A D | record.h | 129 SSL *s; 194 void RECORD_LAYER_init(RECORD_LAYER *rl, SSL *s); 204 __owur size_t ssl3_pending(const SSL *s); 205 __owur int ssl3_write_bytes(SSL *s, int type, const void *buf, size_t len, 207 int do_ssl3_write(SSL *s, int type, const unsigned char *buf, 210 __owur int ssl3_read_bytes(SSL *s, int type, int *recvd_type, 213 __owur int ssl3_setup_buffers(SSL *s); 214 __owur int ssl3_enc(SSL *s, SSL3_RECORD *inrecs, size_t n_recs, int send); 215 __owur int n_ssl3_mac(SSL *ssl, SSL3_RECORD *rec, unsigned char *md, int send); 216 __owur int ssl3_write_pending(SSL *s, int type, const unsigned char *buf, size_t len, [all …]
|
| H A D | record_local.h | 39 __owur int ssl3_read_n(SSL *s, size_t n, size_t max, int extend, int clearold, 42 DTLS1_BITMAP *dtls1_get_bitmap(SSL *s, SSL3_RECORD *rr, 44 int dtls1_process_buffered_records(SSL *s); 45 int dtls1_retrieve_buffered_record(SSL *s, record_pqueue *queue); 46 int dtls1_buffer_record(SSL *s, record_pqueue *q, unsigned char *priority); 51 int dtls1_record_replay_check(SSL *s, DTLS1_BITMAP *bitmap); 52 void dtls1_record_bitmap_update(SSL *s, DTLS1_BITMAP *bitmap); 72 __owur int ssl3_setup_read_buffer(SSL *s); 73 __owur int ssl3_setup_write_buffer(SSL *s, size_t numwpipes, size_t len); 74 int ssl3_release_read_buffer(SSL *s); [all …]
|
| /netbsd-src/crypto/external/bsd/openssl/dist/ssl/record/ |
| H A D | record.h | 131 SSL *s; 202 void RECORD_LAYER_init(RECORD_LAYER *rl, SSL *s); 213 __owur size_t ssl3_pending(const SSL *s); 214 __owur int ssl3_write_bytes(SSL *s, int type, const void *buf, size_t len, 216 int do_ssl3_write(SSL *s, int type, const unsigned char *buf, 219 __owur int ssl3_read_bytes(SSL *s, int type, int *recvd_type, 222 __owur int ssl3_setup_buffers(SSL *s); 223 __owur int ssl3_enc(SSL *s, SSL3_RECORD *inrecs, size_t n_recs, int send, 225 __owur int n_ssl3_mac(SSL *ssl, SSL3_RECORD *rec, unsigned char *md, int send); 226 __owur int ssl3_write_pending(SSL *s, int type, const unsigned char *buf, size_t len, [all …]
|
| H A D | record_local.h | 39 __owur int ssl3_read_n(SSL *s, size_t n, size_t max, int extend, int clearold, 42 DTLS1_BITMAP *dtls1_get_bitmap(SSL *s, SSL3_RECORD *rr, 44 int dtls1_process_buffered_records(SSL *s); 45 int dtls1_retrieve_buffered_record(SSL *s, record_pqueue *queue); 46 int dtls1_buffer_record(SSL *s, record_pqueue *q, unsigned char *priority); 51 int dtls1_record_replay_check(SSL *s, DTLS1_BITMAP *bitmap); 52 void dtls1_record_bitmap_update(SSL *s, DTLS1_BITMAP *bitmap); 74 __owur int ssl3_setup_read_buffer(SSL *s); 75 __owur int ssl3_setup_write_buffer(SSL *s, size_t numwpipes, size_t len); 76 int ssl3_release_read_buffer(SSL *s); [all …]
|
| /netbsd-src/crypto/external/bsd/openssl/dist/apps/include/ |
| H A D | s_apps.h | 29 int ssl_print_sigalgs(BIO *out, SSL *s); 30 int ssl_print_point_formats(BIO *out, SSL *s); 31 int ssl_print_groups(BIO *out, SSL *s, int noshared); 32 int ssl_print_tmp_key(BIO *out, SSL *s); 37 void do_ssl_shutdown(SSL *ssl); 42 void apps_ssl_info_callback(const SSL *s, int where, int ret); 44 size_t len, SSL *ssl, void *arg); 45 void tlsext_cb(SSL *s, int client_server, int type, const unsigned char *data, 48 int generate_cookie_callback(SSL *ssl, unsigned char *cookie, 50 int verify_cookie_callback(SSL *ssl, const unsigned char *cookie, [all …]
|
| /netbsd-src/crypto/external/bsd/openssl/dist/doc/man7/ |
| H A D | ssl.pod | 5 ssl - OpenSSL SSL/TLS library 20 TLS/SSL enabled connections (see L<SSL_CTX_new(3)>). 25 B<SSL> object. After the B<SSL> object has been created using 30 When the TLS/SSL handshake is performed using 34 used to read and write data on the TLS/SSL connection. 36 TLS/SSL connection. 44 =item B<SSL_METHOD> (SSL Method) 50 =item B<SSL_CIPHER> (SSL Cipher) 53 are a core part of the SSL/TLS protocol. The available ciphers are configured 57 =item B<SSL_CTX> (SSL Context) [all …]
|
| /netbsd-src/crypto/external/bsd/openssl/dist/test/helpers/ |
| H A D | ssltestlib.h | 19 int create_ssl_objects(SSL_CTX *serverctx, SSL_CTX *clientctx, SSL **sssl, 20 SSL **cssl, BIO *s_to_c_fbio, BIO *c_to_s_fbio); 21 int create_bare_ssl_connection(SSL *serverssl, SSL *clientssl, int want, 23 int create_ssl_objects2(SSL_CTX *serverctx, SSL_CTX *clientctx, SSL **sssl, 24 SSL **cssl, int sfd, int cfd); 26 int create_ssl_connection(SSL *serverssl, SSL *clientssl, int want); 27 void shutdown_ssl_connection(SSL *serverssl, SSL *clientssl);
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/test/ |
| H A D | ssltestlib.h | 19 int create_ssl_objects(SSL_CTX *serverctx, SSL_CTX *clientctx, SSL **sssl, 20 SSL **cssl, BIO *s_to_c_fbio, BIO *c_to_s_fbio); 21 int create_bare_ssl_connection(SSL *serverssl, SSL *clientssl, int want, 23 int create_ssl_connection(SSL *serverssl, SSL *clientssl, int want); 24 void shutdown_ssl_connection(SSL *serverssl, SSL *clientssl);
|