0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00

std.crypto: expose Fe isOdd & add basic parity tests for each pcurve (#15734)

* std Secp256k1 Scalar: expose Fe isOdd & add basic parity test

* std.crypto: also add Scalar.isOdd convenience fn for p256 and p384 curves
This commit is contained in:
Chris Heyes 2023-05-21 12:00:48 +01:00 • committed by GitHub
commit df909da5d8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 33 additions and 0 deletions