diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2022-07-05 16:01:23 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2022-07-05 16:01:23 +0700 |
commit | dee05948a56eb6edd6563089367255ee9676ecd2 (patch) | |
tree | 924a1f9964d0a1b4ff842074f4d4d976b66cd566 /crypto/src/math/ec/rfc7748/X448Field.cs | |
parent | Move m_resumedSession to SecurityParameters (diff) | |
download | BouncyCastle.NET-ed25519-dee05948a56eb6edd6563089367255ee9676ecd2.tar.xz |
Use static classes and 'using' aliases
Diffstat (limited to 'crypto/src/math/ec/rfc7748/X448Field.cs')
-rw-r--r-- | crypto/src/math/ec/rfc7748/X448Field.cs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/crypto/src/math/ec/rfc7748/X448Field.cs b/crypto/src/math/ec/rfc7748/X448Field.cs index 9e3693a3f..70273aea8 100644 --- a/crypto/src/math/ec/rfc7748/X448Field.cs +++ b/crypto/src/math/ec/rfc7748/X448Field.cs @@ -6,7 +6,7 @@ using Org.BouncyCastle.Math.Raw; namespace Org.BouncyCastle.Math.EC.Rfc7748 { [CLSCompliant(false)] - public abstract class X448Field + public static class X448Field { public const int Size = 16; @@ -16,8 +16,6 @@ namespace Org.BouncyCastle.Math.EC.Rfc7748 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFEU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU }; - protected X448Field() {} - public static void Add(uint[] x, uint[] y, uint[] z) { for (int i = 0; i < Size; ++i) |