diff options
Diffstat (limited to 'sha.h')
-rw-r--r-- | sha.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -28,6 +28,15 @@ protected: static const word32 K[64]; }; +//! implements the SHA-224 standard +class SHA224 : public IteratedHashWithStaticTransform<word32, BigEndian, 64, 32, SHA224, 28> +{ +public: + static void InitState(HashWordType *state); + static void Transform(word32 *digest, const word32 *data) {SHA256::Transform(digest, data);} + static const char *StaticAlgorithmName() {return "SHA-224";} +}; + #ifdef WORD64_AVAILABLE //! implements the SHA-512 standard |