/external/chromium_org/third_party/openssl/openssl/crypto/bio/ |
H A D | bio_cb.c | 1 /* crypto/bio/bio_cb.c */ 63 #include <openssl/bio.h> 66 long MS_CALLBACK BIO_debug_callback(BIO *bio, int cmd, const char *argp, argument 78 BIO_snprintf(buf,sizeof buf,"BIO[%08lX]:",(unsigned long)bio); 84 BIO_snprintf(p,p_maxlen,"Free - %s\n",bio->method->name); 87 if (bio->method->type & BIO_TYPE_DESCRIPTOR) 89 bio->num,(unsigned long)argi, 90 bio->method->name,bio->num); 93 bio [all...] |
H A D | bss_acpt.c | 1 /* crypto/bio/bss_acpt.c */ 63 #include <openssl/bio.h> 168 static void acpt_close_socket(BIO *bio) argument 172 c=(BIO_ACCEPT *)bio->ptr; 178 bio->num=INVALID_SOCKET; 202 BIO *bio=NULL,*dbio; local 253 bio=BIO_new_socket(i,BIO_CLOSE); 254 if (bio == NULL) goto err; 256 BIO_set_callback(bio,BIO_get_callback(b)); 257 BIO_set_callback_arg(bio,BIO_get_callback_ar [all...] |
H A D | bss_bio.c | 1 /* crypto/bio/bss_bio.c -*- Mode: C; c-file-style: "eay" -*- */ 82 #include <openssl/bio.h> 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); 104 static void bio_destroy_pair(BIO *bio); 145 static int bio_new(BIO *bio) argument 162 bio_free(BIO *bio) argument 187 bio_read(BIO *bio, char *buf, int size_) argument 280 bio_nread0(BIO *bio, char **buf) argument 318 bio_nread(BIO *bio, char **buf, size_t num_) argument 352 bio_write(BIO *bio, const char *buf, int num_) argument 431 bio_nwrite0(BIO *bio, char **buf) argument 479 bio_nwrite(BIO *bio, char **buf, size_t num_) argument 503 bio_ctrl(BIO *bio, int cmd, long num, void *ptr) argument 698 bio_puts(BIO *bio, const char *str) argument 757 bio_destroy_pair(BIO *bio) argument 841 BIO_ctrl_get_write_guarantee(BIO *bio) argument 846 BIO_ctrl_get_read_request(BIO *bio) argument 851 BIO_ctrl_reset_read_request(BIO *bio) argument 860 BIO_nread0(BIO *bio, char **buf) argument 877 BIO_nread(BIO *bio, char **buf, int num) argument 893 BIO_nwrite0(BIO *bio, char **buf) argument 910 BIO_nwrite(BIO *bio, char **buf, int num) argument [all...] |
H A D | bss_conn.c | 1 /* crypto/bio/bss_conn.c */ 63 #include <openssl/bio.h> 92 /* int socket; this will be kept in bio->num so that it is 93 * compatible with the bss_sock bio */ 98 int (*info_callback)(const BIO *bio,int state,int ret); 369 static void conn_close_socket(BIO *bio) argument 373 c=(BIO_CONNECT *)bio->ptr; 374 if (bio->num != INVALID_SOCKET) 378 shutdown(bio->num,2); 379 closesocket(bio [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/pkcs7/ |
H A D | pk7_mime.c | 77 int SMIME_write_PKCS7(BIO *bio, PKCS7 *p7, BIO *data, int flags) argument 89 return SMIME_write_ASN1(bio, (ASN1_VALUE *)p7, data, flags, 94 PKCS7 *SMIME_read_PKCS7(BIO *bio, BIO **bcont) argument 96 return (PKCS7 *)SMIME_read_ASN1(bio, bcont, ASN1_ITEM_rptr(PKCS7));
|
H A D | bio_ber.c | 156 int bio_ber_get_header(BIO *bio, BIO_BER_CTX *ctx) argument 188 i=BIO_read(bio->next_bio,&(ctx->buf[ctx->buf_len]),i);
|
/external/openssl/crypto/bio/ |
H A D | bio_cb.c | 1 /* crypto/bio/bio_cb.c */ 63 #include <openssl/bio.h> 66 long MS_CALLBACK BIO_debug_callback(BIO *bio, int cmd, const char *argp, argument 78 BIO_snprintf(buf,sizeof buf,"BIO[%08lX]:",(unsigned long)bio); 84 BIO_snprintf(p,p_maxlen,"Free - %s\n",bio->method->name); 87 if (bio->method->type & BIO_TYPE_DESCRIPTOR) 89 bio->num,(unsigned long)argi, 90 bio->method->name,bio->num); 93 bio [all...] |
H A D | bss_acpt.c | 1 /* crypto/bio/bss_acpt.c */ 63 #include <openssl/bio.h> 168 static void acpt_close_socket(BIO *bio) argument 172 c=(BIO_ACCEPT *)bio->ptr; 178 bio->num=INVALID_SOCKET; 202 BIO *bio=NULL,*dbio; local 253 bio=BIO_new_socket(i,BIO_CLOSE); 254 if (bio == NULL) goto err; 256 BIO_set_callback(bio,BIO_get_callback(b)); 257 BIO_set_callback_arg(bio,BIO_get_callback_ar [all...] |
H A D | bss_bio.c | 1 /* crypto/bio/bss_bio.c -*- Mode: C; c-file-style: "eay" -*- */ 82 #include <openssl/bio.h> 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); 104 static void bio_destroy_pair(BIO *bio); 145 static int bio_new(BIO *bio) argument 162 bio_free(BIO *bio) argument 187 bio_read(BIO *bio, char *buf, int size_) argument 280 bio_nread0(BIO *bio, char **buf) argument 318 bio_nread(BIO *bio, char **buf, size_t num_) argument 352 bio_write(BIO *bio, const char *buf, int num_) argument 431 bio_nwrite0(BIO *bio, char **buf) argument 479 bio_nwrite(BIO *bio, char **buf, size_t num_) argument 503 bio_ctrl(BIO *bio, int cmd, long num, void *ptr) argument 698 bio_puts(BIO *bio, const char *str) argument 757 bio_destroy_pair(BIO *bio) argument 841 BIO_ctrl_get_write_guarantee(BIO *bio) argument 846 BIO_ctrl_get_read_request(BIO *bio) argument 851 BIO_ctrl_reset_read_request(BIO *bio) argument 860 BIO_nread0(BIO *bio, char **buf) argument 877 BIO_nread(BIO *bio, char **buf, int num) argument 893 BIO_nwrite0(BIO *bio, char **buf) argument 910 BIO_nwrite(BIO *bio, char **buf, int num) argument [all...] |
H A D | bss_conn.c | 1 /* crypto/bio/bss_conn.c */ 63 #include <openssl/bio.h> 92 /* int socket; this will be kept in bio->num so that it is 93 * compatible with the bss_sock bio */ 98 int (*info_callback)(const BIO *bio,int state,int ret); 369 static void conn_close_socket(BIO *bio) argument 373 c=(BIO_CONNECT *)bio->ptr; 374 if (bio->num != INVALID_SOCKET) 378 shutdown(bio->num,2); 379 closesocket(bio [all...] |
/external/openssl/crypto/pkcs7/ |
H A D | pk7_mime.c | 77 int SMIME_write_PKCS7(BIO *bio, PKCS7 *p7, BIO *data, int flags) argument 89 return SMIME_write_ASN1(bio, (ASN1_VALUE *)p7, data, flags, 94 PKCS7 *SMIME_read_PKCS7(BIO *bio, BIO **bcont) argument 96 return (PKCS7 *)SMIME_read_ASN1(bio, bcont, ASN1_ITEM_rptr(PKCS7));
|
H A D | bio_ber.c | 156 int bio_ber_get_header(BIO *bio, BIO_BER_CTX *ctx) argument 188 i=BIO_read(bio->next_bio,&(ctx->buf[ctx->buf_len]),i);
|
/external/chromium_org/third_party/openssl/openssl/crypto/err/ |
H A D | 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);
|
/external/openssl/crypto/err/ |
H A D | 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);
|
/external/chromium/third_party/libjingle/source/talk/base/ |
H A D | opensslidentity.cc | 31 #include <openssl/bio.h> 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); 218 BIO_free(bio); 232 BIO* bio local [all...] |
/external/chromium/net/test/ |
H A D | openssl_helper.cc | 10 #include <openssl/bio.h> 196 BIO* bio = BIO_new_socket(fd, 1 /* take ownership of fd */); local 197 SSL_set_bio(server, bio, bio);
|
/external/chromium_org/net/socket/ |
H A D | ssl_client_socket_openssl_unittest.cc | 10 #include <openssl/bio.h> 52 void BIO_free_func(BIO* bio) { argument 53 BIO_free(bio); 75 ScopedBIO bio( 79 if (!bio.get()) { 83 EVP_PKEY* result = PEM_read_bio_PrivateKey(bio.get(), NULL, NULL, NULL);
|
/external/chromium_org/net/test/ |
H A D | openssl_helper.cc | 10 #include <openssl/bio.h> 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/ |
H A D | opensslidentity.cc | 36 #include <openssl/bio.h> 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 267 if (!bio) 308 BIO* bio = BIO_new_mem_buf(const_cast<char*>(private_key.c_str()), -1); local [all...] |
/external/chromium_org/third_party/openssl/openssl/apps/ |
H A D | asn1pars.c | 85 static int do_generate(BIO *bio, char *genstr, char *genconf, BUF_MEM *buf); 387 static int do_generate(BIO *bio, char *genstr, char *genconf, BUF_MEM *buf) argument 404 BIO_printf(bio, "Can't find 'asn1' in '%s'\n", genconf); 434 BIO_printf(bio, "Error on line %ld of config file '%s'\n", 437 BIO_printf(bio, "Error loading config file '%s'\n", genconf);
|
H A D | 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," ");
|
/external/chromium_org/third_party/openssl/openssl/ssl/ |
H A D | bio_ssl.c | 64 #include <openssl/bio.h> 300 BIO *dbio,*bio; local 359 bio=SSL_get_rbio(ssl); 360 if (bio != NULL) 363 BIO_push(bio,b->next_bio); 364 b->next_bio=bio; 365 CRYPTO_add(&bio->references,1,CRYPTO_LOCK_BIO);
|
/external/openssl/apps/ |
H A D | asn1pars.c | 85 static int do_generate(BIO *bio, char *genstr, char *genconf, BUF_MEM *buf); 387 static int do_generate(BIO *bio, char *genstr, char *genconf, BUF_MEM *buf) argument 404 BIO_printf(bio, "Can't find 'asn1' in '%s'\n", genconf); 434 BIO_printf(bio, "Error on line %ld of config file '%s'\n", 437 BIO_printf(bio, "Error loading config file '%s'\n", genconf);
|
H A D | 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," ");
|
/external/openssl/ssl/ |
H A D | bio_ssl.c | 64 #include <openssl/bio.h> 300 BIO *dbio,*bio; local 359 bio=SSL_get_rbio(ssl); 360 if (bio != NULL) 363 BIO_push(bio,b->next_bio); 364 b->next_bio=bio; 365 CRYPTO_add(&bio->references,1,CRYPTO_LOCK_BIO);
|