/external/openssl/crypto/bio/ |
bss_null.c | 1 /* crypto/bio/bss_null.c */ 62 #include <openssl/bio.h> 64 static int null_write(BIO *h, const char *buf, int num); 65 static int null_read(BIO *h, char *buf, int size); 66 static int null_puts(BIO *h, const char *str); 67 static int null_gets(BIO *h, char *str, int size); 68 static long null_ctrl(BIO *h, int cmd, long arg1, void *arg2); 69 static int null_new(BIO *h); 70 static int null_free(BIO *data); 90 static int null_new(BIO *bi [all...] |
bf_null.c | 1 /* crypto/bio/bf_null.c */ 62 #include <openssl/bio.h> 67 static int nullf_write(BIO *h, const char *buf, int num); 68 static int nullf_read(BIO *h, char *buf, int size); 69 static int nullf_puts(BIO *h, const char *str); 70 static int nullf_gets(BIO *h, char *str, int size); 71 static long nullf_ctrl(BIO *h, int cmd, long arg1, void *arg2); 72 static int nullf_new(BIO *h); 73 static int nullf_free(BIO *data); 74 static long nullf_callback_ctrl(BIO *h, int cmd, bio_info_cb *fp) [all...] |
bio_lib.c | 1 /* crypto/bio/bio_lib.c */ 63 #include <openssl/bio.h> 66 BIO *BIO_new(BIO_METHOD *method) 68 BIO *ret=NULL; 70 ret=(BIO *)OPENSSL_malloc(sizeof(BIO)); 84 int BIO_set(BIO *bio, BIO_METHOD *method) 86 bio->method=method; 87 bio->callback=NULL 524 BIO *ret=NULL,*eoc=NULL,*bio,*new; local [all...] |
bf_nbio.c | 1 /* crypto/bio/bf_nbio.c */ 63 #include <openssl/bio.h> 68 static int nbiof_write(BIO *h,const char *buf,int num); 69 static int nbiof_read(BIO *h,char *buf,int size); 70 static int nbiof_puts(BIO *h,const char *str); 71 static int nbiof_gets(BIO *h,char *str,int size); 72 static long nbiof_ctrl(BIO *h,int cmd,long arg1,void *arg2); 73 static int nbiof_new(BIO *h); 74 static int nbiof_free(BIO *data); 75 static long nbiof_callback_ctrl(BIO *h,int cmd,bio_info_cb *fp) [all...] |
bss_fd.c | 1 /* crypto/bio/bss_fd.c */ 71 * another. Neither libcrypto or libssl use this BIO meaning that 77 static int fd_write(BIO *h, const char *buf, int num); 78 static int fd_read(BIO *h, char *buf, int size); 79 static int fd_puts(BIO *h, const char *str); 80 static long fd_ctrl(BIO *h, int cmd, long arg1, void *arg2); 81 static int fd_new(BIO *h); 82 static int fd_free(BIO *data); 103 BIO *BIO_new_fd(int fd,int close_flag) 105 BIO *ret [all...] |
bss_sock.c | 1 /* crypto/bio/bss_sock.c */ 66 #include <openssl/bio.h> 74 static int sock_write(BIO *h, const char *buf, int num); 75 static int sock_read(BIO *h, char *buf, int size); 76 static int sock_puts(BIO *h, const char *str); 77 static long sock_ctrl(BIO *h, int cmd, long arg1, void *arg2); 78 static int sock_new(BIO *h); 79 static int sock_free(BIO *data); 101 BIO *BIO_new_socket(int fd, int close_flag) 103 BIO *ret [all...] |
bio.h | 1 /* crypto/bio/bio.h */ 90 #define BIO_TYPE_PROXY_CLIENT (14|0x0200) /* client proxy BIO */ 91 #define BIO_TYPE_PROXY_SERVER (15|0x0200) /* server proxy BIO */ 92 #define BIO_TYPE_NBIO_TEST (16|0x0200) /* server proxy BIO */ 95 #define BIO_TYPE_BIO (19|0x0400) /* (half a) BIO pair */ 122 #define BIO_CTRL_DUP 12 /* man - extra stuff for 'duped' BIO */ 124 /* callback is int cb(BIO *bio,state,ret); */ 130 /* dgram BIO stuff * [all...] |
bss_acpt.c | 1 /* crypto/bio/bss_acpt.c */ 63 #include <openssl/bio.h> 92 BIO *bio_chain; 95 static int acpt_write(BIO *h, const char *buf, int num); 96 static int acpt_read(BIO *h, char *buf, int size); 97 static int acpt_puts(BIO *h, const char *str); 98 static long acpt_ctrl(BIO *h, int cmd, long arg1, void *arg2); 99 static int acpt_new(BIO *h); 100 static int acpt_free(BIO *data); 101 static int acpt_state(BIO *b, BIO_ACCEPT *c) 202 BIO *bio=NULL,*dbio; local [all...] |
bss_log.c | 1 /* crypto/bio/bss_log.c */ 60 It is one-way BIO, it sends all stuff to syslogd (on system that 117 static int MS_CALLBACK slg_write(BIO *h, const char *buf, int num); 118 static int MS_CALLBACK slg_puts(BIO *h, const char *str); 119 static long MS_CALLBACK slg_ctrl(BIO *h, int cmd, long arg1, void *arg2); 120 static int MS_CALLBACK slg_new(BIO *h); 121 static int MS_CALLBACK slg_free(BIO *data); 122 static void xopenlog(BIO* bp, char* name, int level); 123 static void xsyslog(BIO* bp, int priority, const char* string); 124 static void xcloselog(BIO* bp) [all...] |
bss_mem.c | 1 /* crypto/bio/bss_mem.c */ 62 #include <openssl/bio.h> 64 static int mem_write(BIO *h, const char *buf, int num); 65 static int mem_read(BIO *h, char *buf, int size); 66 static int mem_puts(BIO *h, const char *str); 67 static int mem_gets(BIO *h, char *str, int size); 68 static long mem_ctrl(BIO *h, int cmd, long arg1, void *arg2); 69 static int mem_new(BIO *h); 70 static int mem_free(BIO *data); 85 /* bio->num is used to hold the value to return on 'empty', if it i [all...] |
bss_conn.c | 1 /* crypto/bio/bss_conn.c */ 63 #include <openssl/bio.h> 92 /* int socket; this will be kept in bio->num so that it is 93 * compatible with the bss_sock bio */ 96 * callback(BIO,state,ret); The callback should return 98 int (*info_callback)(const BIO *bio,int state,int ret); 101 static int conn_write(BIO *h, const char *buf, int num); 102 static int conn_read(BIO *h, char *buf, int size); 103 static int conn_puts(BIO *h, const char *str) [all...] |
bss_bio.c | 1 /* crypto/bio/bss_bio.c -*- Mode: C; c-file-style: "eay" -*- */ 56 /* Special method for a BIO where the other endpoint is also a BIO 59 * Such "BIO pairs" are mainly for using the SSL library with I/O interfaces 60 * for which no specific BIO method is available. 82 #include <openssl/bio.h> 96 static int bio_new(BIO *bio); 97 static int bio_free(BIO *bio); [all...] |
bss_rtcp.c | 1 /* crypto/bio/bss_rtcp.c */ 69 #include <openssl/bio.h> 91 static int rtcp_write(BIO *h,const char *buf,int num); 92 static int rtcp_read(BIO *h,char *buf,int size); 93 static int rtcp_puts(BIO *h,const char *str); 94 static int rtcp_gets(BIO *h,char *str,int size); 95 static long rtcp_ctrl(BIO *h,int cmd,long arg1,void *arg2); 96 static int rtcp_new(BIO *h); 97 static int rtcp_free(BIO *data); 153 static int rtcp_new(BIO *bi [all...] |
bf_lbuf.c | 1 /* crypto/bio/bf_buff.c */ 62 #include <openssl/bio.h> 65 static int linebuffer_write(BIO *h, const char *buf,int num); 66 static int linebuffer_read(BIO *h, char *buf, int size); 67 static int linebuffer_puts(BIO *h, const char *str); 68 static int linebuffer_gets(BIO *h, char *str, int size); 69 static long linebuffer_ctrl(BIO *h, int cmd, long arg1, void *arg2); 70 static int linebuffer_new(BIO *h); 71 static int linebuffer_free(BIO *data); 72 static long linebuffer_callback_ctrl(BIO *h, int cmd, bio_info_cb *fp) [all...] |
bss_file.c | 1 /* crypto/bio/bss_file.c */ 98 static int MS_CALLBACK file_write(BIO *h, const char *buf, int num); 99 static int MS_CALLBACK file_read(BIO *h, char *buf, int size); 100 static int MS_CALLBACK file_puts(BIO *h, const char *str); 101 static int MS_CALLBACK file_gets(BIO *h, char *str, int size); 102 static long MS_CALLBACK file_ctrl(BIO *h, int cmd, long arg1, void *arg2); 103 static int MS_CALLBACK file_new(BIO *h); 104 static int MS_CALLBACK file_free(BIO *data); 119 BIO *BIO_new_file(const char *filename, const char *mode) 121 BIO *ret [all...] |
/external/openssl/crypto/err/ |
err_bio.c | 68 return BIO_write((BIO *)bp, str, len); 70 void ERR_print_errors(BIO *bp)
|
/external/openssl/crypto/pkcs7/ |
pk7_mime.c | 64 PKCS7 *SMIME_read_PKCS7(BIO *bio, BIO **bcont) 66 return (PKCS7 *)SMIME_read_ASN1(bio, bcont, ASN1_ITEM_rptr(PKCS7)); 71 static int pk7_output_data(BIO *out, BIO *data, ASN1_VALUE *val, int flags, 75 BIO *tmpbio, *p7bio; 102 /* Now remove any digests prepended to the BIO */ 115 int SMIME_write_PKCS7(BIO *bio, PKCS7 *p7, BIO *data, int flags [all...] |
pk7_enc.c | 67 PKCS7_in_bio(PKCS7 *p7,BIO *in); 68 PKCS7_out_bio(PKCS7 *p7,BIO *out);
|
/external/openssl/crypto/evp/ |
bio_md.c | 68 static int md_write(BIO *h, char const *buf, int num); 69 static int md_read(BIO *h, char *buf, int size); 70 /*static int md_puts(BIO *h, const char *str); */ 71 static int md_gets(BIO *h, char *str, int size); 72 static long md_ctrl(BIO *h, int cmd, long arg1, void *arg2); 73 static int md_new(BIO *h); 74 static int md_free(BIO *data); 75 static long md_callback_ctrl(BIO *h,int cmd,bio_info_cb *fp); 95 static int md_new(BIO *bi) 108 static int md_free(BIO *a [all...] |
/external/openssl/apps/ |
apps.h | 117 #include <openssl/bio.h> 130 int app_RAND_load_file(const char *file, BIO *bio_e, int dont_warn); 131 int app_RAND_write_file(const char *file, BIO *bio_e); 151 BIO *bio_err=NULL; 155 extern BIO *bio_err; 164 extern BIO *bio_err; 268 int dump_cert_text(BIO *out, X509 *x); 269 void print_name(BIO *out, const char *title, X509_NAME *nm, unsigned long lflags); 275 int app_passwd(BIO *err, char *arg1, char *arg2, char **pass1, char **pass2); 276 int add_oid_section(BIO *err, CONF *conf) [all...] |
/external/openssl/include/openssl/ |
bio.h | 1 /* crypto/bio/bio.h */ 90 #define BIO_TYPE_PROXY_CLIENT (14|0x0200) /* client proxy BIO */ 91 #define BIO_TYPE_PROXY_SERVER (15|0x0200) /* server proxy BIO */ 92 #define BIO_TYPE_NBIO_TEST (16|0x0200) /* server proxy BIO */ 95 #define BIO_TYPE_BIO (19|0x0400) /* (half a) BIO pair */ 122 #define BIO_CTRL_DUP 12 /* man - extra stuff for 'duped' BIO */ 124 /* callback is int cb(BIO *bio,state,ret); */ 130 /* dgram BIO stuff * [all...] |
txt_db.h | 64 #include <openssl/bio.h> 93 TXT_DB *TXT_DB_read(BIO *in, int num); 94 long TXT_DB_write(BIO *out, TXT_DB *db);
|
/external/openssl/ssl/ |
bio_ssl.c | 64 #include <openssl/bio.h> 68 static int ssl_write(BIO *h, const char *buf, int num); 69 static int ssl_read(BIO *h, char *buf, int size); 70 static int ssl_puts(BIO *h, const char *str); 71 static long ssl_ctrl(BIO *h, int cmd, long arg1, void *arg2); 72 static int ssl_new(BIO *h); 73 static int ssl_free(BIO *data); 74 static long ssl_callback_ctrl(BIO *h, int cmd, bio_info_cb *fp); 104 static int ssl_new(BIO *bi) 121 static int ssl_free(BIO *a 300 BIO *dbio,*bio; local [all...] |
/external/openssl/crypto/txt_db/ |
txt_db.h | 64 #include <openssl/bio.h> 93 TXT_DB *TXT_DB_read(BIO *in, int num); 94 long TXT_DB_write(BIO *out, TXT_DB *db);
|
/external/openssl/crypto/x509v3/ |
v3_pku.c | 65 static int i2r_PKEY_USAGE_PERIOD(X509V3_EXT_METHOD *method, PKEY_USAGE_PERIOD *usage, BIO *out, int indent); 85 PKEY_USAGE_PERIOD *usage, BIO *out, int indent)
|