Skip to content

Commit

Permalink
Implement keccak-secp256k1 instruction
Browse files Browse the repository at this point in the history
  • Loading branch information
sakridge committed Aug 29, 2020
1 parent 5e017dc commit bfa9359
Show file tree
Hide file tree
Showing 8 changed files with 335 additions and 10 deletions.
115 changes: 106 additions & 9 deletions Cargo.lock

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

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ members = [
"net-shaper",
"notifier",
"poh-bench",
"programs/secp256k1",
"programs/bpf_loader",
"programs/budget",
"programs/config",
Expand Down
32 changes: 32 additions & 0 deletions programs/secp256k1/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
[package]
name = "solana-secp256k1"
description = "Blockchain, Rebuilt for Scale"
version = "1.4.0"
documentation = "https://docs.rs/solana"
homepage = "https://solana.com/"
readme = "README.md"
repository = "https://github.com/solana-labs/solana"
authors = ["Solana Maintainers <maintainers@solana.foundation>"]
license = "Apache-2.0"
edition = "2018"
publish = false

[dependencies]
bincode = "1.1.4"
solana-logger = { path = "../../logger", version = "1.4.0" }
solana-sdk = { path = "../../sdk", version = "1.4.0" }
libsecp256k1 = "0.3.5"
sha3 = "0.9.1"
digest = "0.9.0"
log = ""
rand = "0.7.0"

[dev-dependencies]
solana-runtime = { path = "../../runtime", version = "1.4.0" }

[lib]
crate-type = ["lib"]
name = "solana_secp256k1_program"

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
2 changes: 2 additions & 0 deletions programs/secp256k1/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
extern crate secp256k1;
mod secp256k1_instruction;
Loading

0 comments on commit bfa9359

Please sign in to comment.