/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/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/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/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...] |
openssladapter.cc | 39 #include <openssl/bio.h> 86 static int socket_write(BIO* h, const char* buf, int num); 87 static int socket_read(BIO* h, char* buf, int size); 88 static int socket_puts(BIO* h, const char* str); 89 static long socket_ctrl(BIO* h, int cmd, long arg1, void* arg2); 90 static int socket_new(BIO* h); 91 static int socket_free(BIO* data); 108 BIO* BIO_new_socket(talk_base::AsyncSocket* socket) { 109 BIO* ret = BIO_new(BIO_s_socket2()); 117 static int socket_new(BIO* b) 318 BIO* bio = NULL; local [all...] |
opensslstreamadapter.cc | 36 #include <openssl/bio.h> 83 static int stream_write(BIO* h, const char* buf, int num); 84 static int stream_read(BIO* h, char* buf, int size); 85 static int stream_puts(BIO* h, const char* str); 86 static long stream_ctrl(BIO* h, int cmd, long arg1, void* arg2); 87 static int stream_new(BIO* h); 88 static int stream_free(BIO* data); 105 static BIO* BIO_new_stream(StreamInterface* stream) { 106 BIO* ret = BIO_new(BIO_s_stream()); 113 // bio methods return 1 (or at least non-zero) on success and 0 on failure 614 BIO* bio = NULL; local [all...] |
/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 300 BIO *dbio,*bio; local [all...] |
s3_pkt.c | 1164 BIO *bio; local 1342 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; 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...] |
/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 | 1164 BIO *bio; local 1342 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...] |
/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 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;
|