zig/lib/std/crypto/pcurves/p256
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
..
field.zig crypto: add support for the NIST P-384 curve (#11735) 2022-05-31 17:29:38 +02:00
p256_64.zig std: break up some long lines 2022-01-28 16:23:47 -07:00
p256_scalar_64.zig std: break up some long lines 2022-01-28 16:23:47 -07:00
scalar.zig std/crypto/{25519,pcurves}: make the scalar field order public (#11955) 2022-06-29 07:44:43 +02:00