diff options
author | David Hook <dgh@cryptoworkshop.com> | 2022-09-30 11:26:41 +1000 |
---|---|---|
committer | David Hook <dgh@cryptoworkshop.com> | 2022-09-30 11:26:41 +1000 |
commit | be641924f52995b176c20aaacd24ab861b79f15f (patch) | |
tree | 5c948f819ae100ade5f618c5e009188aee9540e1 | |
parent | fixed cut and paste (diff) | |
download | BouncyCastle.NET-ed25519-be641924f52995b176c20aaacd24ab861b79f15f.tar.xz |
changed to array prop to internal
-rw-r--r-- | crypto/src/pqc/crypto/crystals/dilithium/DilithiumPublicKeyParameters.cs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/crypto/src/pqc/crypto/crystals/dilithium/DilithiumPublicKeyParameters.cs b/crypto/src/pqc/crypto/crystals/dilithium/DilithiumPublicKeyParameters.cs index 506b919b7..04ac7e423 100644 --- a/crypto/src/pqc/crypto/crystals/dilithium/DilithiumPublicKeyParameters.cs +++ b/crypto/src/pqc/crypto/crystals/dilithium/DilithiumPublicKeyParameters.cs @@ -26,9 +26,10 @@ namespace Org.BouncyCastle.Pqc.Crypto.Crystals.Dilithium { return Arrays.Concatenate(rho, t1); } - public byte[] Rho => Arrays.Clone(rho); - public byte[] T1 => Arrays.Clone(t1); + internal byte[] Rho => rho; + + internal byte[] T1 => t1; } -} \ No newline at end of file +} |