~zooko/cryptopp/trunk

« back to all changes in this revision

Viewing changes to luc.cpp

  • Committer: weidai
  • Date: 2009-03-02 02:39:17 UTC
  • Revision ID: svn-v4:57ff6487-cd31-0410-9ec3-f628ee90f5f0:trunk/c5:433
changes for 5.6: 
    - added AuthenticatedSymmetricCipher interface class and Filter wrappers
    - added CCM, GCM (with SSE2 assembly), CMAC, and SEED
    - improved AES speed on x86 and x64
    - removed WORD64_AVAILABLE; compiler 64-bit int support is now required

Show diffs side-by-side

added added

removed removed

Lines of Context:
118
118
                throw InvalidArgument("InvertibleLUCFunction: invalid public exponent");
119
119
 
120
120
        LUCPrimeSelector selector(m_e);
121
 
        const NameValuePairs &primeParam = MakeParametersForTwoPrimesOfEqualSize(modulusSize)
 
121
        AlgorithmParameters primeParam = MakeParametersForTwoPrimesOfEqualSize(modulusSize)
122
122
                ("PointerToPrimeSelector", selector.GetSelectorPointer());
123
123
        m_p.GenerateRandom(rng, primeParam);
124
124
        m_q.GenerateRandom(rng, primeParam);