Home
last modified time | relevance | path

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

12345

/third_party/openssl/providers/common/
Dbio_prov.c90 int ossl_prov_bio_read_ex(OSSL_CORE_BIO *bio, void *data, size_t data_len, in ossl_prov_bio_read_ex()
98 int ossl_prov_bio_write_ex(OSSL_CORE_BIO *bio, const void *data, size_t data_len, in ossl_prov_bio_write_ex()
106 int ossl_prov_bio_gets(OSSL_CORE_BIO *bio, char *buf, int size) in ossl_prov_bio_gets()
113 int ossl_prov_bio_puts(OSSL_CORE_BIO *bio, const char *str) in ossl_prov_bio_puts()
120 int ossl_prov_bio_ctrl(OSSL_CORE_BIO *bio, int cmd, long num, void *ptr) in ossl_prov_bio_ctrl()
127 int ossl_prov_bio_up_ref(OSSL_CORE_BIO *bio) in ossl_prov_bio_up_ref()
134 int ossl_prov_bio_free(OSSL_CORE_BIO *bio) in ossl_prov_bio_free()
141 int ossl_prov_bio_vprintf(OSSL_CORE_BIO *bio, const char *format, va_list ap) in ossl_prov_bio_vprintf()
148 int ossl_prov_bio_printf(OSSL_CORE_BIO *bio, const char *format, ...) in ossl_prov_bio_printf()
164 static int bio_core_read_ex(BIO *bio, char *data, size_t data_len, in bio_core_read_ex()
[all …]
/third_party/openssl/crypto/bio/
Dbss_bio.c76 static int bio_new(BIO *bio) in bio_new()
90 static int bio_free(BIO *bio) in bio_free()
109 static int bio_read(BIO *bio, char *buf, int size_) in bio_read()
200 static ossl_ssize_t bio_nread0(BIO *bio, char **buf) in bio_nread0()
237 static ossl_ssize_t bio_nread(BIO *bio, char **buf, size_t num_) in bio_nread()
268 static int bio_write(BIO *bio, const char *buf, int num_) in bio_write()
345 static ossl_ssize_t bio_nwrite0(BIO *bio, char **buf) in bio_nwrite0()
393 static ossl_ssize_t bio_nwrite(BIO *bio, char **buf, size_t num_) in bio_nwrite()
416 static long bio_ctrl(BIO *bio, int cmd, long num, void *ptr) in bio_ctrl()
601 static int bio_puts(BIO *bio, const char *str) in bio_puts()
[all …]
Dbss_core.c46 static int bio_core_read_ex(BIO *bio, char *data, size_t data_len, in bio_core_read_ex()
56 static int bio_core_write_ex(BIO *bio, const char *data, size_t data_len, in bio_core_write_ex()
66 static long bio_core_ctrl(BIO *bio, int cmd, long num, void *ptr) in bio_core_ctrl()
75 static int bio_core_gets(BIO *bio, char *buf, int size) in bio_core_gets()
84 static int bio_core_puts(BIO *bio, const char *str) in bio_core_puts()
93 static int bio_core_new(BIO *bio) in bio_core_new()
100 static int bio_core_free(BIO *bio) in bio_core_free()
Dbio_lib.c83 BIO *bio = OPENSSL_zalloc(sizeof(*bio)); in BIO_new_ex() local
502 int BIO_get_line(BIO *bio, char *buf, int size) in BIO_get_line()
622 size_t BIO_ctrl_pending(BIO *bio) in BIO_ctrl_pending()
635 size_t BIO_ctrl_wpending(BIO *bio) in BIO_ctrl_wpending()
649 BIO *BIO_push(BIO *b, BIO *bio) in BIO_push()
687 BIO *BIO_get_retry_BIO(BIO *bio, int *reason) in BIO_get_retry_BIO()
705 int BIO_get_retry_reason(BIO *bio) in BIO_get_retry_reason()
710 void BIO_set_retry_reason(BIO *bio, int reason) in BIO_set_retry_reason()
715 BIO *BIO_find_type(BIO *bio, int type) in BIO_find_type()
752 void BIO_free_all(BIO *bio) in BIO_free_all()
[all …]
Dbio_cb.c19 long BIO_debug_callback_ex(BIO *bio, int cmd, const char *argp, size_t len, in BIO_debug_callback_ex()
103 long BIO_debug_callback(BIO *bio, int cmd, const char *argp, in BIO_debug_callback()
Dossl_core_bio.c21 BIO *bio; member
58 OSSL_CORE_BIO *ossl_core_bio_new_from_bio(BIO *bio) in ossl_core_bio_new_from_bio()
70 static OSSL_CORE_BIO *core_bio_new_from_new_bio(BIO *bio) in core_bio_new_from_new_bio()
/third_party/openssl/test/
Dbio_core_test.c16 BIO *bio; member
19 static int tst_bio_core_read_ex(OSSL_CORE_BIO *bio, char *data, size_t data_len, in tst_bio_core_read_ex()
25 static int tst_bio_core_write_ex(OSSL_CORE_BIO *bio, const char *data, in tst_bio_core_write_ex()
31 static int tst_bio_core_gets(OSSL_CORE_BIO *bio, char *buf, int size) in tst_bio_core_gets()
36 static int tst_bio_core_puts(OSSL_CORE_BIO *bio, const char *str) in tst_bio_core_puts()
41 static long tst_bio_core_ctrl(OSSL_CORE_BIO *bio, int cmd, long num, void *ptr) in tst_bio_core_ctrl()
46 static int tst_bio_core_up_ref(OSSL_CORE_BIO *bio) in tst_bio_core_up_ref()
51 static int tst_bio_core_free(OSSL_CORE_BIO *bio) in tst_bio_core_free()
Dbio_memleak_test.c19 BIO *bio; in test_bio_memleak() local
46 BIO *bio = NULL; in test_bio_get_mem() local
74 BIO *bio; in test_bio_new_mem_buf() local
109 BIO *bio, *bio2 = NULL; in test_bio_rdonly_mem_buf() local
151 BIO *bio = NULL; in test_bio_rdwr_rdonly() local
187 BIO *bio = NULL; in test_bio_nonclear_rst() local
225 static long BIO_error_callback(BIO *bio, int cmd, const char *argp, in BIO_error_callback()
240 BIO *bio = NULL, *out = NULL; in test_bio_i2d_ASN1_mime() local
Dsslcorrupttest.c16 static void copy_flags(BIO *bio) in copy_flags()
26 static int tls_corrupt_read(BIO *bio, char *out, int outl) in tls_corrupt_read()
37 static int tls_corrupt_write(BIO *bio, const char *in, int inl) in tls_corrupt_write()
58 static long tls_corrupt_ctrl(BIO *bio, int cmd, long num, void *ptr) in tls_corrupt_ctrl()
77 static int tls_corrupt_gets(BIO *bio, char *buf, int size) in tls_corrupt_gets()
83 static int tls_corrupt_puts(BIO *bio, const char *str) in tls_corrupt_puts()
89 static int tls_corrupt_new(BIO *bio) in tls_corrupt_new()
96 static int tls_corrupt_free(BIO *bio) in tls_corrupt_free()
Dtls13ccstest.c58 static int watchccs_new(BIO *bio) in watchccs_new()
64 static int watchccs_free(BIO *bio) in watchccs_free()
70 static int watchccs_read(BIO *bio, char *out, int outl) in watchccs_read()
89 static int watchccs_write(BIO *bio, const char *in, int inl) in watchccs_write()
213 static long watchccs_ctrl(BIO *bio, int cmd, long num, void *ptr) in watchccs_ctrl()
232 static int watchccs_gets(BIO *bio, char *buf, int size) in watchccs_gets()
238 static int watchccs_puts(BIO *bio, const char *str) in watchccs_puts()
Dasynciotest.c62 static int async_new(BIO *bio) in async_new()
75 static int async_free(BIO *bio) in async_free()
89 static int async_read(BIO *bio, char *out, int outl) in async_read()
124 static int async_write(BIO *bio, const char *in, int inl) in async_write()
257 static long async_ctrl(BIO *bio, int cmd, long num, void *ptr) in async_ctrl()
276 static int async_gets(BIO *bio, char *buf, int size) in async_gets()
282 static int async_puts(BIO *bio, const char *str) in async_puts()
Dcmsapitest.c84 BIO *bio; in test_d2i_CMS_bio_NULL() local
292 static unsigned char *read_all(BIO *bio, long *p_len) in read_all()
323 BIO *bio = NULL; in test_d2i_CMS_decode() local
/third_party/rust/crates/rust-openssl/openssl/src/
Dmacros.rs9 let bio = crate::bio::MemBioSlice::new(pem)?; localVariable
26 let bio = crate::bio::MemBioSlice::new(pem)?; localVariable
42 let bio = crate::bio::MemBio::new()?; localVariable
61 let bio = crate::bio::MemBio::new()?; localVariable
81 let bio = crate::bio::MemBio::new()?; localVariable
126 let bio = crate::bio::MemBioSlice::new(pem)?; localVariable
/third_party/openssl/crypto/ts/
Dts_lib.c19 int TS_ASN1_INTEGER_print_bio(BIO *bio, const ASN1_INTEGER *num) in TS_ASN1_INTEGER_print_bio()
38 int TS_OBJ_print_bio(BIO *bio, const ASN1_OBJECT *obj) in TS_OBJ_print_bio()
48 int TS_ext_print_bio(BIO *bio, const STACK_OF(X509_EXTENSION) *extensions) in TS_ext_print_bio()
73 int TS_X509_ALGOR_print_bio(BIO *bio, const X509_ALGOR *alg) in TS_X509_ALGOR_print_bio()
80 int TS_MSG_IMPRINT_print_bio(BIO *bio, TS_MSG_IMPRINT *a) in TS_MSG_IMPRINT_print_bio()
Dts_rsp_print.c28 int TS_RESP_print_bio(BIO *bio, TS_RESP *a) in TS_RESP_print_bio()
42 int TS_STATUS_INFO_print_bio(BIO *bio, TS_STATUS_INFO *a) in TS_STATUS_INFO_print_bio()
102 static int ts_status_map_print(BIO *bio, const struct status_map_st *a, in ts_status_map_print()
118 int TS_TST_INFO_print_bio(BIO *bio, TS_TST_INFO *a) in TS_TST_INFO_print_bio()
176 static int ts_ACCURACY_print_bio(BIO *bio, const TS_ACCURACY *a) in ts_ACCURACY_print_bio()
/third_party/openssl/ssl/
Dt1_trce.c24 # define ssl_trace_list(bio, indent, msg, msglen, value, table) \ argument
40 static int do_ssl_trace_list(BIO *bio, int indent, in do_ssl_trace_list()
614 static void ssl_print_hex(BIO *bio, int indent, const char *name, in ssl_print_hex()
626 static int ssl_print_hexbuf(BIO *bio, int indent, const char *name, size_t nlen, in ssl_print_hexbuf()
646 static int ssl_print_version(BIO *bio, int indent, const char *name, in ssl_print_version()
665 static int ssl_print_random(BIO *bio, int indent, in ssl_print_random()
688 static int ssl_print_signature(BIO *bio, int indent, const SSL *ssl, in ssl_print_signature()
706 static int ssl_print_extension(BIO *bio, int indent, int server, in ssl_print_extension()
895 static int ssl_print_extensions(BIO *bio, int indent, int server, in ssl_print_extensions()
948 static int ssl_print_client_hello(BIO *bio, const SSL *ssl, int indent, in ssl_print_client_hello()
[all …]
/third_party/openssl/test/helpers/
Dssltestlib.c70 static int tls_dump_new(BIO *bio) in tls_dump_new()
76 static int tls_dump_free(BIO *bio) in tls_dump_free()
83 static void copy_flags(BIO *bio) in copy_flags()
193 static int tls_dump_read(BIO *bio, char *out, int outl) in tls_dump_read()
208 static int tls_dump_write(BIO *bio, const char *in, int inl) in tls_dump_write()
219 static long tls_dump_ctrl(BIO *bio, int cmd, long num, void *ptr) in tls_dump_ctrl()
238 static int tls_dump_gets(BIO *bio, char *buf, int size) in tls_dump_gets()
244 static int tls_dump_puts(BIO *bio, const char *str) in tls_dump_puts()
307 static int mempacket_test_new(BIO *bio) in mempacket_test_new()
324 static int mempacket_test_free(BIO *bio) in mempacket_test_free()
[all …]
/third_party/openssl/test/testutil/
Dload.c21 BIO *bio = NULL; in load_cert_pem() local
36 BIO *bio; in STACK_OF() local
72 BIO *bio = NULL; in load_pkey_pem() local
95 BIO *bio = NULL; in load_csr_der() local
/third_party/node/src/
Dnode_crypto_bio.cc35 BIOPointer bio(BIO_new(GetMethod())); in New() local
43 BIOPointer bio = New(env); in NewFixed() local
56 int NodeBIO::New(BIO* bio) { in New()
64 int NodeBIO::Free(BIO* bio) { in Free()
79 int NodeBIO::Read(BIO* bio, char* out, int len) { in Read()
129 int NodeBIO::Write(BIO* bio, const char* data, int len) { in Write()
138 int NodeBIO::Puts(BIO* bio, const char* str) { in Puts()
143 int NodeBIO::Gets(BIO* bio, char* out, int size) { in Gets()
168 long NodeBIO::Ctrl(BIO* bio, int cmd, long num, // NOLINT(runtime/int) in Ctrl()
497 NodeBIO* NodeBIO::FromBIO(BIO* bio) { in FromBIO()
/third_party/openssl/crypto/pkcs7/
Dpk7_mime.c30 int SMIME_write_PKCS7(BIO *bio, PKCS7 *p7, BIO *data, int flags) in SMIME_write_PKCS7()
49 PKCS7 *SMIME_read_PKCS7_ex(BIO *bio, BIO **bcont, PKCS7 **p7) in SMIME_read_PKCS7_ex()
67 PKCS7 *SMIME_read_PKCS7(BIO *bio, BIO **bcont) in SMIME_read_PKCS7()
/third_party/python/Modules/_ssl/
Dmisc.c9 _PySSL_BytesFromBIO(_sslmodulestate *state, BIO *bio) in _PySSL_BytesFromBIO()
24 _PySSL_UnicodeFromBIO(_sslmodulestate *state, BIO *bio, const char *error) in _PySSL_UnicodeFromBIO()
/third_party/openssl/crypto/cms/
Dcms_io.c80 int SMIME_write_CMS(BIO *bio, CMS_ContentInfo *cms, BIO *data, int flags) in SMIME_write_CMS()
99 CMS_ContentInfo *SMIME_read_CMS_ex(BIO *bio, int flags, BIO **bcont, in SMIME_read_CMS_ex()
118 CMS_ContentInfo *SMIME_read_CMS(BIO *bio, BIO **bcont) in SMIME_read_CMS()
/third_party/gstreamer/gstplugins_bad/ext/dtls/
Dgstdtlsconnection.c85 BIO *bio; member
238 BIO_set_data (BIO * bio, void *ptr) in BIO_set_data()
244 BIO_get_data (BIO * bio) in BIO_get_data()
250 BIO_set_shutdown (BIO * bio, int shutdown) in BIO_set_shutdown()
256 BIO_set_init (BIO * bio, int init) in BIO_set_init()
1099 BIO *bio; in openssl_verify_callback() local
1194 bio_method_write (BIO * bio, const char *data, int size) in bio_method_write()
1210 bio_method_read (BIO * bio, char *out_buffer, int size) in bio_method_read()
1254 bio_method_ctrl (BIO * bio, int cmd, long arg1, void *arg2) in bio_method_ctrl()
1300 bio_method_new (BIO * bio) in bio_method_new()
[all …]
/third_party/fsverity-utils/lib/
Dsign_digest.c55 BIO *bio; in read_private_key() local
84 BIO *bio; in read_certificate() local
237 BIO *bio; in new_mem_buf() local
279 BIO *bio = NULL; in sign_pkcs7() local
/third_party/node/test/addons/openssl-client-cert-engine/
Dtestengine.cc63 BIO* bio = BIO_new_mem_buf(cert.data(), cert.size()); in EngineLoadSSLClientCert() local
78 BIO* bio = BIO_new_mem_buf(key.data(), key.size()); in EngineLoadSSLClientCert() local

12345