Struct sgx_crypto::sha::Sha384
source · [−]pub struct Sha384 { /* private fields */ }
Implementations
sourceimpl Sha384
impl Sha384
pub fn new() -> SgxResult<Sha384>
pub fn update<T: ?Sized>(&mut self, data: &T) -> SgxResultwhere
T: ContiguousMemory,
pub fn finalize(self) -> SgxResult<Sha384Hash>
pub fn finalize_into(self, hash: &mut Sha384Hash) -> SgxResult
pub fn finalize_reset(&mut self) -> SgxResult<Sha384Hash>
pub fn finalize_into_reset(&mut self, hash: &mut Sha384Hash) -> SgxResult
pub fn digest<T: ?Sized>(data: &T) -> SgxResult<Sha384Hash>where
T: ContiguousMemory,
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Sha384
impl !Send for Sha384
impl !Sync for Sha384
impl Unpin for Sha384
impl UnwindSafe for Sha384
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more