/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...] |
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 */ 78 * another. Neither libcrypto or libssl use this BIO meaning that 84 static int fd_write(BIO *h, const char *buf, int num); 85 static int fd_read(BIO *h, char *buf, int size); 86 static int fd_puts(BIO *h, const char *str); 87 static int fd_gets(BIO *h, char *buf, int size); 88 static long fd_ctrl(BIO *h, int cmd, long arg1, void *arg2); 89 static int fd_new(BIO *h); 90 static int fd_free(BIO *data); 111 BIO *BIO_new_fd(int fd,int close_flag [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_bio; local [all...] |
bio.h | 1 /* crypto/bio/bio.h */ 98 #define BIO_TYPE_PROXY_CLIENT (14|0x0200) /* client proxy BIO */ 99 #define BIO_TYPE_PROXY_SERVER (15|0x0200) /* server proxy BIO */ 100 #define BIO_TYPE_NBIO_TEST (16|0x0200) /* server proxy BIO */ 103 #define BIO_TYPE_BIO (19|0x0400) /* (half a) BIO pair */ 134 #define BIO_CTRL_DUP 12 /* man - extra stuff for 'duped' BIO */ 136 /* callback is int cb(BIO *bio,state,ret); */ 142 /* dgram BIO stuff * [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 125 static int MS_CALLBACK slg_write(BIO *h, const char *buf, int num); 126 static int MS_CALLBACK slg_puts(BIO *h, const char *str); 127 static long MS_CALLBACK slg_ctrl(BIO *h, int cmd, long arg1, void *arg2); 128 static int MS_CALLBACK slg_new(BIO *h); 129 static int MS_CALLBACK slg_free(BIO *data); 130 static void xopenlog(BIO* bp, char* name, int level); 131 static void xsyslog(BIO* bp, int priority, const char* string); 132 static void xcloselog(BIO* bp) [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...] |
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_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...] |
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/pkcs7/ |
pk7_mime.c | 64 int i2d_PKCS7_bio_stream(BIO *out, PKCS7 *p7, BIO *in, int flags) 70 int PEM_write_bio_PKCS7_stream(BIO *out, PKCS7 *p7, BIO *in, int flags) 77 int SMIME_write_PKCS7(BIO *bio, PKCS7 *p7, BIO *data, int flags) 89 return SMIME_write_ASN1(bio, (ASN1_VALUE *)p7, data, flags, 94 PKCS7 *SMIME_read_PKCS7(BIO *bio, BIO **bcont [all...] |
pk7_enc.c | 67 PKCS7_in_bio(PKCS7 *p7,BIO *in); 68 PKCS7_out_bio(PKCS7 *p7,BIO *out);
|
pkcs7.h | 63 #include <openssl/bio.h> 288 PKCS7 *d2i_PKCS7_bio(BIO *bp,PKCS7 **p7); 289 int i2d_PKCS7_bio(BIO *bp,PKCS7 *p7); 290 int i2d_PKCS7_bio_stream(BIO *out, PKCS7 *p7, BIO *in, int flags); 291 int PEM_write_bio_PKCS7_stream(BIO *out, PKCS7 *p7, BIO *in, int flags); 322 BIO *bio, PKCS7 *p7, PKCS7_SIGNER_INFO *si); 323 int PKCS7_signatureVerify(BIO *bio, PKCS7 *p7, PKCS7_SIGNER_INFO *si [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); 146 BIO *bio_err=NULL; 149 extern BIO *bio_err; 157 extern BIO *bio_err; 237 int dump_cert_text(BIO *out, X509 *x); 238 void print_name(BIO *out, const char *title, X509_NAME *nm, unsigned long lflags); 244 int app_passwd(BIO *err, char *arg1, char *arg2, char **pass1, char **pass2); 245 int add_oid_section(BIO *err, CONF *conf) [all...] |
/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/include/openssl/ |
bio.h | 1 /* crypto/bio/bio.h */ 98 #define BIO_TYPE_PROXY_CLIENT (14|0x0200) /* client proxy BIO */ 99 #define BIO_TYPE_PROXY_SERVER (15|0x0200) /* server proxy BIO */ 100 #define BIO_TYPE_NBIO_TEST (16|0x0200) /* server proxy BIO */ 103 #define BIO_TYPE_BIO (19|0x0400) /* (half a) BIO pair */ 134 #define BIO_CTRL_DUP 12 /* man - extra stuff for 'duped' BIO */ 136 /* callback is int cb(BIO *bio,state,ret); */ 142 /* dgram BIO stuff * [all...] |
pkcs7.h | 63 #include <openssl/bio.h> 288 PKCS7 *d2i_PKCS7_bio(BIO *bp,PKCS7 **p7); 289 int i2d_PKCS7_bio(BIO *bp,PKCS7 *p7); 290 int i2d_PKCS7_bio_stream(BIO *out, PKCS7 *p7, BIO *in, int flags); 291 int PEM_write_bio_PKCS7_stream(BIO *out, PKCS7 *p7, BIO *in, int flags); 322 BIO *bio, PKCS7 *p7, PKCS7_SIGNER_INFO *si); 323 int PKCS7_signatureVerify(BIO *bio, PKCS7 *p7, PKCS7_SIGNER_INFO *si [all...] |
/external/openssl/crypto/asn1/ |
bio_ndef.c | 57 #include <openssl/bio.h> 62 /* Experimental NDEF ASN1 BIO support routines */ 65 * get a BIO from it then any data written through the BIO 70 * When the BIO is flushed the output is finalized and any 73 * The BIO is a 'proper' BIO and can handle non blocking I/O 79 /* BIO support data stored in the ASN1 BIO ex_arg */ 83 /* ASN1 structure this BIO refers to * [all...] |
bio_asn1.c | 59 /* Experimental ASN1 BIO. When written through the data is converted 65 #include <openssl/bio.h> 113 static int asn1_bio_write(BIO *h, const char *buf,int num); 114 static int asn1_bio_read(BIO *h, char *buf, int size); 115 static int asn1_bio_puts(BIO *h, const char *str); 116 static int asn1_bio_gets(BIO *h, char *str, int size); 117 static long asn1_bio_ctrl(BIO *h, int cmd, long arg1, void *arg2); 118 static int asn1_bio_new(BIO *h); 119 static int asn1_bio_free(BIO *data); 120 static long asn1_bio_callback_ctrl(BIO *h, int cmd, bio_info_cb *fp) [all...] |
/external/openssl/crypto/dsa/ |
dsa_prn.c | 67 BIO *b; 83 BIO *b; 98 int DSA_print(BIO *bp, const DSA *x, int off) 110 int DSAparams_print(BIO *bp, const DSA *x)
|
/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...] |