aboutsummaryrefslogtreecommitdiffstats
path: root/src/hash/sha2/sha2_32.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/hash/sha2/sha2_32.h')
-rw-r--r--src/hash/sha2/sha2_32.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/hash/sha2/sha2_32.h b/src/hash/sha2/sha2_32.h
index a767b3d10..220767c1b 100644
--- a/src/hash/sha2/sha2_32.h
+++ b/src/hash/sha2/sha2_32.h
@@ -14,11 +14,11 @@ namespace Botan {
/*************************************************
* SHA-{224,256} Base *
*************************************************/
-class BOTAN_DLL SHA_224256_BASE : public MDx_HashFunction
+class BOTAN_DLL SHA_224_256_BASE : public MDx_HashFunction
{
protected:
void clear() throw();
- SHA_224256_BASE(u32bit out) :
+ SHA_224_256_BASE(u32bit out) :
MDx_HashFunction(out, 64, true, true) { clear(); }
SecureBuffer<u32bit, 64> W;
@@ -31,25 +31,25 @@ class BOTAN_DLL SHA_224256_BASE : public MDx_HashFunction
/*************************************************
* SHA-224 *
*************************************************/
-class BOTAN_DLL SHA_224 : public SHA_224256_BASE
+class BOTAN_DLL SHA_224 : public SHA_224_256_BASE
{
public:
void clear() throw();
std::string name() const { return "SHA-224"; }
HashFunction* clone() const { return new SHA_224; }
- SHA_224() : SHA_224256_BASE(28) { clear(); }
+ SHA_224() : SHA_224_256_BASE(28) { clear(); }
};
/*************************************************
* SHA-256 *
*************************************************/
-class BOTAN_DLL SHA_256 : public SHA_224256_BASE
+class BOTAN_DLL SHA_256 : public SHA_224_256_BASE
{
public:
void clear() throw();
std::string name() const { return "SHA-256"; }
HashFunction* clone() const { return new SHA_256; }
- SHA_256() : SHA_224256_BASE(32) { clear (); }
+ SHA_256() : SHA_224_256_BASE(32) { clear (); }
};
}