Searched refs:m_rounds (Results 1 - 11 of 11) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/libcryptoxx-5.6.0/
H A Dshark.cpp36 m_rounds = GetRoundsAndThrowIfInvalid(params, this);
37 m_roundKeys.New(m_rounds+1);
40 for (unsigned int i=0; i<(m_rounds+1)*8; i++)
48 cfb.ProcessString((byte *)m_roundKeys.begin(), (m_rounds+1)*8);
50 ConditionalByteReverse(BIG_ENDIAN_ORDER, m_roundKeys.begin(), m_roundKeys.begin(), (m_rounds+1)*8);
52 m_roundKeys[m_rounds] = SHARKTransform(m_roundKeys[m_rounds]);
59 for (i=0; i<m_rounds/2; i++)
60 std::swap(m_roundKeys[i], m_roundKeys[m_rounds-i]);
62 for (i=1; i<m_rounds;
[all...]
H A D3way.h27 unsigned int m_rounds; member in class:ThreeWay::Base
H A Dcamellia.h33 unsigned int m_rounds; member in class:Camellia::Base
H A D3way.cpp68 m_rounds = GetRoundsAndThrowIfInvalid(params, this);
92 for(unsigned i=0; i<m_rounds; i++)
120 for(unsigned i=0; i<m_rounds; i++)
H A Drijndael.h36 unsigned int m_rounds; member in class:Rijndael::Base
H A Dsalsa.h30 int m_rounds; member in class:Salsa20_Policy
H A Dshark.h28 unsigned int m_rounds; member in class:SHARK::Base
H A Dsalsa.cpp23 m_rounds = params.GetIntValueWithDefault(Name::Rounds(), 20);
25 if (!(m_rounds == 8 || m_rounds == 12 || m_rounds == 20))
26 throw InvalidRounds(Salsa20::StaticAlgorithmName(), m_rounds); local
90 Salsa20_OperateKeystream(output, input, iterationCount, m_rounds, m_state.data());
155 word32 r = m_rounds;
462 : "r" (m_rounds), "r" (input), "r" (iterationCount), "r" (m_state.data()), "r" (output), "r" (workspace.m_ptr)
465 : "d" (m_rounds), "a" (input), "c" (iterationCount), "S" (m_state.data()), "D" (output)
500 for (int i=m_rounds;
552 throw InvalidRounds(XSalsa20::StaticAlgorithmName(), m_rounds); local
[all...]
H A Drijndael.cpp202 m_rounds = keylen/4 + 6;
203 m_key.New(4*(m_rounds+1));
260 for (i = 0, j = 4*m_rounds; i < j; i += 4, j -= 4) {
270 for (i = 1; i < m_rounds; i++) {
280 ConditionalByteReverse(BIG_ENDIAN_ORDER, m_key + m_rounds*4, m_key + m_rounds*4, 16);
328 unsigned int r = m_rounds/2 - 1;
396 unsigned int r = m_rounds/2 - 1;
972 int keysToCopy = m_rounds - (flags & BT_InBlockIsCounter ? 3 : 2);
H A Dcamellia.cpp63 m_rounds = (keylen >= 24) ? 4 : 3;
64 unsigned int kslen = (8 * m_rounds + 2);
218 for (i = m_rounds-1; i > 0; --i)
H A Dvalidat1.cpp406 : m_keylen(keylen ? keylen : E::DEFAULT_KEYLENGTH), m_rounds(rounds ? rounds : E::DEFAULT_ROUNDS) {}
411 {return apbt(new E(key, m_keylen, m_rounds));}
413 {return apbt(new D(key, m_keylen, m_rounds));}
415 unsigned int m_keylen, m_rounds; member in class:VariableRoundsCipherFactory

Completed in 101 milliseconds