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

1 2 3 4 5 6 7

  /external/chromium_org/crypto/
openssl_bio_string.cc 7 #include <openssl/bio.h>
14 int bio_string_write(BIO* bio, const char* data, int len) {
15 reinterpret_cast<std::string*>(bio->ptr)->append(data, len);
19 int bio_string_puts(BIO* bio, const char* data) {
21 return bio_string_write(bio, data, strlen(data));
24 long bio_string_ctrl(BIO* bio, int cmd, long num, void* ptr) {
25 std::string* str = reinterpret_cast<std::string*>(bio->ptr)
69 BIO* bio = BIO_new(&bio_string_methods); local
    [all...]
  /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/google-tv-pairing-protocol/cpp/src/polo/util/
certificateutil.cc 25 BIO* bio = BIO_new_mem_buf(&pem[0], pem.size()); local
26 X509* x509 = PEM_read_bio_X509(bio, NULL, 0, NULL);
27 BIO_free(bio);
41 BIO* bio = BIO_new(BIO_s_mem()); local
42 PEM_write_bio_X509(bio, x509);
43 BIO_flush(bio);
46 size_t data_size = BIO_get_mem_data(bio, &data);
49 BIO_free(bio);
56 BIO* bio = BIO_new_mem_buf(&pem[0], pem.size()); local
65 BIO* bio = BIO_new(BIO_s_mem()); 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/pdfium/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/
bio.c 40 /** @defgroup BIO BIO - Individual bit input-output stream */
48 @param bio BIO handle
51 static void opj_bio_putbit(opj_bio_t *bio, OPJ_UINT32 b);
54 @param bio BIO handle
57 static OPJ_UINT32 opj_bio_getbit(opj_bio_t *bio);
60 @param bio BIO handl
124 opj_bio_t *bio = (opj_bio_t*)opj_malloc(sizeof(opj_bio_t)); local
    [all...]
  /external/chromium_org/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_org/third_party/openssl/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
633 BIO_printf(bio, "%s %s%s [length %04lx]%s%s\n", str_write_p, str_version, str_content_type, (unsigned long)len, s (…)
662 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/chromium_org/third_party/openssl/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...]
  /external/chromium_org/third_party/openssl/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
308 BIO *dbio,*bio; local
    [all...]
s3_pkt.c 1170 BIO *bio; local
1357 BIO *bio; 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
633 BIO_printf(bio, "%s %s%s [length %04lx]%s%s\n", str_write_p, str_version, str_content_type, (unsigned long)len, s (…)
662 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;
467 BIO *tmpbio = BIO_new(BIO_f_linebuffer());
522 * 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...]
  /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
308 BIO *dbio,*bio; local
    [all...]
s3_pkt.c 1194 BIO *bio; local
1381 BIO *bio; local
    [all...]
  /external/chromium_org/third_party/libjingle/source/talk/base/
opensslidentity.cc 35 #include <openssl/bio.h>
178 BIO* temp_memory_bio = BIO_new(BIO_s_mem());
180 LOG_F(LS_ERROR) << "Failed to allocate temporary memory bio";
214 BIO* bio = BIO_new_mem_buf(const_cast<char*>(pem_string.c_str()), -1); local
215 if (!bio)
217 BIO_set_mem_eof_return(bio, 0);
218 X509 *x509 = PEM_read_bio_X509(bio, NULL, NULL,
220 BIO_free(bio); // Frees the BIO, but not the pointed-to string
271 BIO* bio = BIO_new(BIO_s_mem()); local
294 BIO* bio = BIO_new(BIO_s_mem()); local
352 BIO* bio = BIO_new_mem_buf(const_cast<char*>(private_key.c_str()), -1); local
    [all...]
openssladapter.cc 39 #include <openssl/bio.h>
84 static int socket_write(BIO* h, const char* buf, int num);
85 static int socket_read(BIO* h, char* buf, int size);
86 static int socket_puts(BIO* h, const char* str);
87 static long socket_ctrl(BIO* h, int cmd, long arg1, void* arg2);
88 static int socket_new(BIO* h);
89 static int socket_free(BIO* data);
106 BIO* BIO_new_socket(talk_base::AsyncSocket* socket) {
107 BIO* ret = BIO_new(BIO_s_socket2());
115 static int socket_new(BIO* b)
319 BIO* bio = NULL; local
    [all...]
opensslstreamadapter.cc 36 #include <openssl/bio.h>
79 static int stream_write(BIO* h, const char* buf, int num);
80 static int stream_read(BIO* h, char* buf, int size);
81 static int stream_puts(BIO* h, const char* str);
82 static long stream_ctrl(BIO* h, int cmd, long arg1, void* arg2);
83 static int stream_new(BIO* h);
84 static int stream_free(BIO* data);
101 static BIO* BIO_new_stream(StreamInterface* stream) {
102 BIO* ret = BIO_new(BIO_s_stream());
109 // bio methods return 1 (or at least non-zero) on success and 0 on failure
610 BIO* bio = NULL; local
    [all...]
  /external/chromium_org/third_party/webrtc/base/
opensslidentity.cc 18 #include <openssl/bio.h>
161 BIO* temp_memory_bio = BIO_new(BIO_s_mem());
163 LOG_F(LS_ERROR) << "Failed to allocate temporary memory bio";
197 BIO* bio = BIO_new_mem_buf(const_cast<char*>(pem_string.c_str()), -1); local
198 if (!bio)
200 BIO_set_mem_eof_return(bio, 0);
201 X509 *x509 = PEM_read_bio_X509(bio, NULL, NULL,
203 BIO_free(bio); // Frees the BIO, but not the pointed-to string
254 BIO* bio = BIO_new(BIO_s_mem()); local
277 BIO* bio = BIO_new(BIO_s_mem()); local
335 BIO* bio = BIO_new_mem_buf(const_cast<char*>(private_key.c_str()), -1); local
    [all...]
  /system/core/adb/
adb_auth_host.c 135 BIO *bio, *b64, *bfile; local
160 bio = BIO_push(b64, bfile);
161 BIO_write(bio, &pkey, sizeof(pkey));
162 (void) BIO_flush(bio);
  /external/chromium_org/third_party/openssl/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/chromium_org/third_party/openssl/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...]

Completed in 553 milliseconds

1 2 3 4 5 6 7