diff --git a/libraries/crypto/src/ec/point.rs b/libraries/crypto/src/ec/point.rs
index d9a6a76b484bdded22234649791e4b23e294346d..99b32ed665ef9fff79dfe92816c9228f1771ac55 100644
--- a/libraries/crypto/src/ec/point.rs
+++ b/libraries/crypto/src/ec/point.rs
@@ -912,6 +912,8 @@ pub mod test {
         }
     }
 
+    // Due to the 3 nested loops, this test is super slow with debug assertions enabled.
+    #[cfg(not(debug_assertions))]
     #[test]
     fn test_add_is_associative() {
         for x in &get_test_values_projective() {
diff --git a/libraries/crypto/src/ecdh.rs b/libraries/crypto/src/ecdh.rs
index 7a4b250dd0be4cd910db2f3c567896998d0f12c6..c735d11da5316c7996f799ed955245ad55fe52e1 100644
--- a/libraries/crypto/src/ecdh.rs
+++ b/libraries/crypto/src/ecdh.rs
@@ -103,7 +103,7 @@ mod test {
     #[cfg(not(debug_assertions))]
     const ITERATIONS: u32 = 10000;
     #[cfg(debug_assertions)]
-    const ITERATIONS: u32 = 1000;
+    const ITERATIONS: u32 = 500;
 
     /** Test that key generation creates valid keys **/
     #[test]
diff --git a/libraries/crypto/src/ecdsa.rs b/libraries/crypto/src/ecdsa.rs
index 2d393111b1265ba8f41824af2c74f574956217eb..9fe0580edb5e76b049dd3aeadd3a64c1bc558f8d 100644
--- a/libraries/crypto/src/ecdsa.rs
+++ b/libraries/crypto/src/ecdsa.rs
@@ -357,7 +357,7 @@ mod test {
     #[cfg(not(debug_assertions))]
     const ITERATIONS: u32 = 10000;
     #[cfg(debug_assertions)]
-    const ITERATIONS: u32 = 1000;
+    const ITERATIONS: u32 = 500;
 
     /** Test that key generation creates valid keys **/
     #[test]