summary refs log tree commit diff
diff options
context:
space:
mode:
authorDavid Hook <dgh@cryptoworkshop.com>2022-08-08 18:28:20 +1000
committerDavid Hook <dgh@cryptoworkshop.com>2022-08-08 18:28:20 +1000
commitee219bf097c62fd26ffd968227c9e6b0318bc310 (patch)
tree0f9b4b59231599c4fcb4e0381af3acb873fcac52
parentminor refactoring (diff)
downloadBouncyCastle.NET-ed25519-ee219bf097c62fd26ffd968227c9e6b0318bc310.tar.xz
minor refactoring
-rw-r--r--crypto/src/pqc/crypto/falcon/FalconParameters.cs14
1 files changed, 7 insertions, 7 deletions
diff --git a/crypto/src/pqc/crypto/falcon/FalconParameters.cs b/crypto/src/pqc/crypto/falcon/FalconParameters.cs
index 313d25709..c07591942 100644
--- a/crypto/src/pqc/crypto/falcon/FalconParameters.cs
+++ b/crypto/src/pqc/crypto/falcon/FalconParameters.cs
@@ -13,26 +13,26 @@ namespace Org.BouncyCastle.Pqc.Crypto.Falcon
         private uint logn;
         private uint nonce_length;
 
-        public FalconParameters(String name, uint logn, uint nonce_length)
+        private FalconParameters(String name, uint logn, uint nonce_length)
         {
             this.name = name;
             this.logn = logn;
             this.nonce_length = nonce_length;
         }
 
-        public uint GetLogN()
+        public uint LogN
         {
-            return logn;
+            get { return logn; }
         }
 
-        public uint GetNonceLength()
+        public uint NonceLength
         {
-            return nonce_length;
+            get { return nonce_length; }
         }
 
-        public String GetName()
+        public string Name
         {
-            return name;
+            get { return name; }
         }
     }
 }