diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2022-10-14 14:04:42 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2022-10-14 14:04:42 +0700 |
commit | b862a9b32b989da5ae192d99dfc296ec352ad509 (patch) | |
tree | 95ec833e28b335a893a57d816d08ae83c0a2966e | |
parent | Use BinaryPrimitives when available (diff) | |
download | BouncyCastle.NET-ed25519-b862a9b32b989da5ae192d99dfc296ec352ad509.tar.xz |
Fix constructor access
-rw-r--r-- | crypto/src/pqc/crypto/lms/LMOtsParameters.cs | 2 | ||||
-rw-r--r-- | crypto/src/pqc/crypto/lms/LMSigParameters.cs | 2 |
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; |