Lines Matching defs:int

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,
184 (int (*)(int))ssl_undefined_function,
185 (int (*)(SSL *, unsigned char *, size_t, const char *,
187 int use_context))ssl_undefined_function,
190 int SSL_clear(SSL *s)
275 int SSL_CTX_set_ssl_version(SSL_CTX *ctx, const SSL_METHOD *meth)
437 int SSL_CTX_set_session_id_context(SSL_CTX *ctx, const unsigned char *sid_ctx,
438 unsigned int sid_ctx_len)
451 int SSL_set_session_id_context(SSL *ssl, const unsigned char *sid_ctx,
452 unsigned int sid_ctx_len)
465 int SSL_CTX_set_generate_session_id(SSL_CTX *ctx, GEN_SESSION_CB cb)
473 int SSL_set_generate_session_id(SSL *ssl, GEN_SESSION_CB cb)
481 int SSL_has_matching_session_id(const SSL *ssl, const unsigned char *id,
482 unsigned int id_len)
517 int SSL_CTX_set_purpose(SSL_CTX *s, int purpose)
522 int SSL_set_purpose(SSL *s, int purpose)
527 int SSL_CTX_set_trust(SSL_CTX *s, int trust)
532 int SSL_set_trust(SSL *s, int trust)
537 int SSL_CTX_set1_param(SSL_CTX *ctx, X509_VERIFY_PARAM *vpm)
542 int SSL_set1_param(SSL *ssl, X509_VERIFY_PARAM *vpm)
564 int i;
702 int SSL_get_fd(const SSL *s)
707 int SSL_get_rfd(const SSL *s)
709 int ret = -1;
719 int SSL_get_wfd(const SSL *s)
721 int ret = -1;
732 int SSL_set_fd(SSL *s, int fd)
734 int ret = 0;
750 int SSL_set_wfd(SSL *s, int fd)
752 int ret = 0;
756 || ((int)BIO_get_fd(s->rbio, NULL) != fd)) {
772 int SSL_set_rfd(SSL *s, int fd)
774 int ret = 0;
778 || ((int)BIO_get_fd(s->wbio, NULL) != fd)) {
823 int SSL_get_verify_mode(const SSL *s)
828 int SSL_get_verify_depth(const SSL *s)
833 int (*SSL_get_verify_callback(const SSL *s)) (int, X509_STORE_CTX *) {
837 int SSL_CTX_get_verify_mode(const SSL_CTX *ctx)
842 int SSL_CTX_get_verify_depth(const SSL_CTX *ctx)
847 int (*SSL_CTX_get_verify_callback(const SSL_CTX *ctx)) (int, X509_STORE_CTX *) {
851 void SSL_set_verify(SSL *s, int mode,
852 int (*callback) (int ok, X509_STORE_CTX *ctx))
859 void SSL_set_verify_depth(SSL *s, int depth)
864 void SSL_set_read_ahead(SSL *s, int yes)
869 int SSL_get_read_ahead(const SSL *s)
874 int SSL_pending(const SSL *s)
953 int SSL_CTX_check_private_key(const SSL_CTX *ctx)
971 int SSL_check_private_key(const SSL *ssl)
993 int SSL_accept(SSL *s)
1002 int SSL_connect(SSL *s)
1016 int SSL_read(SSL *s, void *buf, int num)
1030 int SSL_peek(SSL *s, void *buf, int num)
1043 int SSL_write(SSL *s, const void *buf, int num)
1058 int SSL_shutdown(SSL *s)
1080 int SSL_renegotiate(SSL *s)
1090 int SSL_renegotiate_abbreviated(SSL *s)
1100 int SSL_renegotiate_pending(SSL *s)
1109 long SSL_ctrl(SSL *s, int cmd, long larg, void *parg)
1159 return (int)s->cert->ciphers_rawlen;
1167 long SSL_callback_ctrl(SSL *s, int cmd, void (*fp) (void))
1172 (int write_p, int version, int content_type,
1187 long SSL_CTX_ctrl(SSL_CTX *ctx, int cmd, long larg, void *parg)
1283 long SSL_CTX_callback_ctrl(SSL_CTX *ctx, int cmd, void (*fp) (void))
1288 (int write_p, int version, int content_type,
1298 int ssl_cipher_id_cmp(const SSL_CIPHER *a, const SSL_CIPHER *b)
1309 int ssl_cipher_ptr_id_cmp(const SSL_CIPHER *const *ap,
1350 const char *SSL_get_cipher_list(const SSL *s, int n)
1367 int SSL_CTX_set_cipher_list(SSL_CTX *ctx, const char *str)
1390 int SSL_set_cipher_list(SSL *s, const char *str)
1407 char *SSL_get_shared_ciphers(const SSL *s, char *buf, int len)
1412 int i;
1424 int n;
1443 int ssl_cipher_list_to_bytes(SSL *s, STACK_OF(SSL_CIPHER) *sk,
1445 int (*put_cb) (const SSL_CIPHER *,
1448 int i, j = 0;
1452 int empty_reneg_info_scsv = !s->renegotiate;
1508 int num,
1513 int i, n;
1609 const char *SSL_get_servername(const SSL *s, const int type)
1618 int SSL_get_servername_type(const SSL *s)
1647 int SSL_select_next_proto(unsigned char **out, unsigned char *outlen,
1649 unsigned int server_len,
1651 unsigned int client_len)
1653 unsigned int i, j;
1655 int status = OPENSSL_NPN_UNSUPPORTED;
1717 int (*cb) (SSL *ssl,
1720 unsigned int *outlen,
1738 int (*cb) (SSL *s, unsigned char **out,
1741 unsigned int inlen,
1754 int SSL_CTX_set_alpn_protos(SSL_CTX *ctx, const unsigned char *protos,
1774 int SSL_set_alpn_protos(SSL *ssl, const unsigned char *protos,
1795 int (*cb) (SSL *ssl,
1799 unsigned int inlen,
1826 int SSL_export_keying_material(SSL *s, unsigned char *out, size_t olen,
1829 int use_context)
1844 ((unsigned int)a->session_id[0]) |
1845 ((unsigned int)a->session_id[1] << 8L) |
1858 static int ssl_session_cmp(const SSL_SESSION *a, const SSL_SESSION *b)
2101 int i;
2207 int (*cb) (X509_STORE_CTX *, void *),
2214 void SSL_CTX_set_verify(SSL_CTX *ctx, int mode,
2215 int (*cb) (int, X509_STORE_CTX *))
2221 void SSL_CTX_set_verify_depth(SSL_CTX *ctx, int depth)
2226 void SSL_CTX_set_cert_cb(SSL_CTX *c, int (*cb) (SSL *ssl, void *arg),
2232 void SSL_set_cert_cb(SSL *s, int (*cb) (SSL *ssl, void *arg), void *arg)
2240 int rsa_enc, rsa_tmp, rsa_sign, dh_tmp, dh_rsa, dh_dsa, dsa_sign;
2241 int rsa_enc_export, dh_rsa_export, dh_dsa_export;
2242 int rsa_tmp_export, dh_tmp_export, kl;
2245 int have_ecc_cert, ecdsa_ok, ecc_pkey_size;
2248 int have_ecdh_tmp, ecdh_ok;
2253 int signature_nid = 0, pk_nid = 0, md_nid = 0;
2455 int ssl_check_srvr_ecc_cert_and_alg(X509 *x, SSL *s)
2459 int keysize = 0;
2460 int signature_nid = 0, md_nid = 0, pk_nid = 0;
2522 static int ssl_get_server_cert_index(const SSL *s)
2524 int idx;
2536 int i;
2567 int idx = -1;
2603 int ssl_get_server_cert_serverinfo(SSL *s, const unsigned char **serverinfo,
2607 int i = 0;
2624 void ssl_update_cache(SSL *s, int mode)
2626 int i;
2665 int SSL_set_ssl_method(SSL *s, const SSL_METHOD *meth)
2667 int conn = -1;
2668 int ret = 1;
2690 int SSL_get_error(const SSL *s, int i)
2692 int reason;
2772 int SSL_do_handshake(SSL *s)
2774 int ret = 1;
2817 int ssl_undefined_function(SSL *s)
2823 int ssl_undefined_void_function(void)
2830 int ssl_undefined_const_function(const SSL *s)
2837 SSL_METHOD *ssl_bad_method(int ver)
2870 int i;
3077 int ssl_init_wbio_buffer(SSL *s, int push)
3124 void SSL_CTX_set_quiet_shutdown(SSL_CTX *ctx, int mode)
3129 int SSL_CTX_get_quiet_shutdown(const SSL_CTX *ctx)
3134 void SSL_set_quiet_shutdown(SSL *s, int mode)
3139 int SSL_get_quiet_shutdown(const SSL *s)
3144 void SSL_set_shutdown(SSL *s, int mode)
3149 int SSL_get_shutdown(const SSL *s)
3154 int SSL_version(const SSL *s)
3221 int SSL_CTX_set_default_verify_paths(SSL_CTX *ctx)
3226 int SSL_CTX_load_verify_locations(SSL_CTX *ctx, const char *CAfile,
3234 void (*cb) (const SSL *ssl, int type, int val))
3244 int /* type */ ,
3245 int /* val */ ) {
3249 int SSL_state(const SSL *ssl)
3254 void SSL_set_state(SSL *ssl, int state)
3269 int SSL_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new *new_func,
3276 int SSL_set_ex_data(SSL *s, int idx, void *arg)
3281 void *SSL_get_ex_data(const SSL *s, int idx)
3286 int SSL_CTX_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new *new_func,
3294 int SSL_CTX_set_ex_data(SSL_CTX *s, int idx, void *arg)
3299 void *SSL_CTX_get_ex_data(const SSL_CTX *s, int idx)
3304 int ssl_ok(SSL *s)
3321 int SSL_want(const SSL *s)
3334 int is_export,
3335 int keylength))
3341 int is_export,
3342 int keylength))
3359 RSA *cb(SSL *ssl, int is_export, int keylength)
3372 DH *(*dh) (SSL *ssl, int is_export,
3373 int keylength))
3378 void SSL_set_tmp_dh_callback(SSL *ssl, DH *(*dh) (SSL *ssl, int is_export,
3379 int keylength))
3387 EC_KEY *(*ecdh) (SSL *ssl, int is_export,
3388 int keylength))
3395 EC_KEY *(*ecdh) (SSL *ssl, int is_export,
3396 int keylength))
3403 int SSL_CTX_use_psk_identity_hint(SSL_CTX *ctx, const char *identity_hint)
3421 int SSL_use_psk_identity_hint(SSL *s, const char *identity_hint)
3459 unsigned int (*cb) (SSL *ssl,
3462 unsigned int
3465 unsigned int
3472 unsigned int (*cb) (SSL *ssl,
3475 unsigned int
3478 unsigned int
3485 unsigned int (*cb) (SSL *ssl,
3488 unsigned int
3495 unsigned int (*cb) (SSL *ssl,
3498 unsigned int
3506 void (*cb) (int write_p, int version,
3507 int content_type, const void *buf,
3514 void (*cb) (int write_p, int version,
3515 int content_type, const void *buf,
3548 void SSL_set_debug(SSL *s, int debug)
3553 int SSL_cache_hit(SSL *s)
3558 int SSL_is_server(SSL *s)