-
Notifications
You must be signed in to change notification settings - Fork 324
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2121 from CosmWasm/chipshort/ecdsa-tests
Additional ecdsa tests prototype
- Loading branch information
Showing
14 changed files
with
19,149 additions
and
137 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Rootberg test data | ||
|
||
This folder contains test vectors from | ||
[Project Rootberg](https://github.com/bleichenbacher-daniel/Rooterberg) to | ||
increase the test coverage of public key recovery implementations. | ||
|
||
This test data is used by integration tests in `test/rootberg_*.rs`. | ||
|
||
## Update | ||
|
||
To ensure integrity of the files and update them to the latest version, run this | ||
from the repo root: | ||
|
||
```sh | ||
(cd packages/crypto/testdata/rootberg \ | ||
&& curl -sSL https://github.com/bleichenbacher-daniel/Rooterberg/raw/main/ecdsa/ecdsa_secp256k1_keccak256_raw.json > ecdsa_secp256k1_keccak256_raw.json \ | ||
&& curl -sSL https://github.com/bleichenbacher-daniel/Rooterberg/raw/main/ecdsa/ecdsa_secp256k1_sha_256_raw.json > ecdsa_secp256k1_sha_256_raw.json \ | ||
&& curl -sSL https://github.com/bleichenbacher-daniel/Rooterberg/raw/main/ecdsa/ecdsa_secp256r1_keccak256_raw.json > ecdsa_secp256r1_keccak256_raw.json \ | ||
&& curl -sSL https://github.com/bleichenbacher-daniel/Rooterberg/raw/main/ecdsa/ecdsa_secp256r1_sha_256_raw.json > ecdsa_secp256r1_sha_256_raw.json \ | ||
) | ||
``` |
Oops, something went wrong.