pub struct Decrypt;Expand description
Marker type for decrypt direction.
Trait Implementations§
Source§impl IsEncrypt for Decrypt
impl IsEncrypt for Decrypt
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 Decrypt
impl RefUnwindSafe for Decrypt
impl Send for Decrypt
impl Sync for Decrypt
impl Unpin for Decrypt
impl UnsafeUnpin for Decrypt
impl UnwindSafe for Decrypt
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