Add some #[ignore]s for the longer-running tests.
This commit is contained in:
@@ -142,6 +142,7 @@ mod tests {
|
||||
use super::*;
|
||||
|
||||
#[test]
|
||||
#[ignore]
|
||||
fn can_get_p_and_q() {
|
||||
let mut rng = OsRng::new().unwrap();
|
||||
let e = UCN::from(65537 as u64);
|
||||
|
||||
@@ -91,12 +91,14 @@ mod tests {
|
||||
}
|
||||
|
||||
quickcheck! {
|
||||
#[ignore]
|
||||
fn rsa_ep_dp_inversion(kp: RSAKeyPair, n: UCN) -> bool {
|
||||
let m = n.reduce(&kp.public.nu);
|
||||
let ciphertext = ep(&kp.public.nu, &kp.public.e, &m);
|
||||
let mprime = dp(&kp.private.nu, &kp.private.d, &ciphertext);
|
||||
mprime == m
|
||||
}
|
||||
#[ignore]
|
||||
fn rsa_sp_vp_inversion(kp: RSAKeyPair, n: UCN) -> bool {
|
||||
let m = n.reduce(&kp.public.nu);
|
||||
let sig = sp1(&kp.private.nu, &kp.private.d, &m);
|
||||
|
||||
Reference in New Issue
Block a user