aboutsummaryrefslogtreecommitdiff
path: root/guests/rsa/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'guests/rsa/src/lib.rs')
-rw-r--r--guests/rsa/src/lib.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/guests/rsa/src/lib.rs b/guests/rsa/src/lib.rs
index b2067cf..20b0cbd 100644
--- a/guests/rsa/src/lib.rs
+++ b/guests/rsa/src/lib.rs
@@ -10,7 +10,10 @@ use sha2::{Digest, Sha256};
#[cfg(feature = "sp1")]
use rsa_sp1::{pkcs8::DecodePublicKey, Pkcs1v15Sign, RsaPublicKey};
-#[cfg(not(feature = "sp1"))]
+#[cfg(feature = "risc0")]
+use rsa_risc0::{pkcs8::DecodePublicKey, Pkcs1v15Sign, RsaPublicKey};
+
+#[cfg(not(any(feature = "sp1", feature = "risc0")))]
use rsa::{pkcs8::DecodePublicKey, Pkcs1v15Sign, RsaPublicKey};
#[guests_macro::proving_entrypoint]