> For the complete documentation index, see [llms.txt](https://thias-organization.gitbook.io/p256-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://thias-organization.gitbook.io/p256-documentation/risc-zero-p256-accelerator.md).

# RISC Zero p256 Accelerator

The optimised version can be found [here](https://github.com/automata-network/RustCrypto-elliptic-curves/pull/1). By measuring the [cycle counts provided by RISC Zero](https://dev.risczero.com/api/zkvm/optimization#measuring-by-printing-to-console), we find that the optimised version reduces the cycle length from 13 million to about 2 million. This is about a 7 times speedup which is similar to what we observed in the k256 curve.

In the following sections, we will explore the [original implementation of ECDSA for the p256 curve](https://github.com/RustCrypto/elliptic-curves/tree/master/p256) and how we attempt to modify it such that it resembles that of what RISC Zero has done.
