summary refs log tree commit diff
path: root/crypto/src/pqc
diff options
context:
space:
mode:
authorDavid Hook <dgh@cryptoworkshop.com>2022-09-30 11:27:50 +1000
committerDavid Hook <dgh@cryptoworkshop.com>2022-09-30 11:27:50 +1000
commit50da5aca192c6db88c8cb77a99248710e9d444b5 (patch)
treebfa8177065d2565c5218606d10497f5705a02633 /crypto/src/pqc
parentchanged to array prop to internal (diff)
downloadBouncyCastle.NET-ed25519-50da5aca192c6db88c8cb77a99248710e9d444b5.tar.xz
fixed parameter name to h value
Diffstat (limited to 'crypto/src/pqc')
-rw-r--r--crypto/src/pqc/crypto/falcon/FalconPublicKeyParameters.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/src/pqc/crypto/falcon/FalconPublicKeyParameters.cs b/crypto/src/pqc/crypto/falcon/FalconPublicKeyParameters.cs
index 58eaa036e..72bb11948 100644
--- a/crypto/src/pqc/crypto/falcon/FalconPublicKeyParameters.cs
+++ b/crypto/src/pqc/crypto/falcon/FalconPublicKeyParameters.cs
@@ -7,10 +7,10 @@ namespace Org.BouncyCastle.Pqc.Crypto.Falcon
     {
         private byte[] publicKey;
 
-        public FalconPublicKeyParameters(FalconParameters parameters, byte[] pk_encoded)
+        public FalconPublicKeyParameters(FalconParameters parameters, byte[] h)
             : base(false, parameters)
         {
-            this.publicKey = Arrays.Clone(pk_encoded);
+            this.publicKey = Arrays.Clone(h);
         }
 
         public byte[] GetEncoded()