• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl/ssl/

Lines Matching refs:SSL

2  * ! \file ssl/ssl_lib.c \brief Version independent SSL functions.
7 * This package is an SSL implementation written
9 * The implementation was written so as to conform with Netscapes SSL.
14 * lhash, DES, etc., code; not just the SSL code. The SSL documentation
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)
274 /** Used to change an SSL_CTXs default SSL method type */
294 SSL *SSL_new(SSL_CTX *ctx)
296 SSL *s;
307 s = (SSL *)OPENSSL_malloc(sizeof(SSL));
310 memset(s, 0, sizeof(SSL));
324 * its contents; only when setting new parameters for the per-SSL
451 int SSL_set_session_id_context(SSL *ssl, const unsigned char *sid_ctx,
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,
489 * by this SSL.
522 int SSL_set_purpose(SSL *s, int purpose)
532 int SSL_set_trust(SSL *s, int trust)
542 int SSL_set1_param(SSL *ssl, X509_VERIFY_PARAM *vpm)
552 X509_VERIFY_PARAM *SSL_get0_param(SSL *ssl)
557 void SSL_certs_clear(SSL *s)
562 void SSL_free(SSL *s)
571 REF_PRINT("SSL", s);
673 void SSL_set_bio(SSL *s, BIO *rbio, BIO *wbio)
692 BIO *SSL_get_rbio(const SSL *s)
697 BIO *SSL_get_wbio(const SSL *s)
702 int SSL_get_fd(const SSL *s)
707 int SSL_get_rfd(const SSL *s)
719 int SSL_get_wfd(const SSL *s)
732 int SSL_set_fd(SSL *s, int fd)
750 int SSL_set_wfd(SSL *s, int fd)
772 int SSL_set_rfd(SSL *s, int fd)
796 size_t SSL_get_finished(const SSL *s, void *buf, size_t count)
810 size_t SSL_get_peer_finished(const SSL *s, void *buf, size_t count)
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 *) {
851 void SSL_set_verify(SSL *s, int mode,
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)
886 X509 *SSL_get_peer_certificate(const SSL *s)
903 STACK_OF(X509) *SSL_get_peer_cert_chain(const SSL *s)
925 void SSL_copy_session_id(SSL *t, const SSL *f)
929 /* Do we need to to SSL locking? */
971 int SSL_check_private_key(const SSL *ssl)
993 int SSL_accept(SSL *s)
1002 int SSL_connect(SSL *s)
1011 long SSL_get_default_timeout(const 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)
1167 long SSL_callback_ctrl(SSL *s, int cmd, void (*fp) (void))
1173 const void *buf, size_t len, SSL *ssl,
1289 const void *buf, size_t len, SSL *ssl,
1321 /** return a STACK of the ciphers available for the SSL and in order of
1323 STACK_OF(SSL_CIPHER) *SSL_get_ciphers(const SSL *s)
1335 /** return a STACK of the ciphers available for the SSL and in order of
1337 STACK_OF(SSL_CIPHER) *ssl_get_ciphers_by_id(SSL *s)
1350 const char *SSL_get_cipher_list(const SSL *s, int n)
1389 /** specify the ciphers to be used by the SSL */
1390 int SSL_set_cipher_list(SSL *s, const char *str)
1407 char *SSL_get_shared_ciphers(const SSL *s, char *buf, int len)
1443 int ssl_cipher_list_to_bytes(SSL *s, STACK_OF(SSL_CIPHER) *sk,
1507 STACK_OF(SSL_CIPHER) *ssl_bytes_to_cipher_list(SSL *s, unsigned char *p,
1609 const char *SSL_get_servername(const SSL *s, const int type)
1618 int SSL_get_servername_type(const SSL *s)
1695 void SSL_get0_next_proto_negotiated(const SSL *s, const unsigned char **data,
1711 * memory will not be modified, but one should assume that the SSL* keeps a
1717 int (*cb) (SSL *ssl,
1738 int (*cb) (SSL *s, unsigned char **out,
1774 int SSL_set_alpn_protos(SSL *ssl, const unsigned char *protos,
1795 int (*cb) (SSL *ssl,
1812 void SSL_get0_alpn_selected(const SSL *ssl, const unsigned char **data,
1826 int SSL_export_keying_material(SSL *s, unsigned char *out, size_t olen,
2228 void SSL_CTX_set_cert_cb(SSL_CTX *c, int (*cb) (SSL *ssl, void *arg),
2234 void SSL_set_cert_cb(SSL *s, int (*cb) (SSL *ssl, void *arg), void *arg)
2457 int ssl_check_srvr_ecc_cert_and_alg(X509 *x, SSL *s)
2524 static int ssl_get_server_cert_index(const SSL *s)
2535 CERT_PKEY *ssl_get_server_send_pkey(const SSL *s)
2564 EVP_PKEY *ssl_get_sign_pkey(SSL *s, const SSL_CIPHER *cipher,
2605 int ssl_get_server_cert_serverinfo(SSL *s, const unsigned char **serverinfo,
2626 void ssl_update_cache(SSL *s, int mode)
2662 const SSL_METHOD *SSL_get_ssl_method(SSL *s)
2667 int SSL_set_ssl_method(SSL *s, const SSL_METHOD *meth)
2692 int SSL_get_error(const SSL *s, int i)
2774 int SSL_do_handshake(SSL *s)
2795 void SSL_set_accept_state(SSL *s)
2807 void SSL_set_connect_state(SSL *s)
2819 int ssl_undefined_function(SSL *s)
2832 int ssl_undefined_const_function(const SSL *s)
2845 const char *SSL_get_version(const SSL *s)
2867 SSL *SSL_dup(SSL *s)
2871 SSL *ret;
2989 void ssl_clear_cipher_ctx(SSL *s)
3013 X509 *SSL_get_certificate(const SSL *s)
3021 EVP_PKEY *SSL_get_privatekey(const SSL *s)
3045 const SSL_CIPHER *SSL_get_current_cipher(const SSL *s)
3053 const void *SSL_get_current_compression(SSL *s)
3058 const void *SSL_get_current_expansion(SSL *s)
3064 const COMP_METHOD *SSL_get_current_compression(SSL *s)
3071 const COMP_METHOD *SSL_get_current_expansion(SSL *s)
3079 int ssl_init_wbio_buffer(SSL *s, int push)
3109 void ssl_free_wbio_buffer(SSL *s)
3136 void SSL_set_quiet_shutdown(SSL *s, int mode)
3141 int SSL_get_quiet_shutdown(const SSL *s)
3146 void SSL_set_shutdown(SSL *s, int mode)
3151 int SSL_get_shutdown(const SSL *s)
3156 int SSL_version(const SSL *s)
3161 SSL_CTX *SSL_get_SSL_CTX(const SSL *ssl)
3166 SSL_CTX *SSL_set_SSL_CTX(SSL *ssl, SSL_CTX *ctx)
3235 void SSL_set_info_callback(SSL *ssl,
3236 void (*cb) (const SSL *ssl, int type, int val))
3245 void (*SSL_get_info_callback(const SSL *ssl)) (const SSL * /* ssl */ ,
3251 int SSL_state(const SSL *ssl)
3256 void SSL_set_state(SSL *ssl, int state)
3261 void SSL_set_verify_result(SSL *ssl, long arg)
3266 long SSL_get_verify_result(const SSL *ssl)
3278 int SSL_set_ex_data(SSL *s, int idx, void *arg)
3283 void *SSL_get_ex_data(const SSL *s, int idx)
3306 int ssl_ok(SSL *s)
3323 int SSL_want(const SSL *s)
3330 * \param ctx the SSL context.
3335 void SSL_CTX_set_tmp_rsa_callback(SSL_CTX *ctx, RSA *(*cb) (SSL *ssl,
3342 void SSL_set_tmp_rsa_callback(SSL *ssl, RSA *(*cb) (SSL *ssl,
3353 * \param ssl the SSL session.
3361 RSA *cb(SSL *ssl, int is_export, int keylength)
3368 * \param ctx the SSL context.
3374 DH *(*dh) (SSL *ssl, int is_export,
3380 void SSL_set_tmp_dh_callback(SSL *ssl, DH *(*dh) (SSL *ssl, int is_export,
3389 EC_KEY *(*ecdh) (SSL *ssl, int is_export,
3396 void SSL_set_tmp_ecdh_callback(SSL *ssl,
3397 EC_KEY *(*ecdh) (SSL *ssl, int is_export,
3423 int SSL_use_psk_identity_hint(SSL *s, const char *identity_hint)
3446 const char *SSL_get_psk_identity_hint(const SSL *s)
3453 const char *SSL_get_psk_identity(const SSL *s)
3460 void SSL_set_psk_client_callback(SSL *s,
3461 unsigned int (*cb) (SSL *ssl,
3474 unsigned int (*cb) (SSL *ssl,
3486 void SSL_set_psk_server_callback(SSL *s,
3487 unsigned int (*cb) (SSL *ssl,
3497 unsigned int (*cb) (SSL *ssl,
3510 size_t len, SSL *ssl, void *arg))
3515 void SSL_set_msg_callback(SSL *ssl,
3518 size_t len, SSL *ssl, void *arg))
3550 void SSL_set_debug(SSL *s, int debug)
3555 int SSL_cache_hit(SSL *s)
3560 int SSL_is_server(SSL *s)