summaryrefslogtreecommitdiff
path: root/libjava/gnu/java/security/hash/Tiger.h
blob: 93136ce9042436e363393826839c36d80186e6c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __gnu_java_security_hash_Tiger__
#define __gnu_java_security_hash_Tiger__

#pragma interface

#include <gnu/java/security/hash/BaseHash.h>
#include <gcj/array.h>

extern "Java"
{
  namespace gnu
  {
    namespace java
    {
      namespace security
      {
        namespace hash
        {
            class Tiger;
        }
      }
    }
  }
}

class gnu::java::security::hash::Tiger : public ::gnu::java::security::hash::BaseHash
{

public:
  Tiger();
private:
  Tiger(::gnu::java::security::hash::Tiger *);
public:
  virtual ::java::lang::Object * clone();
  virtual jboolean selfTest();
public: // actually protected
  virtual JArray< jbyte > * padBuffer();
  virtual JArray< jbyte > * getResult();
  virtual void resetContext();
  virtual void transform(JArray< jbyte > *, jint);
private:
  static const jint HASH_SIZE = 24;
  static const jint BLOCK_SIZE = 64;
  static ::java::lang::String * DIGEST0;
  static const jlong A = 81985529216486895LL;
  static const jlong B = -81985529216486896LL;
  static const jlong C = -1110518062304271993LL;
  static JArray< jlong > * T1;
  static JArray< jlong > * T2;
  static JArray< jlong > * T3;
  static JArray< jlong > * T4;
  static ::java::lang::Boolean * valid;
  jlong __attribute__((aligned(__alignof__( ::gnu::java::security::hash::BaseHash)))) a;
  jlong b;
  jlong c;
public:
  static ::java::lang::Class class$;
};

#endif // __gnu_java_security_hash_Tiger__