summaryrefslogtreecommitdiff
path: root/libjava/gnu/java/security/hash/Sha512.h
blob: 764ed786904f2527b62511c367fb6332d59c2695 (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
64
65
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __gnu_java_security_hash_Sha512__
#define __gnu_java_security_hash_Sha512__

#pragma interface

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

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

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

public:
  Sha512();
private:
  Sha512(::gnu::java::security::hash::Sha512 *);
public:
  static JArray< jlong > * G(jlong, jlong, jlong, jlong, jlong, jlong, jlong, jlong, JArray< jbyte > *, jint);
  virtual ::java::lang::Object * clone();
public: // actually protected
  virtual void transform(JArray< jbyte > *, jint);
  virtual JArray< jbyte > * padBuffer();
  virtual JArray< jbyte > * getResult();
  virtual void resetContext();
public:
  virtual jboolean selfTest();
private:
  static JArray< jlong > * sha(jlong, jlong, jlong, jlong, jlong, jlong, jlong, jlong, JArray< jbyte > *, jint);
  static JArray< jlong > * k;
  static const jint BLOCK_SIZE = 128;
  static ::java::lang::String * DIGEST0;
  static JArray< jlong > * w;
  static ::java::lang::Boolean * valid;
  jlong __attribute__((aligned(__alignof__( ::gnu::java::security::hash::BaseHash)))) h0;
  jlong h1;
  jlong h2;
  jlong h3;
  jlong h4;
  jlong h5;
  jlong h6;
  jlong h7;
public:
  static ::java::lang::Class class$;
};

#endif // __gnu_java_security_hash_Sha512__