summary refs log tree commit diff
diff options
context:
space:
mode:
-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; }
         }
     }
 }