Struct sgx_crypto::aes::cbc::AesCbc
source · pub struct AesCbc { /* private fields */ }Implementations§
source§impl AesCbc
impl AesCbc
pub fn new(key: &Key128bit, iv: Nonce) -> AesCbc
pub fn encrypt(&mut self, src: &[u8], dst: &mut [u8]) -> SgxResult
pub fn encrypt_in_place(&mut self, in_out: &mut [u8]) -> SgxResult
pub fn decrypt(&mut self, src: &[u8], dst: &mut [u8]) -> SgxResult
pub fn decrypt_in_place(&mut self, in_out: &mut [u8]) -> SgxResult
Trait Implementations§
source§impl PartialEq for AesCbc
impl PartialEq for AesCbc
impl Copy for AesCbc
impl Eq for AesCbc
impl StructuralEq for AesCbc
impl StructuralPartialEq for AesCbc
Auto Trait Implementations§
impl RefUnwindSafe for AesCbc
impl Send for AesCbc
impl Sync for AesCbc
impl Unpin for AesCbc
impl UnwindSafe for AesCbc
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