Frank Denis 41533fa6a1
std/crypto/{25519,pcurves}: make the scalar field order public (#11955)
For 25519, it's very likely that applications would ever need the
serialized representation. Expose the value as an integer as in
other curves. Rename the internal representation from `field_size`
to `field_order` for consistency.

Also fix a common typo in `scalar.sub()`.
2022-06-29 07:44:43 +02:00
..
2022-01-28 16:23:47 -07:00
2021-05-08 15:15:30 +03:00
2022-06-03 20:21:20 +03:00