Home
last modified time | relevance | path

Searched refs:bio (Results 1 - 6 of 6) sorted by relevance

/commonlibrary/rust/ylong_http/ylong_http_client/src/util/c_openssl/
H A Dbio.rs24 use super::ffi::bio::{
50 let bio = check_ptr(BIO_new_mem_buf(
54 Ok(BioSlice(bio, PhantomData))
134 unsafe fn get_state<'a, S: 'a>(bio: *mut BIO) -> &'a mut StreamState<S> { in get_state()
135 &mut *(BIO_get_data(bio) as *mut _) in get_state()
138 pub(crate) unsafe fn get_error<S>(bio: *mut BIO) -> Option<io::Error> { in get_state()
139 let state = get_state::<S>(bio); in get_state()
143 pub(crate) unsafe fn get_panic<S>(bio: *mut BIO) -> Option<Box<dyn Any + Send>> {
144 let state = get_state::<S>(bio);
148 pub(crate) unsafe fn get_stream_ref<'a, S: 'a>(bio
[all...]
H A Dx509.rs20 use super::bio::BioSlice;
67 let bio = BioSlice::from_byte(pem)?;
69 PEM_read_bio_X509(bio.as_ptr(), ptr::null_mut(), None, ptr::null_mut())
86 let bio = BioSlice::from_byte(pem)?;
90 let r = PEM_read_bio_X509(bio.as_ptr(), ptr::null_mut(), None, ptr::null_mut());
H A Dmod.rs20 mod bio; modules
/commonlibrary/rust/ylong_http/ylong_http_client/src/util/c_openssl/ssl/
H A Dstream.rs24 use crate::c_openssl::bio::{self, get_error, get_panic, get_stream_mut, get_stream_ref};
29 use crate::util::c_openssl::bio::BioMethod;
81 let bio = self.ssl.get_raw_bio();
82 get_stream_ref(bio)
88 let bio = self.ssl.get_raw_bio();
89 get_stream_mut(bio)
147 let (bio, method) = bio::new(stream)?;
148 SSL_set_bio(ssl.as_ptr(), bio, bio);
[all...]
H A Dssl_base.rs29 use crate::c_openssl::ffi::bio::BIO;
/commonlibrary/rust/ylong_http/ylong_http_client/src/util/c_openssl/ffi/
H A Dmod.rs17 pub(crate) mod bio;

Completed in 2 milliseconds