Skip to content

Crypto api, Rust-only #770

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 43 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
5474c84
k256 signature verification tests
maurolacy Feb 3, 2021
4481f67
Add extra Cosmos signature verification tests
maurolacy Feb 3, 2021
75a0517
Fix syntax
maurolacy Feb 4, 2021
0eafc3f
Use verify_digest along with manual/explicit hashing
maurolacy Feb 4, 2021
fd9be80
Update lock files
maurolacy Feb 4, 2021
75ccf22
Add dummy Sha256 / Sha224 Digest impls
maurolacy Feb 4, 2021
23f9aba
Add secp256k1_verify impl / tests
maurolacy Feb 5, 2021
f322525
Adapt Cosmos tests
maurolacy Feb 5, 2021
fb51ee1
Adapt extra Cosmos tests
maurolacy Feb 5, 2021
daa46f2
Add secp256k1_verify to Api
maurolacy Feb 5, 2021
67d37a8
Remove fn publication
maurolacy Feb 5, 2021
964fee1
Add VmError::CryptoErr
maurolacy Feb 5, 2021
368d4c4
Remove unneeded BlockInfo trait impl
maurolacy Feb 5, 2021
0ed4590
Use super for tests
maurolacy Feb 5, 2021
2eabfb2
Remove redundant imports
maurolacy Feb 6, 2021
c9b1292
Optimize required features
maurolacy Feb 6, 2021
ff51a53
Fix Reset impl
maurolacy Feb 6, 2021
a687295
Renamed dummy hashes for clarity
maurolacy Feb 6, 2021
c73466f
Remove unused dummy Sha224
maurolacy Feb 6, 2021
45905b5
Revert "Add secp256k1_verify to Api"
maurolacy Feb 6, 2021
eaf6baf
Better rand_core use
maurolacy Feb 7, 2021
5005980
Add secp256k1_verify to Api trait
maurolacy Feb 7, 2021
3511e05
Add verify_secp256k1 VM import
maurolacy Feb 7, 2021
b86dfdf
Add verify_secp256k1 native
maurolacy Feb 7, 2021
c2f7e7c
Fix unused import warning
maurolacy Feb 7, 2021
e52fdfc
Remove trailing semicolon
maurolacy Feb 7, 2021
d922b6f
Rename dummy Sha256 to Identity256 digest
maurolacy Feb 8, 2021
7f75524
Renamed for clarity
maurolacy Feb 8, 2021
e780b54
Namespace by algorithm
maurolacy Feb 8, 2021
be0d4a4
Remove double reference
maurolacy Feb 8, 2021
73e9c02
Fix wasm_imports check
maurolacy Feb 8, 2021
ab217d6
Remove unneeded Binary
maurolacy Feb 8, 2021
dca69c3
Use sign_digest() instead of sign() in tests
maurolacy Feb 8, 2021
8edfb19
Remove whole crate import
maurolacy Feb 8, 2021
7dbe81c
Make secp256k1_verify return wrapped boolean
maurolacy Feb 8, 2021
c802fef
Change secp256k1_verify signature to return wrapped boolean
maurolacy Feb 8, 2021
685911d
Better / more robust error handling
maurolacy Feb 8, 2021
0b675a2
Fix secp256k1_verify import names
maurolacy Feb 8, 2021
878339a
Replace panic for plain unreachable
maurolacy Feb 9, 2021
747f83e
Replace cast by into()
maurolacy Feb 9, 2021
2c8e279
Fix comments
maurolacy Feb 9, 2021
ffd9d59
Remove useless StdResult wrapper
maurolacy Feb 9, 2021
25eecd4
Fix: support uncompressed pubkeys
maurolacy Feb 9, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
160 changes: 160 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading