Home
last modified time | relevance | path

Searched defs:bio (Results 1 – 25 of 73) sorted by relevance

123

/external/chromium_org/third_party/boringssl/src/crypto/bio/
Dbio.c70 static int bio_set(BIO *bio, const BIO_METHOD *method) { in bio_set()
109 int BIO_free(BIO *bio) { in BIO_free()
138 void BIO_vfree(BIO *bio) { in BIO_vfree()
142 void BIO_free_all(BIO *bio) { in BIO_free_all()
146 static int bio_io(BIO *bio, void *buf, int len, size_t method_offset, in bio_io()
191 int BIO_read(BIO *bio, void *buf, int len) { in BIO_read()
196 int BIO_gets(BIO *bio, char *buf, int len) { in BIO_gets()
201 int BIO_write(BIO *bio, const void *in, int inl) { in BIO_write()
206 int BIO_puts(BIO *bio, const char *in) { in BIO_puts()
210 int BIO_flush(BIO *bio) { in BIO_flush()
[all …]
Dbio_mem.c96 static int mem_new(BIO *bio) { in mem_new()
114 static int mem_free(BIO *bio) { in mem_free()
134 static int mem_read(BIO *bio, char *out, int outl) { in mem_read()
161 static int mem_write(BIO *bio, const char *in, int inl) { in mem_write()
192 static int mem_gets(BIO *bio, char *buf, int size) { in mem_gets()
227 static long mem_ctrl(BIO *bio, int cmd, long num, void *ptr) { in mem_ctrl()
299 int BIO_mem_contents(const BIO *bio, const uint8_t **out_contents, in BIO_mem_contents()
312 long BIO_get_mem_data(BIO *bio, char **contents) { in BIO_get_mem_data()
316 int BIO_get_mem_ptr(BIO *bio, BUF_MEM **out) { in BIO_get_mem_ptr()
320 int BIO_set_mem_buf(BIO *bio, BUF_MEM *b, int take_ownership) { in BIO_set_mem_buf()
[all …]
Dconnect.c119 static int conn_state(BIO *bio, BIO_CONNECT *c) { in conn_state()
286 static int conn_new(BIO *bio) { in conn_new()
294 static void conn_close_socket(BIO *bio) { in conn_close_socket()
309 static int conn_free(BIO *bio) { in conn_free()
323 static int conn_read(BIO *bio, char *out, int out_len) { in conn_read()
347 static int conn_write(BIO *bio, const char *in, int in_len) { in conn_write()
371 static long conn_ctrl(BIO *bio, int cmd, long num, void *ptr) { in conn_ctrl()
476 static long conn_callback_ctrl(BIO *bio, int cmd, bio_info_cb fp) { in conn_callback_ctrl()
519 int BIO_set_conn_hostname(BIO *bio, const char *name) { in BIO_set_conn_hostname()
523 int BIO_set_conn_port(BIO *bio, const char *port_str) { in BIO_set_conn_port()
[all …]
Dpair.c81 static int bio_new(BIO *bio) { in bio_new()
97 static void bio_destroy_pair(BIO *bio) { in bio_destroy_pair()
129 static int bio_free(BIO *bio) { in bio_free()
152 static int bio_read(BIO *bio, char *buf, int size_) { in bio_read()
235 static int bio_write(BIO *bio, const char *buf, int num_) { in bio_write()
354 static long bio_ctrl(BIO *bio, int cmd, long num, void *ptr) { in bio_ctrl()
477 static int bio_puts(BIO *bio, const char *str) { in bio_puts()
539 size_t BIO_ctrl_get_read_request(BIO *bio) { in BIO_ctrl_get_read_request()
543 size_t BIO_ctrl_get_write_guarantee(BIO *bio) { in BIO_ctrl_get_write_guarantee()
547 int BIO_shutdown_wr(BIO *bio) { in BIO_shutdown_wr()
Dfile.c163 static int file_new(BIO *bio) { return 1; } in file_new()
165 static int file_free(BIO *bio) { in file_free()
323 int BIO_get_fp(BIO *bio, FILE **out_file) { in BIO_get_fp()
327 int BIO_set_fp(BIO *bio, FILE *file, int close_flag) { in BIO_set_fp()
331 int BIO_read_filename(BIO *bio, const char *filename) { in BIO_read_filename()
336 int BIO_write_filename(BIO *bio, const char *filename) { in BIO_write_filename()
341 int BIO_append_filename(BIO *bio, const char *filename) { in BIO_append_filename()
346 int BIO_rw_filename(BIO *bio, const char *filename) { in BIO_rw_filename()
Dfd.c129 static int fd_new(BIO *bio) { in fd_new()
135 static int fd_free(BIO *bio) { in fd_free()
260 int BIO_set_fd(BIO *bio, int fd, int close_flag) { in BIO_set_fd()
264 int BIO_get_fd(BIO *bio, int *out_fd) { in BIO_get_fd()
Dbuffer.c88 static int buffer_new(BIO *bio) { in buffer_new()
120 static int buffer_free(BIO *bio) { in buffer_free()
143 static int buffer_read(BIO *bio, char *out, int outl) { in buffer_read()
491 int BIO_set_read_buffer_size(BIO *bio, int buffer_size) { in BIO_set_read_buffer_size()
495 int BIO_set_write_buffer_size(BIO *bio, int buffer_size) { in BIO_set_write_buffer_size()
Dbio_test.c36 BIO *bio; in test_socket_connect() local
102 BIO *bio; in test_printf() local
DCMakeLists.txt4 bio target
Dsocket.c69 static int sock_new(BIO *bio) { in sock_new()
77 static int sock_free(BIO *bio) { in sock_free()
Dhexdump.c64 BIO *bio; member
179 int BIO_hexdump(BIO *bio, const uint8_t *data, size_t len, unsigned indent) { in BIO_hexdump()
/external/pdfium/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/
Dbio.c81 OPJ_BOOL opj_bio_byteout(opj_bio_t *bio) { in opj_bio_byteout()
91 OPJ_BOOL opj_bio_bytein(opj_bio_t *bio) { in opj_bio_bytein()
101 void opj_bio_putbit(opj_bio_t *bio, OPJ_UINT32 b) { in opj_bio_putbit()
109 OPJ_UINT32 opj_bio_getbit(opj_bio_t *bio) { in opj_bio_getbit()
124 opj_bio_t *bio = (opj_bio_t*)opj_malloc(sizeof(opj_bio_t)); in opj_bio_create() local
128 void opj_bio_destroy(opj_bio_t *bio) { in opj_bio_destroy()
134 ptrdiff_t opj_bio_numbytes(opj_bio_t *bio) { in opj_bio_numbytes()
138 void opj_bio_init_enc(opj_bio_t *bio, OPJ_BYTE *bp, OPJ_UINT32 len) { in opj_bio_init_enc()
146 void opj_bio_init_dec(opj_bio_t *bio, OPJ_BYTE *bp, OPJ_UINT32 len) { in opj_bio_init_dec()
154 void opj_bio_write(opj_bio_t *bio, OPJ_UINT32 v, OPJ_UINT32 n) { in opj_bio_write()
[all …]
/external/chromium_org/crypto/
Dopenssl_bio_string.cc14 int bio_string_write(BIO* bio, const char* data, int len) { in bio_string_write()
19 int bio_string_puts(BIO* bio, const char* data) { in bio_string_puts()
24 long bio_string_ctrl(BIO* bio, int cmd, long num, void* ptr) { in bio_string_ctrl()
41 int bio_string_new(BIO* bio) { in bio_string_new()
47 int bio_string_free(BIO* bio) { in bio_string_free()
69 BIO* bio = BIO_new(&bio_string_methods); in BIO_new_string() local
Dopenssl_bio_string_unittest.cc20 ScopedBIO bio(BIO_new_string(&s)); in TEST() local
46 ScopedBIO bio(BIO_new_string(&s)); in TEST() local
Drsa_private_key_openssl.cc35 ScopedBIO bio(BIO_new(BIO_s_mem())); in ExportKey() local
81 ScopedBIO bio(BIO_new_mem_buf(data, input.size())); in CreateFromPrivateKeyInfo() local
/external/chromium_org/third_party/boringssl/src/ssl/test/
Dasync_bio.cc30 async_bio *get_data(BIO *bio) { in get_data()
37 static int async_write(BIO *bio, const char *in, int inl) { in async_write()
69 static int async_read(BIO *bio, char *out, int outl) { in async_read()
95 static long async_ctrl(BIO *bio, int cmd, long num, void *ptr) { in async_ctrl()
105 static int async_new(BIO *bio) { in async_new()
116 static int async_free(BIO *bio) { in async_free()
128 static long async_callback_ctrl(BIO *bio, int cmd, bio_info_cb fp) { in async_callback_ctrl()
163 void async_bio_allow_read(BIO *bio, size_t count) { in async_bio_allow_read()
171 void async_bio_allow_write(BIO *bio, size_t count) { in async_bio_allow_write()
Dpacketed_bio.cc25 static int packeted_write(BIO *bio, const char *in, int inl) { in packeted_write()
50 static int packeted_read(BIO *bio, char *out, int outl) { in packeted_read()
82 static long packeted_ctrl(BIO *bio, int cmd, long num, void *ptr) { in packeted_ctrl()
92 static int packeted_new(BIO *bio) { in packeted_new()
97 static int packeted_free(BIO *bio) { in packeted_free()
106 static long packeted_callback_ctrl(BIO *bio, int cmd, bio_info_cb fp) { in packeted_callback_ctrl()
/external/openssl/crypto/bio/
Dbss_bio.c145 static int bio_new(BIO *bio) in bio_new()
162 static int bio_free(BIO *bio) in bio_free()
187 static int bio_read(BIO *bio, char *buf, int size_) in bio_read()
280 static ossl_ssize_t bio_nread0(BIO *bio, char **buf) in bio_nread0()
318 static ossl_ssize_t bio_nread(BIO *bio, char **buf, size_t num_) in bio_nread()
352 static int bio_write(BIO *bio, const char *buf, int num_) in bio_write()
431 static ossl_ssize_t bio_nwrite0(BIO *bio, char **buf) in bio_nwrite0()
479 static ossl_ssize_t bio_nwrite(BIO *bio, char **buf, size_t num_) in bio_nwrite()
503 static long bio_ctrl(BIO *bio, int cmd, long num, void *ptr) in bio_ctrl()
698 static int bio_puts(BIO *bio, const char *str) in bio_puts()
[all …]
Dbio_lib.c84 int BIO_set(BIO *bio, BIO_METHOD *method) in BIO_set()
408 size_t BIO_ctrl_pending(BIO *bio) in BIO_ctrl_pending()
413 size_t BIO_ctrl_wpending(BIO *bio) in BIO_ctrl_wpending()
420 BIO *BIO_push(BIO *b, BIO *bio) in BIO_push()
456 BIO *BIO_get_retry_BIO(BIO *bio, int *reason) in BIO_get_retry_BIO()
472 int BIO_get_retry_reason(BIO *bio) in BIO_get_retry_reason()
477 BIO *BIO_find_type(BIO *bio, int type) in BIO_find_type()
506 void BIO_free_all(BIO *bio) in BIO_free_all()
524 BIO *ret=NULL,*eoc=NULL,*bio,*new_bio; in BIO_dup_chain() local
580 int BIO_set_ex_data(BIO *bio, int idx, void *data) in BIO_set_ex_data()
[all …]
/external/google-tv-pairing-protocol/cpp/src/polo/util/
Dcertificateutil.cc25 BIO* bio = BIO_new_mem_buf(&pem[0], pem.size()); in X509FromPEM() local
41 BIO* bio = BIO_new(BIO_s_mem()); in X509ToPEM() local
56 BIO* bio = BIO_new_mem_buf(&pem[0], pem.size()); in PKEYFromPEM() local
65 BIO* bio = BIO_new(BIO_s_mem()); in PKEYToPEM() local
/external/openssl/crypto/pkcs7/
Dpk7_mime.c77 int SMIME_write_PKCS7(BIO *bio, PKCS7 *p7, BIO *data, int flags) in SMIME_write_PKCS7()
94 PKCS7 *SMIME_read_PKCS7(BIO *bio, BIO **bcont) in SMIME_read_PKCS7()
Dpk7_doit.c263 BIO *PKCS7_dataInit(PKCS7 *p7, BIO *bio) in PKCS7_dataInit()
423 BIO *out=NULL,*btmp=NULL,*etmp=NULL,*bio=NULL; in PKCS7_dataDecode() local
685 static BIO *PKCS7_find_digest(EVP_MD_CTX **pmd, BIO *bio, int nid) in PKCS7_find_digest()
744 int PKCS7_dataFinal(PKCS7 *p7, BIO *bio) in PKCS7_dataFinal()
966 int PKCS7_dataVerify(X509_STORE *cert_store, X509_STORE_CTX *ctx, BIO *bio, in PKCS7_dataVerify()
1020 int PKCS7_signatureVerify(BIO *bio, PKCS7 *p7, PKCS7_SIGNER_INFO *si, in PKCS7_signatureVerify()
/external/openssl/apps/
Dsrp.c143 static void print_entry(CA_DB *db, BIO *bio, int indx, int verbose, char *s) in print_entry()
157 static void print_index(CA_DB *db, BIO *bio, int indexindex, int verbose) in print_index()
162 static void print_user(CA_DB *db, BIO *bio, int userindex, int verbose) in print_user()
177 static int update_index(CA_DB *db, BIO *bio, char **row) in update_index()
213 const char *passin, BIO *bio, int verbose) in srp_verify_user()
244 char *passout, BIO *bio, int verbose) in srp_create_user()
/external/chromium_org/third_party/webrtc/base/
Dopensslidentity.cc197 BIO* bio = BIO_new_mem_buf(const_cast<char*>(pem_string.c_str()), -1); in FromPEMString() local
254 BIO* bio = BIO_new(BIO_s_mem()); in ToPEMString() local
275 BIO* bio = BIO_new(BIO_s_mem()); in ToDER() local
331 BIO* bio = BIO_new_mem_buf(const_cast<char*>(private_key.c_str()), -1); in FromPEMStrings() local
/external/openssl/crypto/cms/
Dcms_io.c113 int SMIME_write_CMS(BIO *bio, CMS_ContentInfo *cms, BIO *data, int flags) in SMIME_write_CMS()
128 CMS_ContentInfo *SMIME_read_CMS(BIO *bio, BIO **bcont) in SMIME_read_CMS()

123