Struct sgx_crypto::sha::Sha384
source · pub struct Sha384 { /* private fields */ }Implementations§
source§impl Sha384
impl Sha384
pub fn new() -> SgxResult<Sha384>
pub fn update<T>(&mut self, data: &T) -> SgxResultwhere T: ContiguousMemory + ?Sized,
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>(data: &T) -> SgxResult<Sha384Hash>where T: ContiguousMemory + ?Sized,
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§
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