Trait rust_pake::pake::EllipticCurve
source · pub trait EllipticCurve {
// Required methods
fn add(
&self,
x1: &BigInt,
y1: &BigInt,
x2: &BigInt,
y2: &BigInt
) -> (BigInt, BigInt);
fn scalar_base_mult(&self, k: &[u8]) -> (BigInt, BigInt);
fn scalar_mult(
&self,
bx: &BigInt,
by: &BigInt,
k: &[u8]
) -> (BigInt, BigInt);
fn is_on_curve(&self, x: &BigInt, y: &BigInt) -> bool;
}