/external/openssl/crypto/bio/ |
D | bio.h | 231 typedef struct bio_st BIO; typedef 233 void BIO_set_flags(BIO *b, int flags); 234 int BIO_test_flags(const BIO *b, int flags); 235 void BIO_clear_flags(BIO *b, int flags); 285 long (*BIO_get_callback(const BIO *b)) (struct bio_st *,int,const char *,int, long,long); 286 void BIO_set_callback(BIO *b, 288 char *BIO_get_callback_arg(const BIO *b); 289 void BIO_set_callback_arg(BIO *b, char *arg); 291 const char * BIO_method_name(const BIO *b); 292 int BIO_method_type(const BIO *b); [all …]
|
D | bio_lib.c | 66 BIO *BIO_new(BIO_METHOD *method) in BIO_new() 68 BIO *ret=NULL; in BIO_new() 70 ret=(BIO *)OPENSSL_malloc(sizeof(BIO)); in BIO_new() 84 int BIO_set(BIO *bio, BIO_METHOD *method) in BIO_set() 111 int BIO_free(BIO *a) in BIO_free() 141 void BIO_vfree(BIO *a) in BIO_vfree() 144 void BIO_clear_flags(BIO *b, int flags) in BIO_clear_flags() 149 int BIO_test_flags(const BIO *b, int flags) in BIO_test_flags() 154 void BIO_set_flags(BIO *b, int flags) in BIO_set_flags() 159 long (*BIO_get_callback(const BIO *b))(struct bio_st *,int,const char *,int, long,long) in BIO_get_callback() [all …]
|
D | bss_null.c | 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) in null_new() 98 static int null_free(BIO *a) in null_free() 104 static int null_read(BIO *b, char *out, int outl) in null_read() [all …]
|
D | bf_null.c | 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); 94 static int nullf_new(BIO *bi) in nullf_new() 102 static int nullf_free(BIO *a) in nullf_free() [all …]
|
D | bf_nbio.c | 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); 102 static int nbiof_new(BIO *bi) in nbiof_new() 115 static int nbiof_free(BIO *a) in nbiof_free() [all …]
|
D | bss_log.c | 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); 152 static int MS_CALLBACK slg_new(BIO *bi) in slg_new() 161 static int MS_CALLBACK slg_free(BIO *a) in slg_free() [all …]
|
D | bss_fd.c | 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) in BIO_new_fd() 113 BIO *ret; in BIO_new_fd() 120 static int fd_new(BIO *bi) in fd_new() [all …]
|
D | bss_sock.c | 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) in BIO_new_socket() 103 BIO *ret; in BIO_new_socket() 111 static int sock_new(BIO *bi) in sock_new() 120 static int sock_free(BIO *a) in sock_free() [all …]
|
D | bss_bio.c | 96 static int bio_new(BIO *bio); 97 static int bio_free(BIO *bio); 98 static int bio_read(BIO *bio, char *buf, int size); 99 static int bio_write(BIO *bio, const char *buf, int num); 100 static long bio_ctrl(BIO *bio, int cmd, long num, void *ptr); 101 static int bio_puts(BIO *bio, const char *str); 103 static int bio_make_pair(BIO *bio1, BIO *bio2); 104 static void bio_destroy_pair(BIO *bio); 127 BIO *peer; /* NULL if buf == NULL. 145 static int bio_new(BIO *bio) in bio_new() [all …]
|
D | bss_acpt.c | 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); 102 static void acpt_close_socket(BIO *data); 129 static int acpt_new(BIO *bi) in acpt_new() [all …]
|
D | bss_conn.c | 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); 104 static long conn_ctrl(BIO *h, int cmd, long arg1, void *arg2); 105 static int conn_new(BIO *h); 106 static int conn_free(BIO *data); 107 static long conn_callback_ctrl(BIO *h, int cmd, bio_info_cb *); 109 static int conn_state(BIO *b, BIO_CONNECT *c); 110 static void conn_close_socket(BIO *data); [all …]
|
D | bss_mem.c | 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); 93 BIO *BIO_new_mem_buf(void *buf, int len) in BIO_new_mem_buf() 95 BIO *ret; in BIO_new_mem_buf() 115 static int mem_new(BIO *bi) in mem_new() [all …]
|
D | bf_lbuf.c | 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); 105 static int linebuffer_new(BIO *bi) in linebuffer_new() 122 static int linebuffer_free(BIO *a) in linebuffer_free() [all …]
|
/external/openssl/include/openssl/ |
D | bio.h | 231 typedef struct bio_st BIO; typedef 233 void BIO_set_flags(BIO *b, int flags); 234 int BIO_test_flags(const BIO *b, int flags); 235 void BIO_clear_flags(BIO *b, int flags); 285 long (*BIO_get_callback(const BIO *b)) (struct bio_st *,int,const char *,int, long,long); 286 void BIO_set_callback(BIO *b, 288 char *BIO_get_callback_arg(const BIO *b); 289 void BIO_set_callback_arg(BIO *b, char *arg); 291 const char * BIO_method_name(const BIO *b); 292 int BIO_method_type(const BIO *b); [all …]
|
D | pkcs7.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, 326 BIO *PKCS7_dataInit(PKCS7 *p7, BIO *bio); 327 int PKCS7_dataFinal(PKCS7 *p7, BIO *bio); 328 BIO *PKCS7_dataDecode(PKCS7 *p7, EVP_PKEY *pkey, BIO *in_bio, X509 *pcert); 360 BIO *data, int flags); [all …]
|
/external/openssl/apps/ |
D | apps.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); 246 X509 *load_cert(BIO *err, const char *file, int format, [all …]
|
/external/openssl/crypto/asn1/ |
D | bio_asn1.c | 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); 123 static int asn1_bio_flush_ex(BIO *b, BIO_ASN1_BUF_CTX *ctx, 125 static int asn1_bio_setup_ex(BIO *b, BIO_ASN1_BUF_CTX *ctx, [all …]
|
D | bio_ndef.c | 87 BIO *ndef_bio; 89 BIO *out; 96 static int ndef_prefix(BIO *b, unsigned char **pbuf, int *plen, void *parg); 97 static int ndef_prefix_free(BIO *b, unsigned char **pbuf, int *plen, void *parg); 98 static int ndef_suffix(BIO *b, unsigned char **pbuf, int *plen, void *parg); 99 static int ndef_suffix_free(BIO *b, unsigned char **pbuf, int *plen, void *parg); 101 BIO *BIO_new_NDEF(BIO *out, ASN1_VALUE *val, const ASN1_ITEM *it) in BIO_new_NDEF() 104 BIO *asn_bio = NULL; in BIO_new_NDEF() 155 static int ndef_prefix(BIO *b, unsigned char **pbuf, int *plen, void *parg) in ndef_prefix() 180 static int ndef_prefix_free(BIO *b, unsigned char **pbuf, int *plen, void *parg) in ndef_prefix_free() [all …]
|
D | asn_mime.c | 90 static int asn1_output_data(BIO *out, BIO *data, ASN1_VALUE *val, int flags, 97 static STACK_OF(MIME_HEADER) *mime_parse_hdr(BIO *bio); 104 static int multi_split(BIO *bio, char *bound, STACK_OF(BIO) **ret); 115 int i2d_ASN1_bio_stream(BIO *out, ASN1_VALUE *val, BIO *in, int flags, in i2d_ASN1_bio_stream() 121 BIO *bio, *tbio; in i2d_ASN1_bio_stream() 148 static int B64_write_ASN1(BIO *out, ASN1_VALUE *val, BIO *in, int flags, in B64_write_ASN1() 151 BIO *b64; in B64_write_ASN1() 171 int PEM_write_bio_ASN1_stream(BIO *out, ASN1_VALUE *val, BIO *in, int flags, in PEM_write_bio_ASN1_stream() 182 static ASN1_VALUE *b64_read_asn1(BIO *bio, const ASN1_ITEM *it) in b64_read_asn1() 184 BIO *b64; in b64_read_asn1() [all …]
|
/external/openssl/crypto/evp/ |
D | 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); 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) in md_new() 108 static int md_free(BIO *a) in md_free() 118 static int md_read(BIO *b, char *out, int outl) in md_read() [all …]
|
/external/openssl/crypto/x509/ |
D | x_all.c | 148 X509 *d2i_X509_bio(BIO *bp, X509 **x509) in d2i_X509_bio() 153 int i2d_X509_bio(BIO *bp, X509 *x509) in i2d_X509_bio() 170 X509_CRL *d2i_X509_CRL_bio(BIO *bp, X509_CRL **crl) in d2i_X509_CRL_bio() 175 int i2d_X509_CRL_bio(BIO *bp, X509_CRL *crl) in i2d_X509_CRL_bio() 192 PKCS7 *d2i_PKCS7_bio(BIO *bp, PKCS7 **p7) in d2i_PKCS7_bio() 197 int i2d_PKCS7_bio(BIO *bp, PKCS7 *p7) in i2d_PKCS7_bio() 214 X509_REQ *d2i_X509_REQ_bio(BIO *bp, X509_REQ **req) in d2i_X509_REQ_bio() 219 int i2d_X509_REQ_bio(BIO *bp, X509_REQ *req) in i2d_X509_REQ_bio() 261 RSA *d2i_RSAPrivateKey_bio(BIO *bp, RSA **rsa) in d2i_RSAPrivateKey_bio() 266 int i2d_RSAPrivateKey_bio(BIO *bp, RSA *rsa) in i2d_RSAPrivateKey_bio() [all …]
|
/external/openssl/crypto/pkcs7/ |
D | pk7_mime.c | 64 int i2d_PKCS7_bio_stream(BIO *out, PKCS7 *p7, BIO *in, int flags) in i2d_PKCS7_bio_stream() 70 int PEM_write_bio_PKCS7_stream(BIO *out, PKCS7 *p7, BIO *in, int flags) in PEM_write_bio_PKCS7_stream() 77 int SMIME_write_PKCS7(BIO *bio, PKCS7 *p7, BIO *data, int flags) in SMIME_write_PKCS7() 94 PKCS7 *SMIME_read_PKCS7(BIO *bio, BIO **bcont) in SMIME_read_PKCS7()
|
D | pkcs7.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, 326 BIO *PKCS7_dataInit(PKCS7 *p7, BIO *bio); 327 int PKCS7_dataFinal(PKCS7 *p7, BIO *bio); 328 BIO *PKCS7_dataDecode(PKCS7 *p7, EVP_PKEY *pkey, BIO *in_bio, X509 *pcert); 360 BIO *data, int flags); [all …]
|
/external/openssl/ssl/ |
D | bio_ssl.c | 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) in ssl_new() 121 static int ssl_free(BIO *a) in ssl_free() 140 static int ssl_read(BIO *b, char *out, int outl) in ssl_read() [all …]
|
/external/openssl/crypto/x509v3/ |
D | v3_ocsp.c | 72 BIO *out, int indent); 74 BIO *out, int indent); 75 static int i2r_object(const X509V3_EXT_METHOD *method, void *obj, BIO *out, 83 BIO *out, int indent); 86 void *nocheck, BIO *out, int indent); 90 BIO *bp, int ind); 158 static int i2r_ocsp_crlid(const X509V3_EXT_METHOD *method, void *in, BIO *bp, in i2r_ocsp_crlid() 186 BIO *bp, int ind) in i2r_ocsp_acutoff() 194 static int i2r_object(const X509V3_EXT_METHOD *method, void *oid, BIO *bp, in i2r_object() 246 BIO *out, int indent) in i2r_ocsp_nonce() [all …]
|