summary refs log tree commit diff
path: root/crypto/src
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2015-12-28 15:32:02 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2015-12-28 15:32:02 +0700
commit0684c4783deae5cf4862e78302844058e5433bce (patch)
treed7296980260e2f15460840c5b355a1b890916b1c /crypto/src
parentOptimized Sqrt and Trace for custom binary curves (diff)
downloadBouncyCastle.NET-ed25519-0684c4783deae5cf4862e78302844058e5433bce.tar.xz
Clean up a few warnings
Diffstat (limited to '')
-rw-r--r--crypto/src/AssemblyInfo.cs3
-rw-r--r--crypto/src/crypto/engines/SerpentEngineBase.cs9
2 files changed, 5 insertions, 7 deletions
diff --git a/crypto/src/AssemblyInfo.cs b/crypto/src/AssemblyInfo.cs
index 05f1d8f63..6d6de3218 100644
--- a/crypto/src/AssemblyInfo.cs
+++ b/crypto/src/AssemblyInfo.cs
@@ -65,10 +65,7 @@ using System.Runtime.InteropServices;
 [assembly: AssemblyDelaySign(false)]
 #if STRONG_NAME
 [assembly: AssemblyKeyFile(@"../BouncyCastle.snk")]
-#else
-[assembly: AssemblyKeyFile("")]
 #endif
-[assembly: AssemblyKeyName("")]
 
 [assembly: CLSCompliant(true)]
 #if !PORTABLE
diff --git a/crypto/src/crypto/engines/SerpentEngineBase.cs b/crypto/src/crypto/engines/SerpentEngineBase.cs
index a5d91b3be..9de552233 100644
--- a/crypto/src/crypto/engines/SerpentEngineBase.cs
+++ b/crypto/src/crypto/engines/SerpentEngineBase.cs
@@ -101,12 +101,13 @@ namespace Org.BouncyCastle.Crypto.Engines
             return ( (int)((uint)x >> bits) | (x << (32 - bits)));
         }
 
-        /**
+        /*
          * The sboxes below are based on the work of Brian Gladman and
          * Sam Simpson, whose original notice appears below.
          * <p>
          * For further details see:
          *      http://fp.gladman.plus.com/cryptography_technology/serpent/
+         * </p>
          */
 
         /* Partially optimised Serpent S Box boolean functions derived  */
@@ -124,9 +125,9 @@ namespace Org.BouncyCastle.Crypto.Engines
         /* We hereby give permission for information in this file to be */
         /* used freely subject only to acknowledgement of its origin.    */
 
-        /**
-        * S0 - { 3, 8,15, 1,10, 6, 5,11,14,13, 4, 2, 7, 0, 9,12 } - 15 terms.
-        */
+        /*
+         * S0 - { 3, 8,15, 1,10, 6, 5,11,14,13, 4, 2, 7, 0, 9,12 } - 15 terms.
+         */
         protected void Sb0(int a, int b, int c, int d)
         {
             int t1 = a ^ d;