From b862a9b32b989da5ae192d99dfc296ec352ad509 Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Fri, 14 Oct 2022 14:04:42 +0700 Subject: Fix constructor access --- crypto/src/pqc/crypto/lms/LMOtsParameters.cs | 2 +- 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; -- cgit 1.4.1