summary refs log tree commit diff
path: root/crypto/src/pqc
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2022-10-14 14:04:42 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2022-10-14 14:04:42 +0700
commitb862a9b32b989da5ae192d99dfc296ec352ad509 (patch)
tree95ec833e28b335a893a57d816d08ae83c0a2966e /crypto/src/pqc
parentUse BinaryPrimitives when available (diff)
downloadBouncyCastle.NET-ed25519-b862a9b32b989da5ae192d99dfc296ec352ad509.tar.xz
Fix constructor access
Diffstat (limited to 'crypto/src/pqc')
-rw-r--r--crypto/src/pqc/crypto/lms/LMOtsParameters.cs2
-rw-r--r--crypto/src/pqc/crypto/lms/LMSigParameters.cs2
2 files changed, 2 insertions, 2 deletions
diff --git a/crypto/src/pqc/crypto/lms/LMOtsParameters.cs b/crypto/src/pqc/crypto/lms/LMOtsParameters.cs
index f3107d31d..e05b1650a 100644
--- a/crypto/src/pqc/crypto/lms/LMOtsParameters.cs
+++ b/crypto/src/pqc/crypto/lms/LMOtsParameters.cs
@@ -32,7 +32,7 @@ namespace Org.BouncyCastle.Pqc.Crypto.Lms
         private readonly uint m_sigLen;
         private readonly DerObjectIdentifier m_digestOid;
 
-        protected LMOtsParameters(int id, int n, int w, int p, int ls, uint sigLen, DerObjectIdentifier digestOid)
+        internal LMOtsParameters(int id, int n, int w, int p, int ls, uint sigLen, DerObjectIdentifier digestOid)
         {
             m_id = id;
             m_n = n;
diff --git a/crypto/src/pqc/crypto/lms/LMSigParameters.cs b/crypto/src/pqc/crypto/lms/LMSigParameters.cs
index 79a9d2ad5..1f2a90b2b 100644
--- a/crypto/src/pqc/crypto/lms/LMSigParameters.cs
+++ b/crypto/src/pqc/crypto/lms/LMSigParameters.cs
@@ -29,7 +29,7 @@ namespace Org.BouncyCastle.Pqc.Crypto.Lms
         private readonly int m_h;
         private readonly DerObjectIdentifier m_digestOid;
 
-        protected LMSigParameters(int id, int m, int h, DerObjectIdentifier digestOid)
+        internal LMSigParameters(int id, int m, int h, DerObjectIdentifier digestOid)
         {
             m_id = id;
             m_m = m;