pub struct EllipticCurve {
pub p: BigInt,
pub a: BigInt,
pub b: BigInt,
pub g: EllipticPoint,
pub n: BigInt,
pub size: usize,
pub pack_size: usize,
}
Fields§
§p: BigInt
§a: BigInt
§b: BigInt
§g: EllipticPoint
§n: BigInt
§size: usize
§pack_size: usize
Implementations§
Source§impl EllipticCurve
impl EllipticCurve
pub fn check_on(&self, point: &EllipticPoint) -> bool
Trait Implementations§
Source§impl Clone for EllipticCurve
impl Clone for EllipticCurve
Source§fn clone(&self) -> EllipticCurve
fn clone(&self) -> EllipticCurve
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for EllipticCurve
impl RefUnwindSafe for EllipticCurve
impl Send for EllipticCurve
impl Sync for EllipticCurve
impl Unpin for EllipticCurve
impl UnwindSafe for EllipticCurve
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