# std.crypto: expose Fe isOdd & add basic parity tests for each pcurve \(\#15734\) · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/df909da5d87fda01245c564858522c6c57dd8a75)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: df909da5d87fda01245c564858522c6c57dd8a75

Requested commit: df909da5d87fda01245c564858522c6c57dd8a75

Commit: df909da5d87fda01245c564858522c6c57dd8a75

Tree: a5e1c579a29af55a4c346cb3c9f4d9fc09e4c990

Author: Chris Heyes

Committer: GitHub

## Message

```
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
```

## Parents

- [b7cb88384c39a15e3ce9dbeaa5a191786d186d60](https://git.cafe/gitcafe/zig/commit/b7cb88384c39a15e3ce9dbeaa5a191786d186d60?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/df909da5d87fda01245c564858522c6c57dd8a75?format=markdown)
