summary refs log tree commit diff
path: root/crypto
diff options
context:
space:
mode:
authorDavid Hook <dgh@cryptoworkshop.com>2022-09-30 11:26:41 +1000
committerDavid Hook <dgh@cryptoworkshop.com>2022-09-30 11:26:41 +1000
commitbe641924f52995b176c20aaacd24ab861b79f15f (patch)
tree5c948f819ae100ade5f618c5e009188aee9540e1 /crypto
parentfixed cut and paste (diff)
downloadBouncyCastle.NET-ed25519-be641924f52995b176c20aaacd24ab861b79f15f.tar.xz
changed to array prop to internal
Diffstat (limited to 'crypto')
-rw-r--r--crypto/src/pqc/crypto/crystals/dilithium/DilithiumPublicKeyParameters.cs7
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
+}