summary refs log tree commit diff
path: root/crypto/src/pqc/crypto/falcon/FalconSigner.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/pqc/crypto/falcon/FalconSigner.cs')
-rw-r--r--crypto/src/pqc/crypto/falcon/FalconSigner.cs12
1 files changed, 6 insertions, 6 deletions
diff --git a/crypto/src/pqc/crypto/falcon/FalconSigner.cs b/crypto/src/pqc/crypto/falcon/FalconSigner.cs
index 8af2f4c93..4c2362503 100644
--- a/crypto/src/pqc/crypto/falcon/FalconSigner.cs
+++ b/crypto/src/pqc/crypto/falcon/FalconSigner.cs
@@ -23,8 +23,8 @@ namespace Org.BouncyCastle.Pqc.Crypto.Falcon
                     encodedkey = skparam.GetEncoded();
                     nist = new FalconNIST(
                         ((ParametersWithRandom)param).Random, 
-                        skparam.GetParameters().GetLogN(),
-                        skparam.GetParameters().GetNonceLength());
+                        skparam.Parameters.LogN,
+                        skparam.Parameters.NonceLength);
                 }
                 else
                 {
@@ -33,8 +33,8 @@ namespace Org.BouncyCastle.Pqc.Crypto.Falcon
                     nist = new FalconNIST(
                         new SecureRandom(),
                         // CryptoServicesRegistrar.GetSecureRandom(),
-                        skparam.GetParameters().GetLogN(),
-                        skparam.GetParameters().GetNonceLength()
+                        skparam.Parameters.LogN,
+                        skparam.Parameters.NonceLength
                         ); 
                         // TODO when CryptoServicesRegistrar has been implemented, use that instead
 
@@ -47,8 +47,8 @@ namespace Org.BouncyCastle.Pqc.Crypto.Falcon
                 nist = new FalconNIST(
                     new SecureRandom(),
                     // CryptoServicesRegistrar.GetSecureRandom()
-                    pkparam.GetParameters().GetLogN(),
-                    pkparam.GetParameters().GetNonceLength());
+                    pkparam.Parameters.LogN,
+                    pkparam.Parameters.NonceLength);
             }
         }