HomeSort by relevance Sort by last modified time
    Searched defs:bio (Results 1 - 25 of 79) sorted by null

1 2 3 4

  /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/chromium/net/test/
openssl_helper.cc 10 #include <openssl/bio.h>
129 BIO* key = BIO_new(BIO_s_file());
143 BIO* cert = BIO_new(BIO_s_file());
196 BIO* bio = BIO_new_socket(fd, 1 /* take ownership of fd */); local
197 SSL_set_bio(server, bio, bio);
  /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...]
opensslstreamadapter.cc 36 #include <openssl/bio.h>
56 static int stream_write(BIO* h, const char* buf, int num);
57 static int stream_read(BIO* h, char* buf, int size);
58 static int stream_puts(BIO* h, const char* str);
59 static long stream_ctrl(BIO* h, int cmd, long arg1, void* arg2);
60 static int stream_new(BIO* h);
61 static int stream_free(BIO* data);
78 static BIO* BIO_new_stream(StreamInterface* stream) {
79 BIO* ret = BIO_new(BIO_s_stream());
86 // bio methods return 1 (or at least non-zero) on success and 0 on failure
428 BIO* bio = NULL; local
    [all...]
openssladapter.cc 7 #include <openssl/bio.h>
51 static int socket_write(BIO* h, const char* buf, int num);
52 static int socket_read(BIO* h, char* buf, int size);
53 static int socket_puts(BIO* h, const char* str);
54 static long socket_ctrl(BIO* h, int cmd, long arg1, void* arg2);
55 static int socket_new(BIO* h);
56 static int socket_free(BIO* data);
73 BIO* BIO_new_socket(talk_base::AsyncSocket* socket) {
74 BIO* ret = BIO_new(BIO_s_socket2());
82 static int socket_new(BIO* b)
279 BIO* bio = NULL; local
    [all...]
  /external/openssl/apps/
s_cb.c 281 long MS_CALLBACK bio_dump_callback(BIO *bio, int cmd, const char *argp,
284 BIO *out;
286 out=(BIO *)BIO_get_callback_arg(bio);
292 (void *)bio,argp,(unsigned long)argi,ret,ret);
299 (void *)bio,argp,(unsigned long)argi,ret,ret);
344 BIO *bio = arg; local
631 BIO_printf(bio, "%s %s%s [length %04lx]%s%s\n", str_write_p, str_version, str_content_type, (unsigned long)len, s (…)
660 BIO *bio = arg; local
    [all...]
enc.c 63 #include <openssl/bio.h>
84 BIO *bio=bio_; local
90 BIO_printf(bio,"-%-25s",name->name);
93 BIO_printf(bio,"\n");
97 BIO_printf(bio," ");
119 BIO *bzl = NULL;
125 BIO *in=NULL,*out=NULL,*b64=NULL,*benc=NULL,*rbio=NULL,*wbio=NULL;
461 BIO *tmpbio = BIO_new(BIO_f_linebuffer());
516 * write to output BIO. If decrypting read salt fro
    [all...]
  /external/openssl/crypto/bio/
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...]
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_dgram.c 1 /* crypto/bio/bio_dgram.c */
66 #include <openssl/bio.h>
90 static int dgram_write(BIO *h, const char *buf, int num);
91 static int dgram_read(BIO *h, char *buf, int size);
92 static int dgram_puts(BIO *h, const char *str);
93 static long dgram_ctrl(BIO *h, int cmd, long arg1, void *arg2);
94 static int dgram_new(BIO *h);
95 static int dgram_free(BIO *data);
96 static int dgram_clear(BIO *bio);
163 BIO *bio; member in struct:bio_dgram_sctp_save_message_st
839 BIO *bio; local
    [all...]
  /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...]
s3_pkt.c 1198 BIO *bio; local
1376 BIO *bio; local
    [all...]
d1_pkt.c 670 /* Only do replay check if no SCTP bio */
980 BIO *bio; local
982 bio=SSL_get_rbio(s);
984 BIO_clear_retry_flags(bio);
985 BIO_set_retry_read(bio);
1071 BIO *bio; local
1077 bio=SSL_get_rbio(s);
1078 BIO_clear_retry_flags(bio);
1304 BIO *bio; local
    [all...]
  /external/openssh/
