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

Lines Matching refs:SSL

2  *  \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
136 (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_function,
143 (int (*)(SSL *, EVP_MD_CTX *, unsigned char *))ssl_undefined_function,
151 int SSL_clear(SSL *s)
221 /** Used to change an SSL_CTXs default SSL method type */
238 SSL *SSL_new(SSL_CTX *ctx)
240 SSL *s;
253 s=(SSL *)OPENSSL_malloc(sizeof(SSL));
255 memset(s,0,sizeof(SSL));
269 * parameters for the per-SSL copy, ssl_cert_new would be
352 int SSL_set_session_id_context(SSL *ssl,const unsigned char *sid_ctx,
374 int SSL_set_generate_session_id(SSL *ssl, GEN_SESSION_CB cb)
382 int SSL_has_matching_session_id(const SSL *ssl, const unsigned char *id,
389 * use by this SSL. */
421 int SSL_set_purpose(SSL *s, int purpose)
431 int SSL_set_trust(SSL *s, int trust)
436 void SSL_free(SSL *s)
445 REF_PRINT("SSL",s);
509 void SSL_set_bio(SSL *s,BIO *rbio,BIO *wbio)
529 BIO *SSL_get_rbio(const SSL *s)
532 BIO *SSL_get_wbio(const SSL *s)
535 int SSL_get_fd(const SSL *s)
540 int SSL_get_rfd(const SSL *s)
552 int SSL_get_wfd(const SSL *s)
565 int SSL_set_fd(SSL *s,int fd)
584 int SSL_set_wfd(SSL *s,int fd)
606 int SSL_set_rfd(SSL *s,int fd)
634 size_t SSL_get_finished(const SSL *s, void *buf, size_t count)
649 size_t SSL_get_peer_finished(const SSL *s, void *buf, size_t count)
664 int SSL_get_verify_mode(const SSL *s)
669 int SSL_get_verify_depth(const SSL *s)
674 int (*SSL_get_verify_callback(const SSL *s))(int,X509_STORE_CTX *)
694 void SSL_set_verify(SSL *s,int mode,
702 void SSL_set_verify_depth(SSL *s,int depth)
707 void SSL_set_read_ahead(SSL *s,int yes)
712 int SSL_get_read_ahead(const SSL *s)
717 int SSL_pending(const SSL *s)
729 X509 *SSL_get_peer_certificate(const SSL *s)
745 STACK_OF(X509) *SSL_get_peer_cert_chain(const SSL *s)
762 void SSL_copy_session_id(SSL *t,const SSL *f)
766 /* Do we need to to SSL locking? */
809 int SSL_check_private_key(const SSL *ssl)
835 int SSL_accept(SSL *s)
844 int SSL_connect(SSL *s)
853 long SSL_get_default_timeout(const SSL *s)
858 int SSL_read(SSL *s,void *buf,int num)
874 int SSL_peek(SSL *s,void *buf,int num)
889 int SSL_write(SSL *s,const void *buf,int num)
906 int SSL_shutdown(SSL *s)
926 int SSL_renegotiate(SSL *s)
935 int SSL_renegotiate_pending(SSL *s)
942 long SSL_ctrl(SSL *s,int cmd,long larg,void *parg)
981 long SSL_callback_ctrl(SSL *s, int cmd, void (*fp)(void))
986 s->msg_callback = (void (*)(int write_p, int version, int content_type, const void *buf, size_t len, SSL *ssl, void *arg))(fp);
1074 ctx->msg_callback = (void (*)(int write_p, int version, int content_type, const void *buf, size_t len, SSL *ssl, void *arg))(fp);
1105 /** return a STACK of the ciphers available for the SSL and in order of
1107 STACK_OF(SSL_CIPHER) *SSL_get_ciphers(const SSL *s)
1124 /** return a STACK of the ciphers available for the SSL and in order of
1126 STACK_OF(SSL_CIPHER) *ssl_get_ciphers_by_id(SSL *s)
1144 const char *SSL_get_cipher_list(const SSL *s,int n)
1182 /** specify the ciphers to be used by the SSL */
1183 int SSL_set_cipher_list(SSL *s,const char *str)
1201 char *SSL_get_shared_ciphers(const SSL *s,char *buf,int len)
1236 int ssl_cipher_list_to_bytes(SSL *s,STACK_OF(SSL_CIPHER) *sk,unsigned char *p,
1263 STACK_OF(SSL_CIPHER) *ssl_bytes_to_cipher_list(SSL *s,unsigned char *p,int num,
1787 X509 *ssl_get_server_send_cert(SSL *s)
1847 EVP_PKEY *ssl_get_sign_pkey(SSL *s,SSL_CIPHER *cipher)
1877 void ssl_update_cache(SSL *s,int mode)
1909 SSL_METHOD *SSL_get_ssl_method(SSL *s)
1914 int SSL_set_ssl_method(SSL *s,SSL_METHOD *meth)
1941 int SSL_get_error(const SSL *s,int i)
2028 int SSL_do_handshake(SSL *s)
2049 void SSL_set_accept_state(SSL *s)
2059 void SSL_set_connect_state(SSL *s)
2069 int ssl_undefined_function(SSL *s)
2081 int ssl_undefined_const_function(const SSL *s)
2093 const char *SSL_get_version(const SSL *s)
2105 SSL *SSL_dup(SSL *s)
2109 SSL *ret;
2235 void ssl_clear_cipher_ctx(SSL *s)
2264 X509 *SSL_get_certificate(const SSL *s)
2273 EVP_PKEY *SSL_get_privatekey(SSL *s)
2281 SSL_CIPHER *SSL_get_current_cipher(const SSL *s)
2288 const void *SSL_get_current_compression(SSL *s)
2292 const void *SSL_get_current_expansion(SSL *s)
2298 const COMP_METHOD *SSL_get_current_compression(SSL *s)
2305 const COMP_METHOD *SSL_get_current_expansion(SSL *s)
2313 int ssl_init_wbio_buffer(SSL *s,int push)
2349 void ssl_free_wbio_buffer(SSL *s)
2375 void SSL_set_quiet_shutdown(SSL *s,int mode)
2380 int SSL_get_quiet_shutdown(const SSL *s)
2385 void SSL_set_shutdown(SSL *s,int mode)
2390 int SSL_get_shutdown(const SSL *s)
2395 int SSL_version(const SSL *s)
2400 SSL_CTX *SSL_get_SSL_CTX(const SSL *ssl)
2418 void SSL_set_info_callback(SSL *ssl,
2419 void (*cb)(const SSL *ssl,int type,int val))
2426 void (*SSL_get_info_callback(const SSL *ssl))(const SSL * /*ssl*/,int /*type*/,int /*val*/)
2431 int SSL_state(const SSL *ssl)
2436 void SSL_set_verify_result(SSL *ssl,long arg)
2441 long SSL_get_verify_result(const SSL *ssl)
2453 int SSL_set_ex_data(SSL *s,int idx,void *arg)
2458 void *SSL_get_ex_data(const SSL *s,int idx)
2480 int ssl_ok(SSL *s)
2497 int SSL_want(const SSL *s)
2504 * \param ctx the SSL context.
2509 void SSL_CTX_set_tmp_rsa_callback(SSL_CTX *ctx,RSA *(*cb)(SSL *ssl,
2516 void SSL_set_tmp_rsa_callback(SSL *ssl,RSA *(*cb)(SSL *ssl,
2527 * \param ssl the SSL session.
2535 RSA *cb(SSL *ssl,int is_export,int keylength)
2541 * \param ctx the SSL context.
2546 void SSL_CTX_set_tmp_dh_callback(SSL_CTX *ctx,DH *(*dh)(SSL *ssl,int is_export,
2552 void SSL_set_tmp_dh_callback(SSL *ssl,DH *(*dh)(SSL *ssl,int is_export,
2560 void SSL_CTX_set_tmp_ecdh_callback(SSL_CTX *ctx,EC_KEY *(*ecdh)(SSL *ssl,int is_export,
2566 void SSL_set_tmp_ecdh_callback(SSL *ssl,EC_KEY *(*ecdh)(SSL *ssl,int is_export,
2574 void SSL_CTX_set_msg_callback(SSL_CTX *ctx, void (*cb)(int write_p, int version, int content_type, const void *buf, size_t len, SSL *ssl, void *arg))
2578 void SSL_set_msg_callback(SSL *ssl, void (*cb)(int write_p, int version, int content_type, const void *buf, size_t len, SSL *ssl, void *arg))