Struct sgx_crypto::sm2::Sm2ShareKey
source · pub struct Sm2ShareKey(/* private fields */);Implementations§
pub fn derive_key(&self, label: &[u8]) -> SgxResult<AlignKey128bit>
pub fn clear(&mut self)
Trait Implementations§
source§fn clone(&self) -> Sm2ShareKey
fn clone(&self) -> Sm2ShareKey
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§fn default() -> Sm2ShareKey
fn default() -> Sm2ShareKey
Returns the “default value” for a type. Read more
source§fn from(key: &AlignEc256SharedKey) -> Sm2ShareKey
fn from(key: &AlignEc256SharedKey) -> Sm2ShareKey
Converts to this type from the input type.
source§fn from(key: &Ec256SharedKey) -> Sm2ShareKey
fn from(key: &Ec256SharedKey) -> Sm2ShareKey
Converts to this type from the input type.
source§fn from(key: &Sm2ShareKey) -> AlignEc256SharedKey
fn from(key: &Sm2ShareKey) -> AlignEc256SharedKey
Converts to this type from the input type.
source§fn from(key: &Sm2ShareKey) -> Ec256SharedKey
fn from(key: &Sm2ShareKey) -> Ec256SharedKey
Converts to this type from the input type.
source§fn from(key: AlignEc256SharedKey) -> Sm2ShareKey
fn from(key: AlignEc256SharedKey) -> Sm2ShareKey
Converts to this type from the input type.
source§fn from(key: Ec256SharedKey) -> Sm2ShareKey
fn from(key: Ec256SharedKey) -> Sm2ShareKey
Converts to this type from the input type.
source§fn from(key: Sm2ShareKey) -> AlignEc256SharedKey
fn from(key: Sm2ShareKey) -> AlignEc256SharedKey
Converts to this type from the input type.
source§fn from(key: Sm2ShareKey) -> Ec256SharedKey
fn from(key: Sm2ShareKey) -> Ec256SharedKey
Converts to this type from the input type.
source§fn eq(&self, other: &Sm2ShareKey) -> bool
fn eq(&self, other: &Sm2ShareKey) -> bool
This method tests for
self and other values to be equal, and is used
by ==.Auto Trait Implementations§
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