Commit Graph

17 Commits

Author SHA1 Message Date
Filippo Valsorda 82132719a1 ristretto255: minor docs cleanup 2019-04-19 13:14:32 -07:00
Filippo Valsorda 1849461667 ristretto255: fix Encode 2019-04-19 13:14:32 -07:00
Filippo Valsorda 50d9eb21ae ristretto255: make Encode an append API 2019-04-19 13:14:32 -07:00
Filippo Valsorda 118379a17a ristretto255: check element minimality by comparing Bytes output 2019-04-19 13:14:32 -07:00
Filippo Valsorda c7fb661a85
ristretto255: add docs for Add, Sub, Neg 2019-04-19 15:47:14 -04:00
Henry de Valence cc27ee0ee3 implement Add, Sub, Neg for ed25519 and ristretto255 points. 2019-04-19 11:47:12 -07:00
George Tankersley 1a1e45849a ristretto255: add Encode test 2019-04-19 13:12:37 -04:00
George Tankersley b5155ea127 ristretto255: remove encoded basepoint from main ristretto file 2019-04-19 13:12:37 -04:00
George Tankersley b6eb459f56 ristretto255: implement Encode and Decode 2019-04-19 13:12:37 -04:00
Filippo Valsorda 88aa823cd0 internal/group: rename to internal/edwards25519 2019-04-19 12:40:08 -04:00
Filippo Valsorda 8fdc84d186 Merge https://github.com/gtank/ed25519
Drop elliptic.Curve code, update import paths, and adapt to the new
FromBytes API. The tests in ed25519_test.go will require rescuing from
the git history.
2019-03-30 22:22:42 -04:00
Filippo Valsorda b0a75c0ab7 Import gtank/ed25519#8 and refactor on top of it 2019-01-26 22:20:45 -05:00
Filippo Valsorda a3540ec35a Implement FromUniformBytes 2019-01-21 23:39:45 -05:00
Filippo Valsorda dcc5867ec2 Update gtank/ed25519 code to fe6e0954e0
Our Ristretto-agnostic field operations are now upstreamed, so we can
drop the internal package.
2019-01-21 18:13:23 -05:00
Filippo Valsorda 7522470fbc Replace x/crypto/ed25519 code with github.com/gtank/ed25519
Code pulled from commit 0a030f62c0 with
FeEqual and FeCSwap removed.
2019-01-21 17:43:47 -05:00
Filippo Valsorda 6140fa2e7b Refactor const.go 2019-01-20 17:36:31 -05:00
Filippo Valsorda 8264e09462 First ristretto255 function: EQUALS 2019-01-20 17:32:31 -05:00