From 797faa9d44c576473ecf6015fe51d77a3f1b8d1e Mon Sep 17 00:00:00 2001 From: Kamen Mladenov Date: Wed, 16 Apr 2025 13:09:20 +0300 Subject: feat(guests): Add rsa benchmark --- guests/rsa/Cargo.toml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 guests/rsa/Cargo.toml (limited to 'guests/rsa/Cargo.toml') diff --git a/guests/rsa/Cargo.toml b/guests/rsa/Cargo.toml new file mode 100644 index 0000000..9643b60 --- /dev/null +++ b/guests/rsa/Cargo.toml @@ -0,0 +1,24 @@ +[package] +name = "rsa" +version = "0.1.0" +edition = "2021" + +[dependencies] +guests_macro = { version = "0.1.0", path = "../../guests_macro" } +rsa = "0.9.6" +sha2 = { version = "0.10.8", package = "sha2", features = ["oid"] } + +base64ct = "=1.6.0" +js-sys = "=0.3.72" +getrandom = { version = "0.2", features = ["js"] } + +rsa-sp1 = { git = "https://github.com/sp1-patches/RustCrypto-RSA", package = "rsa", tag = "patch-0.9.6-sp1-4.0.0-v2", optional = true } + +[features] +no_std = [] +jolt = [] +nexus = [] +risc0 = [] +sp1 = ["rsa-sp1"] +zkm = [] +zkwasm = [] -- cgit v1.2.3