#[repr(C)]pub struct mbedtls_lmots_parameters_t {
pub private_I_key_identifier: [c_uchar; 16],
pub private_q_leaf_identifier: [c_uchar; 4],
pub private_type: mbedtls_lmots_algorithm_type_t,
}Expand description
LMOTS parameters structure.
This contains the metadata associated with an LMOTS key, detailing the algorithm type, the key ID, and the leaf identifier should be key be part of a LMS key.
Fields§
§private_I_key_identifier: [c_uchar; 16]< The key identifier.
private_q_leaf_identifier: [c_uchar; 4]< Which leaf of the LMS key this is. 0 if the key is not part of an LMS key.
private_type: mbedtls_lmots_algorithm_type_t< The LM-OTS key type identifier as per IANA. Only SHA256_N32_W8 is currently supported.
Trait Implementations§
Source§impl Clone for mbedtls_lmots_parameters_t
impl Clone for mbedtls_lmots_parameters_t
Source§fn clone(&self) -> mbedtls_lmots_parameters_t
fn clone(&self) -> mbedtls_lmots_parameters_t
Returns a duplicate of the value. Read more
1.0.0 (const: unstable)§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for mbedtls_lmots_parameters_t
Source§impl Debug for mbedtls_lmots_parameters_t
impl Debug for mbedtls_lmots_parameters_t
Auto Trait Implementations§
impl Freeze for mbedtls_lmots_parameters_t
impl RefUnwindSafe for mbedtls_lmots_parameters_t
impl Send for mbedtls_lmots_parameters_t
impl Sync for mbedtls_lmots_parameters_t
impl Unpin for mbedtls_lmots_parameters_t
impl UnsafeUnpin for mbedtls_lmots_parameters_t
impl UnwindSafe for mbedtls_lmots_parameters_t
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)