diff options
author | David Hook <dgh@cryptoworkshop.com> | 2022-09-30 11:27:50 +1000 |
---|---|---|
committer | David Hook <dgh@cryptoworkshop.com> | 2022-09-30 11:27:50 +1000 |
commit | 50da5aca192c6db88c8cb77a99248710e9d444b5 (patch) | |
tree | bfa8177065d2565c5218606d10497f5705a02633 | |
parent | changed to array prop to internal (diff) | |
download | BouncyCastle.NET-ed25519-50da5aca192c6db88c8cb77a99248710e9d444b5.tar.xz |
fixed parameter name to h value
-rw-r--r-- | crypto/src/pqc/crypto/falcon/FalconPublicKeyParameters.cs | 4 |
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() |