summary refs log tree commit diff
path: root/crypto
diff options
context:
space:
mode:
Diffstat (limited to 'crypto')
-rw-r--r--crypto/src/crypto/engines/AsconEngine.cs2
-rw-r--r--crypto/src/crypto/engines/SparkleEngine.cs2
2 files changed, 4 insertions, 0 deletions
diff --git a/crypto/src/crypto/engines/AsconEngine.cs b/crypto/src/crypto/engines/AsconEngine.cs
index fc38764d1..8fd49b03e 100644
--- a/crypto/src/crypto/engines/AsconEngine.cs
+++ b/crypto/src/crypto/engines/AsconEngine.cs
@@ -676,6 +676,8 @@ namespace Org.BouncyCastle.Crypto.Engines
                 P(nr);
                 break;
             }
+            default:
+                break;
             }
 
             // domain separation
diff --git a/crypto/src/crypto/engines/SparkleEngine.cs b/crypto/src/crypto/engines/SparkleEngine.cs
index 34c9bf015..4c558b70f 100644
--- a/crypto/src/crypto/engines/SparkleEngine.cs
+++ b/crypto/src/crypto/engines/SparkleEngine.cs
@@ -725,6 +725,8 @@ namespace Org.BouncyCastle.Crypto.Engines
                 ProcessFinalAad();
                 break;
             }
+            default:
+                break;
             }
 
             m_bufPos = 0;