Longfellow ZK 0290cb32
Loading...
Searching...
No Matches
proofs::EllipticCurve< Field_, W, kN > Class Template Reference
Collaboration diagram for proofs::EllipticCurve< Field_, W, kN >:

Data Structures

struct  ECPoint

Public Types

using Field = Field_
using Elt = typename Field::Elt
using N = Nat<W>

Public Member Functions

 EllipticCurve (const Elt &a, const Elt &b, const Elt &gX, const Elt &gY, const Field_ &F)
bool equal (const ECPoint &p, const ECPoint &q) const
bool is_on_curve (const ECPoint &p) const
ECPoint point (const Elt &x, const Elt &y) const
void normalize (ECPoint &p) const
void addE (ECPoint &p3, const ECPoint &p2) const
void doubleE (ECPoint &p3) const
ECPoint addEf (ECPoint p1, const ECPoint &p2) const
ECPoint doubleEf (ECPoint p1) const
ECPoint scalar_multf (const ECPoint &p, const N &scalar) const
ECPoint scalar_multf (size_t n, ECPoint p[], N scalar[]) const
ECPoint zero () const
ECPoint generator () const
bool is_on_curve (const Elt &X, const Elt &Y) const
void addE (Elt &X3o, Elt &Y3o, Elt &Z3o, const Elt &X1, const Elt &Y1, const Elt &Z1, const Elt &X2, const Elt &Y2, const Elt &Z2) const
void doubleE (Elt &X3o, Elt &Y3o, Elt &Z3o, const Elt &X, const Elt &Y, const Elt &Z) const

Data Fields

const Field & f_
Elt a_
Elt b_
Elt gx_
Elt gy_
Elt gz_
const Elt k2
const Elt k3
const Elt k8
const Elt k3b
const Elt k9b
const Elt k24b

Static Public Attributes

static constexpr const size_t kBits = kN

The documentation for this class was generated from the following file: