~ubuntu-branches/debian/jessie/armory/jessie

« back to all changes in this revision

Viewing changes to cppForSwig/cryptopp/whrlpool.h

  • Committer: Package Import Robot
  • Author(s): Joseph Bisch
  • Date: 2014-10-07 10:22:45 UTC
  • Revision ID: package-import@ubuntu.com-20141007102245-2s3x3rhjxg689hek
Tags: upstream-0.92.3
ImportĀ upstreamĀ versionĀ 0.92.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef CRYPTOPP_WHIRLPOOL_H
 
2
#define CRYPTOPP_WHIRLPOOL_H
 
3
 
 
4
#include "config.h"
 
5
#include "iterhash.h"
 
6
 
 
7
NAMESPACE_BEGIN(CryptoPP)
 
8
 
 
9
//! <a href="http://www.cryptolounge.org/wiki/Whirlpool">Whirlpool</a>
 
10
class Whirlpool : public IteratedHashWithStaticTransform<word64, BigEndian, 64, 64, Whirlpool>
 
11
{
 
12
public:
 
13
        static void InitState(HashWordType *state);
 
14
        static void Transform(word64 *digest, const word64 *data);
 
15
        void TruncatedFinal(byte *hash, size_t size);
 
16
        static const char * StaticAlgorithmName() {return "Whirlpool";}
 
17
};
 
18
 
 
19
NAMESPACE_END
 
20
 
 
21
#endif