~zooko/cryptopp/trunk

« back to all changes in this revision

Viewing changes to twofish.h

  • Committer: weidai
  • Date: 2007-08-13 23:48:17 UTC
  • Revision ID: svn-v4:57ff6487-cd31-0410-9ec3-f628ee90f5f0:trunk/c5:383
fixed Salsa20 initialization crash on non-SSE2 machines

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
        class CRYPTOPP_NO_VTABLE Base : public BlockCipherImpl<Twofish_Info>
22
22
        {
23
23
        public:
24
 
                void UncheckedSetKey(CipherDir direction, const byte *userKey, unsigned int length);
 
24
                void UncheckedSetKey(const byte *userKey, unsigned int length, const NameValuePairs &params);
25
25
 
26
26
        protected:
27
27
                static word32 h0(word32 x, const word32 *key, unsigned int kLen);