summary refs log tree commit diff
path: root/crypto/src/math
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2022-06-24 01:48:07 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2022-06-24 01:48:07 +0700
commit1e1dec377abefaa7c6b83ea7a6e38bde9ca075b3 (patch)
tree5bc9f17d86a81a7d1a2dda153a99d3fc7e71de71 /crypto/src/math
parentRemvoe ThreadedSeedGenerator (diff)
downloadBouncyCastle.NET-ed25519-1e1dec377abefaa7c6b83ea7a6e38bde9ca075b3.tar.xz
Simplify attributes
Diffstat (limited to 'crypto/src/math')
-rw-r--r--crypto/src/math/ec/rfc7748/X25519Field.cs4
-rw-r--r--crypto/src/math/ec/rfc7748/X448Field.cs2
2 files changed, 3 insertions, 3 deletions
diff --git a/crypto/src/math/ec/rfc7748/X25519Field.cs b/crypto/src/math/ec/rfc7748/X25519Field.cs
index d0b835226..22486e453 100644
--- a/crypto/src/math/ec/rfc7748/X25519Field.cs
+++ b/crypto/src/math/ec/rfc7748/X25519Field.cs
@@ -149,7 +149,7 @@ namespace Org.BouncyCastle.Math.EC.Rfc7748
             }
         }
 
-        [CLSCompliantAttribute(false)]
+        [CLSCompliant(false)]
         public static void Decode(uint[] x, int xOff, int[] z)
         {
             Decode128(x, xOff, z, 0);
@@ -198,7 +198,7 @@ namespace Org.BouncyCastle.Math.EC.Rfc7748
             return n;
         }
 
-        [CLSCompliantAttribute(false)]
+        [CLSCompliant(false)]
         public static void Encode(int[] x, uint[] z, int zOff)
         {
             Encode128(x, 0, z, zOff);
diff --git a/crypto/src/math/ec/rfc7748/X448Field.cs b/crypto/src/math/ec/rfc7748/X448Field.cs
index 6d8c60e78..9e3693a3f 100644
--- a/crypto/src/math/ec/rfc7748/X448Field.cs
+++ b/crypto/src/math/ec/rfc7748/X448Field.cs
@@ -5,7 +5,7 @@ using Org.BouncyCastle.Math.Raw;
 
 namespace Org.BouncyCastle.Math.EC.Rfc7748
 {
-    [CLSCompliantAttribute(false)]
+    [CLSCompliant(false)]
     public abstract class X448Field
     {
         public const int Size = 16;