# std: fix compile errors in \`std.crypto.ecc\` \(\#23797\) · gitcafe/zig

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

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

Visibility: public

Requested revision: b21fa8e2cd98d487d50755416c7ab90ebd6e620e

Requested commit: b21fa8e2cd98d487d50755416c7ab90ebd6e620e

Commit: b21fa8e2cd98d487d50755416c7ab90ebd6e620e

Tree: cacf22997d5aa2cd75c07d2d026abe2c7ba70a2e

Author: HydroH

Committer: Alex Rønne Petersen

## Message

```
std: fix compile errors in `std.crypto.ecc` (#23797)

Implemented `neg()` method for `AffineCoordinates` struct of p256,
p384 and secp256k1 curves.

Resolves: #20505 (partially)
```

## Parents

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

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