pub enum Ciphersuite {
Secp256k1Tr,
Ed25519,
}Expand description
The FROST ciphersuite a share belongs to.
The discriminant is bound into the AEAD associated data when a share is
encrypted (see StoredShare), so it cannot be flipped or stripped to force
cross-ciphersuite confusion.
Variants§
Secp256k1Tr
FROST over secp256k1 with Taproot (BIP-340) — the Bitcoin/Nostr path.
Ed25519
FROST over Ed25519.
Trait Implementations§
Source§impl Clone for Ciphersuite
impl Clone for Ciphersuite
impl Copy for Ciphersuite
Source§impl Debug for Ciphersuite
impl Debug for Ciphersuite
Source§impl Default for Ciphersuite
impl Default for Ciphersuite
Source§impl<'de> Deserialize<'de> for Ciphersuite
impl<'de> Deserialize<'de> for Ciphersuite
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Ciphersuite
Source§impl PartialEq for Ciphersuite
impl PartialEq for Ciphersuite
Source§impl Serialize for Ciphersuite
impl Serialize for Ciphersuite
impl StructuralPartialEq for Ciphersuite
Auto Trait Implementations§
impl Forget for Ciphersuite
impl Freeze for Ciphersuite
impl Move for Ciphersuite
impl RefUnwindSafe for Ciphersuite
impl Send for Ciphersuite
impl Sync for Ciphersuite
impl Unpin for Ciphersuite
impl UnsafeUnpin for Ciphersuite
impl UnwindSafe for Ciphersuite
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