pub struct ExplicitCurve<'a> { /* private fields */ }Expand description
Written explicit curve components. No point, order or field math is done.
Implementations§
Source§impl<'a> ExplicitCurve<'a>
impl<'a> ExplicitCurve<'a>
Sourcepub const fn field_span(self) -> Span
pub const fn field_span(self) -> Span
Original complete BinaryField range, including reduction exponents.
Sourcepub const fn degree(self) -> IntegerField<'a>
pub const fn degree(self) -> IntegerField<'a>
Original degree INTEGER.
Sourcepub const fn degree_value(self) -> u32
pub const fn degree_value(self) -> u32
Structural field degree, not a supported-backend assertion.
Sourcepub const fn reduction(self) -> Reduction
pub const fn reduction(self) -> Reduction
Polynomial exponents or optimal-normal-basis omission.
Sourcepub const fn a(self) -> IntegerField<'a>
pub const fn a(self) -> IntegerField<'a>
Coefficient A, constrained to zero or one.
Sourcepub const fn b(self) -> Octets<'a>
pub const fn b(self) -> Octets<'a>
Coefficient B in the selected byte order, still unvalidated mathematically.
Sourcepub const fn order(self) -> IntegerField<'a>
pub const fn order(self) -> IntegerField<'a>
Positive subgroup-order candidate, not a primality assertion.
Sourcepub const fn base_point(self) -> Octets<'a>
pub const fn base_point(self) -> Octets<'a>
Compressed original base point; no decompression is attempted.
Trait Implementations§
Source§impl<'a> Clone for ExplicitCurve<'a>
impl<'a> Clone for ExplicitCurve<'a>
impl<'a> Copy for ExplicitCurve<'a>
Auto Trait Implementations§
impl<'a> Freeze for ExplicitCurve<'a>
impl<'a> RefUnwindSafe for ExplicitCurve<'a>
impl<'a> Send for ExplicitCurve<'a>
impl<'a> Sync for ExplicitCurve<'a>
impl<'a> Unpin for ExplicitCurve<'a>
impl<'a> UnsafeUnpin for ExplicitCurve<'a>
impl<'a> UnwindSafe for ExplicitCurve<'a>
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