# std.crypto: add support for the NIST P-256 curve \(\#8627\) · gitcafe/zig

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

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

Visibility: public

Requested revision: fe8781357afc0fa763f6a60eb8959acd05f4dfa3

Requested commit: fe8781357afc0fa763f6a60eb8959acd05f4dfa3

Commit: fe8781357afc0fa763f6a60eb8959acd05f4dfa3

Tree: 0347292a0a6372e063a09b3b511061b224d54365

Author: Frank Denis

Committer: GitHub

## Message

```
std.crypto: add support for the NIST P-256 curve (#8627)

Uses verified code generated by fiat-crypto for field arithmetic, and complete formulas to avoid side channels.

There's still plenty of room for optimizations, especially with a fixed base. But this gives us a framework to easily add other similar curves.
```

## Parents

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

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