Struct spake2::Ed25519Group [−][src]
pub struct Ed25519Group;
Trait Implementations
impl Debug for Ed25519Group
[src]
impl Debug for Ed25519Group
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for Ed25519Group
[src]
impl PartialEq for Ed25519Group
fn eq(&self, other: &Ed25519Group) -> bool
[src]
fn eq(&self, other: &Ed25519Group) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for Ed25519Group
[src]
impl Eq for Ed25519Group
impl Group for Ed25519Group
[src]
impl Group for Ed25519Group
type Scalar = c2_Scalar
type Element = c2_Element
type TranscriptHash = Sha256
fn const_m() -> c2_Element
[src]
fn const_m() -> c2_Element
fn const_n() -> c2_Element
[src]
fn const_n() -> c2_Element
fn const_s() -> c2_Element
[src]
fn const_s() -> c2_Element
fn hash_to_scalar(s: &[u8]) -> c2_Scalar
[src]
fn hash_to_scalar(s: &[u8]) -> c2_Scalar
fn random_scalar<T>(cspring: &mut T) -> c2_Scalar where
T: Rng + CryptoRng,
[src]
fn random_scalar<T>(cspring: &mut T) -> c2_Scalar where
T: Rng + CryptoRng,
fn scalar_neg(s: &c2_Scalar) -> c2_Scalar
[src]
fn scalar_neg(s: &c2_Scalar) -> c2_Scalar
fn element_to_bytes(s: &c2_Element) -> Vec<u8>
[src]
fn element_to_bytes(s: &c2_Element) -> Vec<u8>
fn element_length() -> usize
[src]
fn element_length() -> usize
fn bytes_to_element(b: &[u8]) -> Option<c2_Element>
[src]
fn bytes_to_element(b: &[u8]) -> Option<c2_Element>
fn basepoint_mult(s: &c2_Scalar) -> c2_Element
[src]
fn basepoint_mult(s: &c2_Scalar) -> c2_Element
fn scalarmult(e: &c2_Element, s: &c2_Scalar) -> c2_Element
[src]
fn scalarmult(e: &c2_Element, s: &c2_Scalar) -> c2_Element
fn add(a: &c2_Element, b: &c2_Element) -> c2_Element
[src]
fn add(a: &c2_Element, b: &c2_Element) -> c2_Element
Auto Trait Implementations
impl Send for Ed25519Group
impl Send for Ed25519Group
impl Sync for Ed25519Group
impl Sync for Ed25519Group