Module curve25519_dalek::field [] [src]

Field arithmetic for ℤ/(2²⁵⁵-19).

Partially based on Adam Langley's curve25519-donna and (Golang) ed25519 implementations, with other techniques inspired by Mike Hamburg's code.

This module re-exports either the 32-bit or 64-bit implementation, and implements functions that are generic with respect to the basic operations, such as inverses and square roots.

Structs

FieldElement32

A FieldElement32 represents an element of the field GF(2255 - 19).

Type Definitions

FieldElement

A FieldElement represents an element of the field GF(2255 - 19).