Skip to content

Amxx/secp256r1

Repository files navigation

P256

Testing & Benchmarking

Unit testing (hardhat):

npx hardhat test test/P256.test.js

Fuzzing test (foundry):

forge test --match-path test/P256.t.sol

(takes ~40sec)

Benchmarking (foundry):

FOUNDRY_OPTIMIZER_RUNS=10000 forge test --match-path test/metrics.t.sol --gas-report

(note that the number of optimize runs greatly affect the result of some implementations)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published