1 2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- 3 4 #ifndef __gnu_java_security_hash_Whirlpool__ 5 #define __gnu_java_security_hash_Whirlpool__ 6 7 #pragma interface 8 9 #include <gnu/java/security/hash/BaseHash.h> 10 #include <gcj/array.h> 11 12 extern "Java" 13 { 14 namespace gnu 15 { 16 namespace java 17 { 18 namespace security 19 { 20 namespace hash 21 { 22 class Whirlpool; 23 } 24 } 25 } 26 } 27 } 28 29 class gnu::java::security::hash::Whirlpool : public ::gnu::java::security::hash::BaseHash 30 { 31 32 public: 33 Whirlpool(); 34 private: 35 Whirlpool(::gnu::java::security::hash::Whirlpool *); 36 public: 37 ::java::lang::Object * clone(); 38 public: // actually protected 39 void transform(JArray< jbyte > *, jint); 40 JArray< jbyte > * padBuffer(); 41 JArray< jbyte > * getResult(); 42 void resetContext(); 43 public: 44 jboolean selfTest(); 45 private: 46 static ::java::util::logging::Logger * log; 47 static const jint BLOCK_SIZE = 64; 48 static ::java::lang::String * DIGEST0; 49 static const jint R = 10; 50 static ::java::lang::String * S_box; 51 static JArray< jlong > * T0; 52 static JArray< jlong > * T1; 53 static JArray< jlong > * T2; 54 static JArray< jlong > * T3; 55 static JArray< jlong > * T4; 56 static JArray< jlong > * T5; 57 static JArray< jlong > * T6; 58 static JArray< jlong > * T7; 59 static JArray< jlong > * rc; 60 static ::java::lang::Boolean * valid; 61 jlong __attribute__((aligned(__alignof__( ::gnu::java::security::hash::BaseHash)))) H0; 62 jlong H1; 63 jlong H2; 64 jlong H3; 65 jlong H4; 66 jlong H5; 67 jlong H6; 68 jlong H7; 69 jlong k00; 70 jlong k01; 71 jlong k02; 72 jlong k03; 73 jlong k04; 74 jlong k05; 75 jlong k06; 76 jlong k07; 77 jlong Kr0; 78 jlong Kr1; 79 jlong Kr2; 80 jlong Kr3; 81 jlong Kr4; 82 jlong Kr5; 83 jlong Kr6; 84 jlong Kr7; 85 jlong n0; 86 jlong n1; 87 jlong n2; 88 jlong n3; 89 jlong n4; 90 jlong n5; 91 jlong n6; 92 jlong n7; 93 jlong nn0; 94 jlong nn1; 95 jlong nn2; 96 jlong nn3; 97 jlong nn4; 98 jlong nn5; 99 jlong nn6; 100 jlong nn7; 101 jlong w0; 102 jlong w1; 103 jlong w2; 104 jlong w3; 105 jlong w4; 106 jlong w5; 107 jlong w6; 108 jlong w7; 109 public: 110 static ::java::lang::Class class$; 111 }; 112 113 #endif // __gnu_java_security_hash_Whirlpool__ 114