1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/vlib/crypto/ed25519/internal/edwards25519
2023-07-20 02:33:07 +03:00
..
edwards25519.v
element_test.v math.big: rework function naming and documentation (#18890) 2023-07-20 02:33:07 +03:00
element.v all: change optional to result in most of the libraries (#16123) 2022-10-20 22:14:33 +03:00
extra_test.v all: change optional to result in most of the libraries (#16123) 2022-10-20 22:14:33 +03:00
extra.v crypto, math: change option to result (#17580) 2023-03-10 10:31:05 +02:00
point_test.v all: change optional to result in most of the libraries (#16123) 2022-10-20 22:14:33 +03:00
point.v all: change optional to result in most of the libraries (#16123) 2022-10-20 22:14:33 +03:00
README.md docs: fix typos using codespell (#17332) 2023-02-16 11:43:39 +02:00
scalar_alias_test.v all: change optional to result in most of the libraries (#16123) 2022-10-20 22:14:33 +03:00
scalar_test.v math.big: rework function naming and documentation (#18890) 2023-07-20 02:33:07 +03:00
scalar.v all: change optional to result in most of the libraries (#16123) 2022-10-20 22:14:33 +03:00
scalarmult_test.v all: change optional to result in most of the libraries (#16123) 2022-10-20 22:14:33 +03:00
scalarmult.v
table_test.v
table.v

README

This module provides arithmetic primitives operations that are useful to implement cryptographic schemes over curve edwards25519, includes:

  1. Arithmetic functions for point addition, doubling, negation, scalar multiplication with an arbitrary point, with the base point, etc.
  2. Arithmetic functions dealing with scalars modulo the prime order L of the base point.

This modules was port of Golang edwards25519 library from edwards25519 to the V language.

About Edwards25519

Twisted Edwards curves are a family of elliptic curves allowing complete addition formulas without any special case and no point at infinity. Curve edwards25519 is based on prime 2^255 - 19 for efficient implementation. Equation and parameters are given in RFC 7748.