summary refs log tree commit diff
path: root/crypto/src/pqc
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/pqc')
-rw-r--r--crypto/src/pqc/crypto/falcon/FalconPrivateKeyParameters.cs2
-rw-r--r--crypto/src/pqc/crypto/falcon/FalconPublicKeyParameters.cs2
2 files changed, 0 insertions, 4 deletions
diff --git a/crypto/src/pqc/crypto/falcon/FalconPrivateKeyParameters.cs b/crypto/src/pqc/crypto/falcon/FalconPrivateKeyParameters.cs
index 448ba7275..d30aafcf4 100644
--- a/crypto/src/pqc/crypto/falcon/FalconPrivateKeyParameters.cs
+++ b/crypto/src/pqc/crypto/falcon/FalconPrivateKeyParameters.cs
@@ -8,8 +8,6 @@ namespace Org.BouncyCastle.Pqc.Crypto.Falcon
     {
         private byte[] privateKey;
 
-        public byte[] PrivateKey => Arrays.Clone(privateKey);
-
         public FalconPrivateKeyParameters(FalconParameters parameters, byte[] sk_encoded)
             : base(true, parameters)
         {
diff --git a/crypto/src/pqc/crypto/falcon/FalconPublicKeyParameters.cs b/crypto/src/pqc/crypto/falcon/FalconPublicKeyParameters.cs
index dace2e60f..58eaa036e 100644
--- a/crypto/src/pqc/crypto/falcon/FalconPublicKeyParameters.cs
+++ b/crypto/src/pqc/crypto/falcon/FalconPublicKeyParameters.cs
@@ -7,8 +7,6 @@ namespace Org.BouncyCastle.Pqc.Crypto.Falcon
     {
         private byte[] publicKey;
 
-        public byte[] PublicKey => Arrays.Clone(publicKey);
-
         public FalconPublicKeyParameters(FalconParameters parameters, byte[] pk_encoded)
             : base(false, parameters)
         {