libdecaf
|
Go to the source code of this file.
Classes | |
struct | decaf::Ristretto |
Curve25519/Decaf instantiation of group. More... | |
class | decaf::Ristretto::Scalar |
A scalar modulo the curve order. More... | |
class | decaf::Ristretto::Point |
Element of prime-order elliptic curve group. More... | |
class | decaf::Ristretto::Precomputed |
Precomputed table of points. More... | |
struct | decaf::Ristretto::DhLadder |
X-only Diffie-Hellman ladder functions. More... | |
Namespaces | |
decaf | |
Namespace for all libdecaf C++ objects. | |
Macros | |
#define | _XOPEN_SOURCE 600 |
This code uses posix_memalign. More... | |
Typedefs | |
typedef Ristretto | decaf::IsoEd25519 |
Alternative name for Ristretto, for backwards compatibility. | |
A group of prime order, C++ wrapper.
The Decaf library implements cryptographic operations on a an elliptic curve group of prime order. It accomplishes this by using a twisted Edwards curve (isogenous to Curve25519) and wiping out the cofactor.
Most of the functions in this file run in constant time, can't fail except for ubiquitous reasons like memory exhaustion, and contain no data-dependend branches, timing or memory accesses. There are some exceptions, which should be noted. Typically, decoding functions can fail.
#define _XOPEN_SOURCE 600 |
This code uses posix_memalign.