Lines Matching refs:IDEA
9 static const int IDEA_KEYLEN=(6*IDEA::ROUNDS+4); // key schedule length in # of word16s
14 CRYPTOPP_COMPILE_ASSERT(sizeof(IDEA::Word) >= 2);
26 a = (IDEA::Word)p - (IDEA::Word)high16(p); \
33 bool IDEA::Base::tablesBuilt = false;
34 word16 IDEA::Base::log[0x10000];
35 word16 IDEA::Base::antilog[0x10000];
37 void IDEA::Base::BuildLogTables()
45 IDEA::Word x=1;
59 void IDEA::Base::LookupKeyLogs()
61 IDEA::Word* Z=key;
75 inline void IDEA::Base::LookupMUL(IDEA::Word &a, IDEA::Word b)
81 void IDEA::Base::UncheckedSetKey(const byte *userKey, unsigned int length, const NameValuePairs &)
99 void IDEA::Base::EnKey (const byte *userKey)
104 m_key[i] = ((IDEA::Word)userKey[2*i]<<8) | userKey[2*i+1];
113 static IDEA::Word MulInv(IDEA::Word x)
115 IDEA::Word y=x;
124 static inline IDEA::Word AddInv(IDEA::Word x)
129 void IDEA::Base::DeKey()
131 FixedSizeSecBlock<IDEA::Word, 6*ROUNDS+4> tempkey;
158 void IDEA::Base::ProcessAndXorBlock(const byte *inBlock, const byte *xorBlock, byte *outBlock) const
162 const IDEA::Word *key = m_key;
163 IDEA::Word x0,x1,x2,x3,t0,t1;