Commit Graph

22 Commits

Author SHA1 Message Date
Filippo Valsorda 6bb3979858 ristretto255: replace backend with filippo.io/edwards25519 2021-09-30 06:15:14 -04:00
Filippo Valsorda ee040a3529 ristretto255: align the API with filippo.io/edwards25519
Fixes #36
Fixes #40
2021-09-30 06:10:56 -04:00
George Tankersley 6cc147bf72
ristretto255: add Set() to Scalar and Element types (#37)
ristretto255: add Set() to Scalar and Element types

Co-authored-by: Filippo Valsorda <hi@filippo.io>
2021-02-09 09:43:38 -08:00
Filippo Valsorda afa2eb7708 ristretto255: add a test from the new version of the I-D 2020-08-08 17:46:48 -04:00
Sarah Jamie Lewis af147e8e15 Add Stringer & TextMarshaler interface 2019-10-11 12:43:22 -04:00
Filippo Valsorda 2b6c50d1bd ristretto255: minor cleanups 2019-05-16 15:08:48 -04:00
Henry de Valence 0b5e1eb054 ristretto255: use multi-model arithmetic 2019-05-08 14:54:33 -07:00
Filippo Valsorda 971fdbf516 ristretto255: add TestRistrettoFromUniformBytesTestVectors 2019-04-19 13:52:37 -07:00
Henry de Valence 928989ab04 Add bad encoding test vectors 2019-04-19 16:35:03 -04:00
Henry de Valence 4e51bef1ad Add test that the computed value encodes correctly 2019-04-19 13:24:50 -07:00
Filippo Valsorda 5140be0fdf Update ristretto255_test.go
Co-Authored-By: hdevalence <hdevalence@hdevalence.ca>
2019-04-19 13:24:50 -07:00
Filippo Valsorda ef9acd2bbd Update ristretto255_test.go
Co-Authored-By: hdevalence <hdevalence@hdevalence.ca>
2019-04-19 13:24:50 -07:00
Filippo Valsorda 72e5a6cd76 Update ristretto255_test.go
Co-Authored-By: hdevalence <hdevalence@hdevalence.ca>
2019-04-19 13:24:50 -07:00
Filippo Valsorda fe9b4d0a2a Update ristretto255_test.go
Co-Authored-By: hdevalence <hdevalence@hdevalence.ca>
2019-04-19 13:24:50 -07:00
Henry de Valence 68ecd88eb2 Update the small-multiples encoding to check additions. 2019-04-19 13:24:50 -07:00
Henry de Valence c722cc47ae Add encoding test vectors from the spec. 2019-04-19 13:24:50 -07:00
Filippo Valsorda 50d9eb21ae ristretto255: make Encode an append API 2019-04-19 13:14:32 -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 43dee3dc5c ristretto255: add basepoint test for Decode 2019-04-19 13:12:37 -04:00
George Tankersley e3f2dac2eb ristretto255: add test for feSqrtRatio 2019-04-19 13:12:37 -04:00
George Tankersley b6eb459f56 ristretto255: implement Encode and Decode 2019-04-19 13:12:37 -04:00