pub struct CcGhash { /* private fields */ }Expand description
CRYPTOCELL GHASH engine
Implementations§
Source§impl CcGhash
impl CcGhash
pub const unsafe fn from_ptr(ptr: *mut ()) -> Self
pub const fn as_ptr(&self) -> *mut ()
Sourcepub const fn ghash_subkey(self, n: usize) -> Reg<u32, W>
pub const fn ghash_subkey(self, n: usize) -> Reg<u32, W>
Description collection: GHASH subkey value to use. The initial GHASH_SUBKEY[0] register holds the least significant bits [31:0] of the subkey value.
Sourcepub const fn ghash_iv(self, n: usize) -> Reg<u32, RW>
pub const fn ghash_iv(self, n: usize) -> Reg<u32, RW>
Description collection: GHASH Initialization Vector (IV) to use. The initial GHASH_IV[0] register holds the least significant bits [31:0] of the IV.
Sourcepub const fn ghash_busy(self) -> Reg<GhashBusy, R>
pub const fn ghash_busy(self) -> Reg<GhashBusy, R>
Status register for GHASH engine activity.
Sourcepub const fn ghash_init(self) -> Reg<GhashInit, W>
pub const fn ghash_init(self) -> Reg<GhashInit, W>
Configure the GHASH engine for a new GHASH operation.
Trait Implementations§
impl Copy for CcGhash
impl Eq for CcGhash
impl Send for CcGhash
impl StructuralPartialEq for CcGhash
impl Sync for CcGhash
Auto Trait Implementations§
impl Freeze for CcGhash
impl RefUnwindSafe for CcGhash
impl Unpin for CcGhash
impl UnwindSafe for CcGhash
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