mirror of
https://github.com/logos-blockchain/lssa-zkvm-testing.git
synced 2026-02-26 08:03:09 +00:00
precompiles
precompiles for ped_curve25519 and secp256k1.
This commit is contained in:
parent
403823ba03
commit
4dbb1a9840
@ -8,7 +8,7 @@ fn main() {
|
||||
|
||||
// TODO: do something with the input
|
||||
let g1 = bls12_381::G1Affine::generator();
|
||||
let g1_proj = bls12_381::G1Projective::from(g1);
|
||||
let g1_proj = bls12_381::G1Projective::from(g1);
|
||||
let g2 = g1_proj + g1;
|
||||
let g3 = g1 + g2;
|
||||
let g4 = g1 + g3;
|
||||
|
||||
@ -7,4 +7,5 @@ edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
risc0-zkvm = { version = "^2.1.0", default-features = false, features = ['std'] }
|
||||
curve25519-dalek = "4"
|
||||
curve25519-dalek = "4.1.2"
|
||||
|
||||
|
||||
@ -6,5 +6,8 @@ edition = "2021"
|
||||
[workspace]
|
||||
|
||||
[dependencies]
|
||||
risc0-zkvm = { version = "^2.1.0", default-features = false, features = ['std'] }
|
||||
k256 = "0.13.4"
|
||||
risc0-zkvm = { version = "^2.1.0", default-features = false, features = ['std', 'unstable'] }
|
||||
k256 = "0.13.3"
|
||||
|
||||
[patch.crates-io]
|
||||
k256 = { git = "https://github.com/risc0/RustCrypto-elliptic-curves", tag = "k256/v0.13.3-risczero.1" }
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user