[−][src]Struct sgx_ucrypto::SgxAesHandle
Methods
impl SgxAesHandle
[src]
pub fn new() -> Self
[src]
pub fn init(
&self,
key: &sgx_aes_gcm_128bit_key_t,
iv: &[u8],
aad: &[u8]
) -> SgxError
[src]
&self,
key: &sgx_aes_gcm_128bit_key_t,
iv: &[u8],
aad: &[u8]
) -> SgxError
pub fn update(&self, src: &[u8], dst: &mut [u8]) -> SgxError
[src]
pub fn get_mac(&self) -> SgxResult<sgx_aes_gcm_128bit_tag_t>
[src]
pub fn close(&self) -> SgxError
[src]
Trait Implementations
impl Default for SgxAesHandle
[src]
impl Drop for SgxAesHandle
[src]
Auto Trait Implementations
impl !RefUnwindSafe for SgxAesHandle
impl !Send for SgxAesHandle
impl !Sync for SgxAesHandle
impl Unpin for SgxAesHandle
impl UnwindSafe for SgxAesHandle
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,