authfile.c 181 BIO *bio; local
187 if ((bio = BIO_new(BIO_s_mem())) == NULL) {
193 success = PEM_write_bio_DSAPrivateKey(bio, key->dsa,
198 success = PEM_write_bio_ECPrivateKey(bio, key->ecdsa,
203 success = PEM_write_bio_RSAPrivateKey(bio, key->rsa,
208 if ((blen = BIO_get_mem_data(bio, &bptr)) <= 0)
213 BIO_free(bio);
525 BIO *bio; local
    [all...]
  /external/openssl/crypto/
mem_dbg.c 118 #include <openssl/bio.h>
659 BIO *bio; member in struct:mem_leak_st
675 if(m->addr == (char *)l->bio)
702 BIO_puts(l->bio,buf);
739 BIO_puts(l->bio,buf);
756 void CRYPTO_mem_leaks(BIO *b)
765 ml.bio=b;
828 BIO *b;
  /external/openssl/crypto/pkcs7/
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...]
  /bionic/libc/kernel/common/linux/
bio.h 57 struct bio;
59 typedef int (bio_end_io_t) (struct bio *, unsigned int, int);
60 typedef void (bio_destructor_t) (struct bio *);
61 struct bio { struct
64 struct bio *bi_next;
96 #define bio_flagged(bio, flag) ((bio)->bi_flags & (1 << (flag)))
101 #define BIO_POOL_IDX(bio) ((bio)->bi_flags >> BIO_POOL_OFFSET)
110 #define bio_prio(bio) ((bio)->bi_rw >> BIO_PRIO_SHIFT
    [all...]
  /development/ndk/platforms/android-3/include/linux/
bio.h 52 struct bio;
53 typedef int (bio_end_io_t) (struct bio *, unsigned int, int);
54 typedef void (bio_destructor_t) (struct bio *);
56 struct bio { struct
58 struct bio *bi_next;
95 #define bio_flagged(bio, flag) ((bio)->bi_flags & (1 << (flag)))
100 #define BIO_POOL_IDX(bio) ((bio)->bi_flags >> BIO_POOL_OFFSET)
109 #define bio_prio(bio) ((bio)->bi_rw >> BIO_PRIO_SHIFT
    [all...]
  /external/ipsec-tools/src/racoon/
eaytest.c 51 #include <openssl/bio.h>
96 BIO *bio; local
100 bio = BIO_new_mem_buf(pubkey_txt, strlen(pubkey_txt));
101 evp = PEM_read_bio_PUBKEY(bio, NULL, NULL, NULL);
199 BIO *bio; local
206 bio = BIO_new_mem_buf(buf, strlen(buf));
207 error = PEM_read_bio(bio, &nm, &header, &data, &len);
  /external/kernel-headers/original/linux/
bio.h 27 /* Platforms may set this to teach the BIO layer about IOMMU hardware. */
64 struct bio;
65 typedef int (bio_end_io_t) (struct bio *, unsigned int, int);
66 typedef void (bio_destructor_t) (struct bio *);
72 struct bio { struct
74 struct bio *bi_next; /* request queue link */
84 /* Number of segments in this BIO after
99 * in this bio
117 * bio flags
124 #define BIO_BOUNCED 5 /* bio is a bounce bio *
    [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...]
  /prebuilts/gcc/darwin-x86/mips/mipsel-linux-android-4.4.3/sysroot/usr/include/linux/
bio.h 52 struct bio;
53 typedef int (bio_end_io_t) (struct bio *, unsigned int, int);
54 typedef void (bio_destructor_t) (struct bio *);
56 struct bio { struct
58 struct bio *bi_next;
95 #define bio_flagged(bio, flag) ((bio)->bi_flags & (1 << (flag)))
100 #define BIO_POOL_IDX(bio) ((bio)->bi_flags >> BIO_POOL_OFFSET)
109 #define bio_prio(bio) ((bio)->bi_rw >> BIO_PRIO_SHIFT
    [all...]
  /prebuilts/gcc/linux-x86/mips/mipsel-linux-android-4.4.3/sysroot/usr/include/linux/
bio.h 52 struct bio;
53 typedef int (bio_end_io_t) (struct bio *, unsigned int, int);
54 typedef void (bio_destructor_t) (struct bio *);
56 struct bio { struct
58 struct bio *bi_next;
95 #define bio_flagged(bio, flag) ((bio)->bi_flags & (1 << (flag)))
100 #define BIO_POOL_IDX(bio) ((bio)->bi_flags >> BIO_POOL_OFFSET)
109 #define bio_prio(bio) ((bio)->bi_rw >> BIO_PRIO_SHIFT
    [all...]
  /prebuilts/ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/
bio.h 52 struct bio;
53 typedef int (bio_end_io_t) (struct bio *, unsigned int, int);
54 typedef void (bio_destructor_t) (struct bio *);
56 struct bio { struct
58 struct bio *bi_next;
95 #define bio_flagged(bio, flag) ((bio)->bi_flags & (1 << (flag)))
100 #define BIO_POOL_IDX(bio) ((bio)->bi_flags >> BIO_POOL_OFFSET)
109 #define bio_prio(bio) ((bio)->bi_rw >> BIO_PRIO_SHIFT
    [all...]
  /prebuilts/ndk/android-ndk-r4/platforms/android-4/arch-arm/usr/include/linux/
bio.h 52 struct bio;
53 typedef int (bio_end_io_t) (struct bio *, unsigned int, int);
54 typedef void (bio_destructor_t) (struct bio *);
56 struct bio { struct
58 struct bio *bi_next;
95 #define bio_flagged(bio, flag) ((bio)->bi_flags & (1 << (flag)))
100 #define BIO_POOL_IDX(bio) ((bio)->bi_flags >> BIO_POOL_OFFSET)
109 #define bio_prio(bio) ((bio)->bi_rw >> BIO_PRIO_SHIFT
    [all...]

Completed in 2555 milliseconds

1 2 3 4