summaryrefslogtreecommitdiff
path: root/ida.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2018-12-03 08:32:22 -0500
committerJeffrey Walton <noloader@gmail.com>2018-12-03 08:32:22 -0500
commit13f7bd7ffb3150f3bdeba4ba3f8794c30ac44065 (patch)
treebb6f881f77f270fc140bdb98b406475ea45209b2 /ida.h
parent0b1162aa34a805fb46a7f514894ad26a39d58349 (diff)
downloadcryptopp-git-13f7bd7ffb3150f3bdeba4ba3f8794c30ac44065.tar.gz
Make GF2_32 class member of RawIDA
Diffstat (limited to 'ida.h')
-rw-r--r--ida.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/ida.h b/ida.h
index f16cea03..7600b81a 100644
--- a/ida.h
+++ b/ida.h
@@ -11,6 +11,7 @@
#include "filters.h"
#include "channels.h"
#include "secblock.h"
+#include "gf2_32.h"
#include "stdcpp.h"
#include "misc.h"
@@ -56,10 +57,11 @@ protected:
std::vector<word32> m_inputChannelIds, m_outputChannelIds, m_outputToInput;
std::vector<std::string> m_outputChannelIdStrings;
std::vector<ByteQueue> m_outputQueues;
- int m_threshold;
- unsigned int m_channelsReady, m_channelsFinished;
std::vector<SecBlock<word32> > m_v;
SecBlock<word32> m_u, m_w, m_y;
+ const GF2_32 m_gf32;
+ unsigned int m_channelsReady, m_channelsFinished;
+ int m_threshold;
};
/// \brief Shamir's Secret Sharing Algorithm