pub struct SignatureVerifyInMemoryKeysComponent<S: SignatureVerify<'static, HL, SL> + SetKeyBySlice<'static, KL> + 'static, const NUM_KEYS: usize, const KL: usize, const HL: usize, const SL: usize> { /* private fields */ }
Implementations§
Source§impl<S: SignatureVerify<'static, HL, SL> + SetKeyBySlice<'static, KL> + 'static, const NUM_KEYS: usize, const KL: usize, const HL: usize, const SL: usize> SignatureVerifyInMemoryKeysComponent<S, NUM_KEYS, KL, HL, SL>
impl<S: SignatureVerify<'static, HL, SL> + SetKeyBySlice<'static, KL> + 'static, const NUM_KEYS: usize, const KL: usize, const HL: usize, const SL: usize> SignatureVerifyInMemoryKeysComponent<S, NUM_KEYS, KL, HL, SL>
pub fn new( verifier: &'static S, keys: &'static mut [&'static mut [u8; KL]], ) -> Self
Trait Implementations§
Source§impl<S: SignatureVerify<'static, HL, SL> + SetKeyBySlice<'static, KL> + 'static, const NUM_KEYS: usize, const KL: usize, const HL: usize, const SL: usize> Component for SignatureVerifyInMemoryKeysComponent<S, NUM_KEYS, KL, HL, SL>
impl<S: SignatureVerify<'static, HL, SL> + SetKeyBySlice<'static, KL> + 'static, const NUM_KEYS: usize, const KL: usize, const HL: usize, const SL: usize> Component for SignatureVerifyInMemoryKeysComponent<S, NUM_KEYS, KL, HL, SL>
Source§type StaticInput = &'static mut MaybeUninit<SignatureVerifyInMemoryKeys<'static, S, NUM_KEYS, KL, HL, SL>>
type StaticInput = &'static mut MaybeUninit<SignatureVerifyInMemoryKeys<'static, S, NUM_KEYS, KL, HL, SL>>
An optional type to specify the chip or board specific static memory
that a component needs to setup the output object(s). This is the memory
that
crate::static_buf!()
would normally setup, but generic
components cannot setup static buffers for types which are
chip-dependent, so those buffers have to be passed in manually, and the
Component::StaticInput
type makes this possible.Source§type Output = &'static SignatureVerifyInMemoryKeys<'static, S, NUM_KEYS, KL, HL, SL>
type Output = &'static SignatureVerifyInMemoryKeys<'static, S, NUM_KEYS, KL, HL, SL>
The type (e.g., capsule, peripheral) that this implementation of
Component
produces via Component::finalize()
. This is typically
a static reference (&'static
).Source§fn finalize(self, s: Self::StaticInput) -> Self::Output
fn finalize(self, s: Self::StaticInput) -> Self::Output
Auto Trait Implementations§
impl<S, const NUM_KEYS: usize, const KL: usize, const HL: usize, const SL: usize> Freeze for SignatureVerifyInMemoryKeysComponent<S, NUM_KEYS, KL, HL, SL>
impl<S, const NUM_KEYS: usize, const KL: usize, const HL: usize, const SL: usize> RefUnwindSafe for SignatureVerifyInMemoryKeysComponent<S, NUM_KEYS, KL, HL, SL>where
S: RefUnwindSafe,
impl<S, const NUM_KEYS: usize, const KL: usize, const HL: usize, const SL: usize> Send for SignatureVerifyInMemoryKeysComponent<S, NUM_KEYS, KL, HL, SL>where
S: Sync,
impl<S, const NUM_KEYS: usize, const KL: usize, const HL: usize, const SL: usize> Sync for SignatureVerifyInMemoryKeysComponent<S, NUM_KEYS, KL, HL, SL>where
S: Sync,
impl<S, const NUM_KEYS: usize, const KL: usize, const HL: usize, const SL: usize> Unpin for SignatureVerifyInMemoryKeysComponent<S, NUM_KEYS, KL, HL, SL>
impl<S, const NUM_KEYS: usize, const KL: usize, const HL: usize, const SL: usize> !UnwindSafe for SignatureVerifyInMemoryKeysComponent<S, NUM_KEYS, KL, HL, SL>
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