pub struct Falcon1024;Expand description
Falcon-1024 signature scheme
Trait Implementations§
Source§impl Signature for Falcon1024
impl Signature for Falcon1024
Source§type PublicKey = FalconPublicKey
type PublicKey = FalconPublicKey
Public key type for this algorithm
Source§type SecretKey = FalconSecretKey
type SecretKey = FalconSecretKey
Secret key type - must be zeroizable but not byte-accessible Read more
Source§type SignatureData = FalconSignature
type SignatureData = FalconSignature
Signature data type
Source§type KeyPair = (<Falcon1024 as Signature>::PublicKey, <Falcon1024 as Signature>::SecretKey)
type KeyPair = (<Falcon1024 as Signature>::PublicKey, <Falcon1024 as Signature>::SecretKey)
Key pair type (typically a tuple of public and secret keys)
Source§fn keypair<R: CryptoRng + RngCore>(_rng: &mut R) -> Result<Self::KeyPair>
fn keypair<R: CryptoRng + RngCore>(_rng: &mut R) -> Result<Self::KeyPair>
Generate a new key pair using the provided RNG Read more
Source§fn public_key(keypair: &Self::KeyPair) -> Self::PublicKey
fn public_key(keypair: &Self::KeyPair) -> Self::PublicKey
Extract the public key from a key pair
Source§fn secret_key(keypair: &Self::KeyPair) -> Self::SecretKey
fn secret_key(keypair: &Self::KeyPair) -> Self::SecretKey
Extract the secret key from a key pair
Auto Trait Implementations§
impl Freeze for Falcon1024
impl RefUnwindSafe for Falcon1024
impl Send for Falcon1024
impl Sync for Falcon1024
impl Unpin for Falcon1024
impl UnwindSafe for Falcon1024
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