~zooko/cryptopp/trunk

« back to all changes in this revision

Viewing changes to sha.h

  • Committer: weidai
  • Date: 2003-07-10 04:34:23 UTC
  • Revision ID: svn-v4:57ff6487-cd31-0410-9ec3-f628ee90f5f0:trunk/c5:90
merge in 5.0.4 changes (exclude DES and SHA-2 from DLL),
attempt (failed) to build DLL with GCC

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
typedef SHA SHA1;
18
18
 
19
19
//! implements the SHA-256 standard
20
 
class CRYPTOPP_DLL SHA256 : public IteratedHashWithStaticTransform<word32, BigEndian, 64, 32, SHA256>
 
20
class SHA256 : public IteratedHashWithStaticTransform<word32, BigEndian, 64, 32, SHA256>
21
21
{
22
22
public:
23
23
        static void InitState(HashWordType *state);
31
31
#ifdef WORD64_AVAILABLE
32
32
 
33
33
//! implements the SHA-512 standard
34
 
class CRYPTOPP_DLL SHA512 : public IteratedHashWithStaticTransform<word64, BigEndian, 128, 64, SHA512>
 
34
class SHA512 : public IteratedHashWithStaticTransform<word64, BigEndian, 128, 64, SHA512>
35
35
{
36
36
public:
37
37
        static void InitState(HashWordType *state);
43
43
};
44
44
 
45
45
//! implements the SHA-384 standard
46
 
class CRYPTOPP_DLL SHA384 : public IteratedHashWithStaticTransform<word64, BigEndian, 128, 64, SHA384, 48>
 
46
class SHA384 : public IteratedHashWithStaticTransform<word64, BigEndian, 128, 64, SHA384, 48>
47
47
{
48
48
public:
49
49
        static void InitState(HashWordType *state);