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

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

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

Visibility: public

Requested revision: a14352b0b24b295e1857f306de5877680dd80d2b

Requested commit: a14352b0b24b295e1857f306de5877680dd80d2b

Commit: a14352b0b24b295e1857f306de5877680dd80d2b

Tree: 624889d344658be65ac0ec0b8cfb82818b11a8c1

Author: HydroH

Committer: GitHub

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

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

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