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;
|