From 1e1dec377abefaa7c6b83ea7a6e38bde9ca075b3 Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Fri, 24 Jun 2022 01:48:07 +0700 Subject: Simplify attributes --- crypto/src/math/ec/rfc7748/X25519Field.cs | 4 ++-- crypto/src/math/ec/rfc7748/X448Field.cs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'crypto/src/math') 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; -- cgit 1.4.1