pub struct TinyCurve64;Expand description
An elliptic curve with a 64-bit order.
Trait Implementations§
Source§impl Clone for TinyCurve64
impl Clone for TinyCurve64
Source§fn clone(&self) -> TinyCurve64
fn clone(&self) -> TinyCurve64
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§impl Curve for TinyCurve64
impl Curve for TinyCurve64
Source§impl CurveArithmetic for TinyCurve64
impl CurveArithmetic for TinyCurve64
Source§type AffinePoint = AffinePoint<TinyCurve64>
type AffinePoint = AffinePoint<TinyCurve64>
Elliptic curve point in affine coordinates.
Source§type ProjectivePoint = ProjectivePoint<TinyCurve64>
type ProjectivePoint = ProjectivePoint<TinyCurve64>
Elliptic curve point in projective coordinates. Read more
Source§impl Debug for TinyCurve64
impl Debug for TinyCurve64
Source§impl Default for TinyCurve64
impl Default for TinyCurve64
Source§fn default() -> TinyCurve64
fn default() -> TinyCurve64
Returns the “default value” for a type. Read more
Source§impl DigestPrimitive for TinyCurve64
impl DigestPrimitive for TinyCurve64
Source§impl FieldBytesEncoding<TinyCurve64> for <TinyCurve64 as Curve>::Uint
impl FieldBytesEncoding<TinyCurve64> for <TinyCurve64 as Curve>::Uint
Source§fn decode_field_bytes(
field_bytes: &GenericArray<u8, <C as Curve>::FieldBytesSize>,
) -> Self
fn decode_field_bytes( field_bytes: &GenericArray<u8, <C as Curve>::FieldBytesSize>, ) -> Self
Decode unsigned integer from serialized field element. Read more
Source§fn encode_field_bytes(&self) -> GenericArray<u8, <C as Curve>::FieldBytesSize>
fn encode_field_bytes(&self) -> GenericArray<u8, <C as Curve>::FieldBytesSize>
Encode unsigned integer into serialized field element. Read more
Source§impl Ord for TinyCurve64
impl Ord for TinyCurve64
Source§fn cmp(&self, other: &TinyCurve64) -> Ordering
fn cmp(&self, other: &TinyCurve64) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TinyCurve64
impl PartialEq for TinyCurve64
Source§impl PartialOrd for TinyCurve64
impl PartialOrd for TinyCurve64
Source§impl PrimeCurveParams for TinyCurve64
impl PrimeCurveParams for TinyCurve64
Source§const EQUATION_A: Self::FieldElement = {transmute(0xfffffffffffffc7c): <curve64::TinyCurve64 as primeorder::PrimeCurveParams>::FieldElement}
const EQUATION_A: Self::FieldElement = {transmute(0xfffffffffffffc7c): <curve64::TinyCurve64 as primeorder::PrimeCurveParams>::FieldElement}
Coefficient
a in the curve equation.Source§const EQUATION_B: Self::FieldElement = {transmute(0x0000000000000006): <curve64::TinyCurve64 as primeorder::PrimeCurveParams>::FieldElement}
const EQUATION_B: Self::FieldElement = {transmute(0x0000000000000006): <curve64::TinyCurve64 as primeorder::PrimeCurveParams>::FieldElement}
Coefficient
b in the curve equation.Source§const GENERATOR: (Self::FieldElement, Self::FieldElement)
const GENERATOR: (Self::FieldElement, Self::FieldElement)
Generator point’s affine coordinates: (x, y).
Source§type FieldElement = FieldElement<u64, FIELD_MODULUS>
type FieldElement = FieldElement<u64, FIELD_MODULUS>
Base field element type.
Source§type PointArithmetic = EquationAIsMinusThree
type PointArithmetic = EquationAIsMinusThree
Point arithmetic implementation, might be optimized for this specific curve
impl Copy for TinyCurve64
impl Eq for TinyCurve64
impl PrimeCurve for TinyCurve64
impl StructuralPartialEq for TinyCurve64
Auto Trait Implementations§
impl Freeze for TinyCurve64
impl RefUnwindSafe for TinyCurve64
impl Send for TinyCurve64
impl Sync for TinyCurve64
impl Unpin for TinyCurve64
impl UnwindSafe for TinyCurve64
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