#[repr(C)]pub struct mbedtls_lmots_public_t {
pub private_params: mbedtls_lmots_parameters_t,
pub private_public_key: [c_uchar; 32],
pub private_have_public_key: c_uchar,
}Expand description
LMOTS public context structure.
A LMOTS public key is a hash output, and the applicable parameter set.
The context must be initialized before it is used. A public key must either be imported or generated from a private context.
\dot digraph lmots_public_t { UNINITIALIZED -> INIT [label=“init”]; HAVE_PUBLIC_KEY -> INIT [label=“free”]; INIT -> HAVE_PUBLIC_KEY [label=“import_public_key”]; INIT -> HAVE_PUBLIC_KEY [label=“calculate_public_key from private key”]; HAVE_PUBLIC_KEY -> HAVE_PUBLIC_KEY [label=“export_public_key”]; } \enddot
Fields§
§private_params: mbedtls_lmots_parameters_t§private_public_key: [c_uchar; 32]§private_have_public_key: c_uchar< Whether the context contains a public key. Boolean values only.
Trait Implementations§
Source§impl Clone for mbedtls_lmots_public_t
impl Clone for mbedtls_lmots_public_t
Source§fn clone(&self) -> mbedtls_lmots_public_t
fn clone(&self) -> mbedtls_lmots_public_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_public_t
Source§impl Debug for mbedtls_lmots_public_t
impl Debug for mbedtls_lmots_public_t
Auto Trait Implementations§
impl Freeze for mbedtls_lmots_public_t
impl RefUnwindSafe for mbedtls_lmots_public_t
impl Send for mbedtls_lmots_public_t
impl Sync for mbedtls_lmots_public_t
impl Unpin for mbedtls_lmots_public_t
impl UnsafeUnpin for mbedtls_lmots_public_t
impl UnwindSafe for mbedtls_lmots_public_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)