pub struct Encrypt;Expand description
Marker type for encrypt direction.
Trait Implementations§
Source§impl IsEncrypt for Encrypt
impl IsEncrypt for Encrypt
Source§unsafe fn do_update(
ctx: *mut EVP_CIPHER_CTX,
input: &[u8],
output: &mut [u8],
) -> Result<usize, ErrorStack>
unsafe fn do_update( ctx: *mut EVP_CIPHER_CTX, input: &[u8], output: &mut [u8], ) -> Result<usize, ErrorStack>
Feed data into the cipher and write output. Read more
Source§unsafe fn do_finalize(
ctx: *mut EVP_CIPHER_CTX,
output: &mut [u8],
) -> Result<usize, ErrorStack>
unsafe fn do_finalize( ctx: *mut EVP_CIPHER_CTX, output: &mut [u8], ) -> Result<usize, ErrorStack>
Flush final block and write output. Read more
Auto Trait Implementations§
impl Freeze for Encrypt
impl RefUnwindSafe for Encrypt
impl Send for Encrypt
impl Sync for Encrypt
impl Unpin for Encrypt
impl UnsafeUnpin for Encrypt
impl UnwindSafe for Encrypt
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more