/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/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 602 BIO_printf(bio, "%s %s%s [length %04lx]%s%s\n", str_write_p, str_version, str_content_type, (unsigned long)len, s (…) 631 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," "); 122 BIO *bzl = NULL; 128 BIO *in=NULL,*out=NULL,*b64=NULL,*benc=NULL,*rbio=NULL,*wbio=NULL; 457 BIO *tmpbio = BIO_new(BIO_f_linebuffer()); 512 * 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; 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 | 1144 BIO *bio; local 1317 BIO *bio; local [all...] |
d1_pkt.c | 908 BIO *bio; local 910 bio=SSL_get_rbio(s); 912 BIO_clear_retry_flags(bio); 913 BIO_set_retry_read(bio); 998 BIO *bio; local 1004 bio=SSL_get_rbio(s); 1005 BIO_clear_retry_flags(bio); 1006 BIO_set_retry_read(bio); 1203 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; 256 BIO *PKCS7_dataInit(PKCS7 *p7, BIO *bio) 259 BIO *out=NULL,*btmp=NULL; 370 if (bio == NULL) 373 bio=BIO_new(BIO_s_null()); 375 bio = BIO_new_mem_buf(os->data, os->length); 376 if(bio == NULL 416 BIO *out=NULL,*btmp=NULL,*etmp=NULL,*bio=NULL; local [all...] |
/bionic/libc/kernel/common/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...] |
/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);
|
crypto_openssl.c | 440 static BIO *BIO_from_keystore(char *key) 442 BIO *bio = NULL; local 445 if (length != -1 && (bio = BIO_new(BIO_s_mem())) != NULL) { 446 BIO_write(bio, value, length); 448 return bio; 497 BIO *bio = BIO_from_keystore(CAfile); local 502 if (!bio) { 505 stack = PEM_X509_INFO_read_bio(bio, NULL, NULL, NULL) 797 BIO *bio = NULL; local 859 BIO *bio; local 896 BIO *bio = BIO_from_keystore(path); local 1002 BIO *bio = BIO_from_keystore(path); local 2568 BIO *bio=NULL, *b64=NULL; local 2605 BIO *bio=NULL, *b64=NULL; local [all...] |
ipsec_doi.c | 4008 BIO *bio; local 4554 BIO *bio = BIO_new(BIO_s_mem()); local [all...] |
/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...] |
/prebuilt/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...] |
/prebuilt/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...] |
/prebuilt/ndk/android-ndk-r4/platforms/android-5/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...] |
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-x86/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...] |
/prebuilt/ndk/android-ndk-r4/platforms/android-8/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...] |
/prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-x86/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...] |
/external/wpa_supplicant/ |
tls_openssl.c | 44 static BIO *BIO_from_keystore(const char *key) 46 BIO *bio = NULL; local 49 if (length != -1 && (bio = BIO_new(BIO_s_mem())) != NULL) { 50 BIO_write(bio, value, length); 52 return bio; 60 BIO *ssl_in, *ssl_out; 914 "Failed to create a new BIO for ssl_in"); 923 "Failed to create a new BIO for ssl_out"); 1163 BIO *bio = BIO_from_keystore(&ca_cert[11]) local 1345 BIO *bio = BIO_from_keystore(&client_cert[11]); local 1653 BIO *bio = BIO_from_keystore(&private_key[11]); local [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/crypto/ |
tls_openssl.c | 54 static BIO *BIO_from_keystore(const char *key) 56 BIO *bio = NULL; local 59 if (length != -1 && (bio = BIO_new(BIO_s_mem())) != NULL) { 60 BIO_write(bio, value, length); 62 return bio; 70 BIO *ssl_in, *ssl_out; 895 "Failed to create a new BIO for ssl_in"); 904 "Failed to create a new BIO for ssl_out"); 1145 BIO *bio = BIO_from_keystore(&ca_cert[11]) local 1342 BIO *bio = BIO_from_keystore(&client_cert[11]); local 1753 BIO *bio = BIO_from_keystore(&private_key[11]); local [all...] |