• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asus-wl-520gu-7.0.1.45/src/router/shared.asus/openssl/

Lines Matching refs:SSL

5  * This package is an SSL implementation written
7 * The implementation was written so as to conform with Netscapes SSL.
12 * lhash, DES, etc., code; not just the SSL code. The SSL documentation
353 typedef struct ssl_st SSL;
360 int (*ssl_new)(SSL *s);
361 void (*ssl_clear)(SSL *s);
362 void (*ssl_free)(SSL *s);
363 int (*ssl_accept)(SSL *s);
364 int (*ssl_connect)(SSL *s);
365 int (*ssl_read)(SSL *s,void *buf,int len);
366 int (*ssl_peek)(SSL *s,void *buf,int len);
367 int (*ssl_write)(SSL *s,const void *buf,int len);
368 int (*ssl_shutdown)(SSL *s);
369 int (*ssl_renegotiate)(SSL *s);
370 int (*ssl_renegotiate_check)(SSL *s);
371 long (*ssl_ctrl)(SSL *s,int cmd,long larg,void *parg);
375 int (*ssl_pending)(SSL *s);
382 long (*ssl_callback_ctrl)(SSL *s, int cb_id, void (*fp)());
389 * SSLversion INTEGER, -- SSL version number
474 /* Disable SSL 3.0/TLS 1.0 CBC vulnerability workaround that was added
476 * the workaround is not needed. Unfortunately some broken SSL/TLS
528 /* Note: SSL[_CTX]_set_{options,mode} use |= op on the previous value,
550 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));
551 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));
565 /* This callback type is used inside SSL_CTX, SSL, and in the functions that set
566 * them. It is used to override the generation of SSL/TLS session IDs in a
569 * the SSL handshake will fail with an error - callbacks can do this using the
578 typedef int (*GEN_SESSION_CB)(const SSL *ssl, unsigned char *id,
637 int sess_connect; /* SSL new conn - started */
638 int sess_connect_renegotiate;/* SSL reneg - requested */
639 int sess_connect_good; /* SSL new conne/reneg - finished */
640 int sess_accept; /* SSL new accept - started */
641 int sess_accept_renegotiate;/* SSL reneg - requested */
642 int sess_accept_good; /* SSL accept/reneg - finished */
670 int (*client_cert_cb)(SSL *ssl, X509 **x509, EVP_PKEY **pkey);
682 /* Default values used when no per-SSL value is defined follow */
684 void (*info_callback)(const SSL *ssl,int type,int val); /* used if SSL's info_callback is NULL */
690 /* Default values to use in SSL structures follow (these are copied by SSL_new) */
700 void (*msg_callback)(int write_p, int version, int content_type, const void *buf, size_t len, SSL *ssl, void *arg);
707 int (*default_verify_callback)(int ok,X509_STORE_CTX *ctx); /* called 'verify_callback' in the SSL */
849 void (*msg_callback)(int write_p, int version, int content_type, const void *buf, size_t len, SSL *ssl, void *arg);
903 void (*info_callback)(const SSL *ssl,int type,int val); /* optional informational callback */
955 * used to indicate where we are up to in the SSL connection establishment.
1001 size_t SSL_get_finished(SSL *s, void *buf, size_t count);
1002 size_t SSL_get_peer_finished(SSL *s, void *buf, size_t count);
1177 int SSL_want(SSL *s);
1178 int SSL_clear(SSL *s);
1182 SSL_CIPHER *SSL_get_current_cipher(SSL *s);
1187 int SSL_get_fd(SSL *s);
1188 int SSL_get_rfd(SSL *s);
1189 int SSL_get_wfd(SSL *s);
1190 const char * SSL_get_cipher_list(SSL *s,int n);
1191 char * SSL_get_shared_ciphers(SSL *s, char *buf, int len);
1192 int SSL_get_read_ahead(SSL * s);
1193 int SSL_pending(SSL *s);
1195 int SSL_set_fd(SSL *s, int fd);
1196 int SSL_set_rfd(SSL *s, int fd);
1197 int SSL_set_wfd(SSL *s, int fd);
1200 void SSL_set_bio(SSL *s, BIO *rbio,BIO *wbio);
1201 BIO * SSL_get_rbio(SSL *s);
1202 BIO * SSL_get_wbio(SSL *s);
1204 int SSL_set_cipher_list(SSL *s, const char *str);
1205 void SSL_set_read_ahead(SSL *s, int yes);
1206 int SSL_get_verify_mode(SSL *s);
1207 int SSL_get_verify_depth(SSL *s);
1208 int (*SSL_get_verify_callback(SSL *s))(int,X509_STORE_CTX *);
1209 void SSL_set_verify(SSL *s, int mode,
1211 void SSL_set_verify_depth(SSL *s, int depth);
1213 int SSL_use_RSAPrivateKey(SSL *ssl, RSA *rsa);
1215 int SSL_use_RSAPrivateKey_ASN1(SSL *ssl, unsigned char *d, long len);
1216 int SSL_use_PrivateKey(SSL *ssl, EVP_PKEY *pkey);
1217 int SSL_use_PrivateKey_ASN1(int pk,SSL *ssl, unsigned char *d, long len);
1218 int SSL_use_certificate(SSL *ssl, X509 *x);
1219 int SSL_use_certificate_ASN1(SSL *ssl, unsigned char *d, int len);
1222 int SSL_use_RSAPrivateKey_file(SSL *ssl, const char *file, int type);
1223 int SSL_use_PrivateKey_file(SSL *ssl, const char *file, int type);
1224 int SSL_use_certificate_file(SSL *ssl, const char *file, int type);
1242 const char *SSL_state_string(const SSL *s);
1243 const char *SSL_rstate_string(const SSL *s);
1244 const char *SSL_state_string_long(const SSL *s);
1245 const char *SSL_rstate_string_long(const SSL *s);
1250 void SSL_copy_session_id(SSL *to,SSL *from);
1263 int SSL_set_session(SSL *to, SSL_SESSION *session);
1267 int SSL_set_generate_session_id(SSL *, GEN_SESSION_CB);
1268 int SSL_has_matching_session_id(const SSL *ssl, const unsigned char *id,
1273 X509 * SSL_get_peer_certificate(SSL *s);
1276 STACK_OF(X509) *SSL_get_peer_cert_chain(SSL *s);
1299 int SSL_check_private_key(SSL *ctx);
1304 SSL * SSL_new(SSL_CTX *ctx);
1305 int SSL_set_session_id_context(SSL *ssl,const unsigned char *sid_ctx,
1309 int SSL_set_purpose(SSL *s, int purpose);
1311 int SSL_set_trust(SSL *s, int trust);
1313 void SSL_free(SSL *ssl);
1314 int SSL_accept(SSL *ssl);
1315 int SSL_connect(SSL *ssl);
1316 int SSL_read(SSL *ssl,void *buf,int num);
1317 int SSL_peek(SSL *ssl,void *buf,int num);
1318 int SSL_write(SSL *ssl,const void *buf,int num);
1319 long SSL_ctrl(SSL *ssl,int cmd, long larg, void *parg);
1320 long SSL_callback_ctrl(SSL *, int, void (*)());
1324 int SSL_get_error(SSL *s,int ret_code);
1325 const char *SSL_get_version(SSL *s);
1327 /* This sets the 'default' SSL version that SSL_new() will create */
1346 STACK_OF(SSL_CIPHER) *SSL_get_ciphers(SSL *s);
1348 int SSL_do_handshake(SSL *s);
1349 int SSL_renegotiate(SSL *s);
1350 int SSL_renegotiate_pending(SSL *s);
1351 int SSL_shutdown(SSL *s);
1353 SSL_METHOD *SSL_get_ssl_method(SSL *s);
1354 int SSL_set_ssl_method(SSL *s,SSL_METHOD *method);
1360 void SSL_set_client_CA_list(SSL *s, STACK_OF(X509_NAME) *list);
1362 STACK_OF(X509_NAME) *SSL_get_client_CA_list(SSL *s);
1364 int SSL_add_client_CA(SSL *ssl,X509 *x);
1367 void SSL_set_connect_state(SSL *s);
1368 void SSL_set_accept_state(SSL *s);
1370 long SSL_get_default_timeout(SSL *s);
1377 SSL *SSL_dup(SSL *ssl);
1379 X509 *SSL_get_certificate(SSL *ssl);
1380 /* EVP_PKEY */ struct evp_pkey_st *SSL_get_privatekey(SSL *ssl);
1384 void SSL_set_quiet_shutdown(SSL *ssl,int mode);
1385 int SSL_get_quiet_shutdown(SSL *ssl);
1386 void SSL_set_shutdown(SSL *ssl,int mode);
1387 int SSL_get_shutdown(SSL *ssl);
1388 int SSL_version(SSL *ssl);
1393 SSL_SESSION *SSL_get_session(SSL *ssl);
1394 SSL_SESSION *SSL_get1_session(SSL *ssl); /* obtain a reference count */
1395 SSL_CTX *SSL_get_SSL_CTX(SSL *ssl);
1396 void SSL_set_info_callback(SSL *ssl,
1397 void (*cb)(const SSL *ssl,int type,int val));
1398 void (*SSL_get_info_callback(SSL *ssl))(const SSL *ssl,int type,int val);
1399 int SSL_state(SSL *ssl);
1401 void SSL_set_verify_result(SSL *ssl,long v);
1402 long SSL_get_verify_result(SSL *ssl);
1404 int SSL_set_ex_data(SSL *ssl,int idx,void *data);
1405 void *SSL_get_ex_data(SSL *ssl,int idx);
1448 RSA *(*cb)(SSL *ssl,int is_export,
1451 void SSL_set_tmp_rsa_callback(SSL *ssl,
1452 RSA *(*cb)(SSL *ssl,int is_export,
1457 DH *(*dh)(SSL *ssl,int is_export,
1459 void SSL_set_tmp_dh_callback(SSL *ssl,
1460 DH *(*dh)(SSL *ssl,int is_export,
1476 /* Error codes for the SSL functions. */