/external/chromium_org/third_party/openssl/openssl/crypto/bio/ |
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...] |
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...] |
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...] |
/external/openssl/crypto/bio/ |
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...] |
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...] |
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...] |
/frameworks/native/cmds/servicemanager/ |
binder.c | 194 int binder_parse(struct binder_state *bs, struct binder_io *bio, 247 if (bio) { 248 bio_init_from_txn(bio, txn); 249 bio = 0; 394 void bio_init_from_txn(struct binder_io *bio, struct binder_txn *txn) 396 bio->data = bio->data0 = txn->data; 397 bio->offs = bio->offs0 = txn->offs; 398 bio->data_avail = txn->data_size [all...] |
/external/kernel-headers/original/linux/ |
blk_types.h | 13 struct bio; 17 typedef void (bio_end_io_t) (struct bio *, int); 18 typedef void (bio_destructor_t) (struct bio *); 33 struct bio { struct 36 struct bio *bi_next; /* request queue link */ 46 /* Number of segments in this BIO after 55 * sizes of the first and last mergeable segments in this bio. 78 * We can inline a number of vecs at the end of the bio, to avoid 80 * MUST obviously be kept at the very end of the bio. 86 * bio flag [all...] |
elevator.h | 5 struct bio *); 17 typedef int (elevator_may_queue_fn) (request_queue_t *, int, struct bio *); 19 typedef int (elevator_set_req_fn) (request_queue_t *, struct request *, struct bio *, gfp_t); 94 extern int elv_merge(request_queue_t *, struct request **, struct bio *); 106 extern int elv_may_queue(request_queue_t *, int, struct bio *); 108 extern int elv_set_request(request_queue_t *, struct request *, struct bio *, gfp_t); 125 extern int elv_rq_merge_ok(struct request *, struct bio *);
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
opensslidentity.cc | 36 #include <openssl/bio.h> 186 BIO* temp_memory_bio = BIO_new(BIO_s_mem()); 188 LOG_F(LS_ERROR) << "Failed to allocate temporary memory bio"; 219 BIO* bio = BIO_new_mem_buf(const_cast<char*>(pem_string.c_str()), -1); local 220 if (!bio) 222 (void)BIO_set_close(bio, BIO_NOCLOSE); 223 BIO_set_mem_eof_return(bio, 0); 224 X509 *x509 = PEM_read_bio_X509(bio, NULL, NULL, 226 BIO_free(bio); 266 BIO* bio = BIO_new(BIO_s_mem()); local 308 BIO* bio = BIO_new_mem_buf(const_cast<char*>(private_key.c_str()), -1); local [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/pem/ |
pem_x509.c | 61 #include <openssl/bio.h>
|
pem_xaux.c | 61 #include <openssl/bio.h>
|
/external/openssl/crypto/pem/ |
pem_x509.c | 61 #include <openssl/bio.h>
|
pem_xaux.c | 61 #include <openssl/bio.h>
|
/external/chromium_org/third_party/openssl/openssl/crypto/err/ |
err_prn.c | 92 BIO bio; local 94 BIO_set(&bio,BIO_s_file()); 95 BIO_set_fp(&bio,fp,BIO_NOCLOSE); 97 return BIO_printf(&bio, "%s", str); 107 return BIO_write((BIO *)bp, str, len); 109 void ERR_print_errors(BIO *bp)
|
/external/chromium_org/third_party/openssl/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_doit.c | 105 static int PKCS7_bio_add_digest(BIO **pbio, X509_ALGOR *alg) 107 BIO *btmp; 263 BIO *PKCS7_dataInit(PKCS7 *p7, BIO *bio) 266 BIO *out=NULL,*btmp=NULL; 377 if (bio == NULL) 380 bio=BIO_new(BIO_s_null()); 382 bio = BIO_new_mem_buf(os->data, os->length); 383 if(bio == NULL 423 BIO *out=NULL,*btmp=NULL,*etmp=NULL,*bio=NULL; local [all...] |
/external/openssl/crypto/err/ |
err_prn.c | 92 BIO bio; local 94 BIO_set(&bio,BIO_s_file()); 95 BIO_set_fp(&bio,fp,BIO_NOCLOSE); 97 return BIO_printf(&bio, "%s", str); 107 return BIO_write((BIO *)bp, str, len); 109 void ERR_print_errors(BIO *bp)
|
/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...] |
/external/chromium/third_party/libjingle/source/talk/base/ |
opensslidentity.cc | 31 #include <openssl/bio.h> 176 BIO* temp_memory_bio = BIO_new(BIO_s_mem()); 178 LOG_F(LS_ERROR) << "Failed to allocate temporary memory bio"; 209 BIO* bio = BIO_new_mem_buf(const_cast<char*>(pem_string.c_str()), -1); local 210 if (!bio) 212 (void)BIO_set_close(bio, BIO_NOCLOSE); 213 BIO_set_mem_eof_return(bio, 0); 214 X509 *x509 = PEM_read_bio_X509(bio, NULL, NULL, 217 int remaining_length = BIO_get_mem_data(bio, &ptr) 232 BIO* bio = BIO_new(BIO_s_mem()); local [all...] |
/external/chromium/crypto/ |
rsa_private_key_openssl.cc | 22 // the supplied BIO, returning 1 on success or 0 on failure. 23 typedef int (ExportFunction)(BIO*, EVP_PKEY*); 33 ScopedOpenSSL<BIO, BIO_free_all> bio(BIO_new(BIO_s_mem())); 35 int res = export_fn(bio.get(), key); 40 long len = BIO_get_mem_data(bio.get(), &data); 84 ScopedOpenSSL<BIO, BIO_free_all> bio(BIO_new_mem_buf(data, input.size())); 85 if (!bio.get()) 92 d2i_PKCS8_PRIV_KEY_INFO_bio(bio.get(), NULL)) [all...] |
/external/chromium_org/crypto/ |
rsa_private_key_openssl.cc | 21 // the supplied BIO, returning 1 on success or 0 on failure. 22 typedef int (ExportFunction)(BIO*, EVP_PKEY*); 32 ScopedOpenSSL<BIO, BIO_free_all> bio(BIO_new(BIO_s_mem())); 34 int res = export_fn(bio.get(), key); 39 long len = BIO_get_mem_data(bio.get(), &data); 78 ScopedOpenSSL<BIO, BIO_free_all> bio(BIO_new_mem_buf(data, input.size())); 79 if (!bio.get()) 86 d2i_PKCS8_PRIV_KEY_INFO_bio(bio.get(), NULL)) [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/asn1/ |
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, 118 /* If streaming create stream BIO and copy all content through it * 121 BIO *bio, *tbio; local [all...] |
/external/openssl/crypto/asn1/ |
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, 118 /* If streaming create stream BIO and copy all content through it * 121 BIO *bio, *tbio; local [all...] |
/external/chromium_org/third_party/tlslite/tlslite/utils/ |
OpenSSL_RSAKey.py | 90 bio = m2.bio_new(m2.bio_s_mem()) 94 m2.rsa_write_key(self.rsa, bio, m2.des_ede_cbc(), f) 97 m2.rsa_write_key_no_cipher(self.rsa, bio, f) 101 m2.rsa_write_pub_key(self.rsa, bio) 102 s = m2.bio_read(bio, m2.bio_ctrl_pending(bio)) 103 m2.bio_free(bio) 125 bio = m2.bio_new(m2.bio_s_mem()) 127 m2.bio_write(bio, s) 131 key.rsa = m2.rsa_read_key(bio, callback [all...] |