Group operations over Edwards25519.
Functions
fn equivalent(p: Ristretto255, q: Ristretto255) bool
Return true if two Ristretto255 elements are equivalent
fn fromBytes(s: [encoded_length]u8) NonCanonicalError || EncodingError!Ristretto255
Decode a Ristretto255 representative.
inline fn mul(p: Ristretto255, s: [encoded_length]u8) IdentityElementError || WeakPublicKeyError!Ristretto255
Multiply a Ristretto255 element with a scalar. Return error.WeakPublicKey if th…
Multiply a Ristretto255 element with a scalar. Return error.WeakPublicKey if the resulting element is the identity element.
Values
basePoint | Ristretto255 | The base point (Ristretto is a curve in desguise). |
encoded_length | usize | Length in byte of an encoded element. |