Sarah Jamie Lewis
af147e8e15
Add Stringer & TextMarshaler interface
2019-10-11 12:43:22 -04:00
Filippo Valsorda
760f82e79e
ristretto255: add Scalar.Invert
2019-05-16 15:08:48 -04:00
Filippo Valsorda
bd32259391
ristretto255: spell out Subtract, Negate and Multiply
...
The abbreviations don't really feel worth it, and it makes it more
natural to abbreviate ScalarMult with a "t".
2019-05-16 15:08:48 -04:00
Filippo Valsorda
2f2f1c0111
ristretto255: add NewElement and NewScalar
2019-05-16 15:08:48 -04:00
Filippo Valsorda
013999a2d0
internal/scalar: address review comments
2019-05-16 15:08:48 -04:00
Filippo Valsorda
0e06c64ad7
ristretto255: expose scalar multiplication APIs
...
The names of the ScalarMults were picked to match elliptic.Curve.
The Scalar type is re-exposed as an opaque type, with an API that
matches the Element one.
2019-05-16 15:08:48 -04:00