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/rfc8032/Ed448.cs | |
parent | Move m_resumedSession to SecurityParameters (diff) | |
download | BouncyCastle.NET-ed25519-dee05948a56eb6edd6563089367255ee9676ecd2.tar.xz |
Use static classes and 'using' aliases
Diffstat (limited to '')
-rw-r--r-- | crypto/src/math/ec/rfc8032/Ed448.cs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/crypto/src/math/ec/rfc8032/Ed448.cs b/crypto/src/math/ec/rfc8032/Ed448.cs index 39c0bc0ee..55ec5f03b 100644 --- a/crypto/src/math/ec/rfc8032/Ed448.cs +++ b/crypto/src/math/ec/rfc8032/Ed448.cs @@ -3,13 +3,14 @@ using System.Diagnostics; using Org.BouncyCastle.Crypto; using Org.BouncyCastle.Crypto.Digests; -using Org.BouncyCastle.Math.EC.Rfc7748; using Org.BouncyCastle.Math.Raw; using Org.BouncyCastle.Security; using Org.BouncyCastle.Utilities; namespace Org.BouncyCastle.Math.EC.Rfc8032 { + using F = Rfc7748.X448Field; + /// <summary> /// A low-level implementation of the Ed448 and Ed448ph instantiations of the Edwards-Curve Digital Signature /// Algorithm specified in <a href="https://www.rfc-editor.org/rfc/rfc8032">RFC 8032</a>. @@ -30,8 +31,6 @@ namespace Org.BouncyCastle.Math.EC.Rfc8032 Ed448ph = 1, } - private class F : X448Field {}; - private const ulong M26UL = 0x03FFFFFFUL; private const ulong M28UL = 0x0FFFFFFFUL; |