diff options
| author | Frank Denis <124872+jedisct1@users.noreply.github.com> | 2022-06-29 07:44:43 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-29 07:44:43 +0200 |
| commit | 41533fa6a1fa5e9e9b38a59403930501fd61a259 (patch) | |
| tree | e19551646b2e1ac917990a6842c298e3c49b765e /src/stage1/codegen.cpp | |
| parent | b2e4dda0018b83819c9539609eff7e420eca3202 (diff) | |
| download | zig-41533fa6a1fa5e9e9b38a59403930501fd61a259.tar.gz zig-41533fa6a1fa5e9e9b38a59403930501fd61a259.zip | |
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()`.
Diffstat (limited to 'src/stage1/codegen.cpp')
0 files changed, 0 insertions, 0 deletions
