Struct lakers_shared::State
source · #[repr(C)]pub struct State<Phase: EDHOCState> {
pub current_state: PhantomData<Phase>,
pub x_or_y: BytesP256ElemLen,
pub c_i: u8,
pub gy_or_gx: BytesP256ElemLen,
pub prk_3e2m: BytesHashLen,
pub prk_4e3m: BytesHashLen,
pub prk_out: BytesHashLen,
pub prk_exporter: BytesHashLen,
pub h_message_1: BytesHashLen,
pub th_3: BytesHashLen,
}Fields§
§current_state: PhantomData<Phase>§x_or_y: BytesP256ElemLen§c_i: u8§gy_or_gx: BytesP256ElemLen§prk_3e2m: BytesHashLen§prk_4e3m: BytesHashLen§prk_out: BytesHashLen§prk_exporter: BytesHashLen§h_message_1: BytesHashLen§th_3: BytesHashLenTrait Implementations§
Auto Trait Implementations§
impl<Phase> RefUnwindSafe for State<Phase>where
Phase: RefUnwindSafe,
impl<Phase> Send for State<Phase>where
Phase: Send,
impl<Phase> Sync for State<Phase>where
Phase: Sync,
impl<Phase> Unpin for State<Phase>where
Phase: Unpin,
impl<Phase> UnwindSafe for State<Phase>where
Phase: UnwindSafe,
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