// 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 jlongArray G (jlong, jlong, jlong, jlong, jlong, jlong, jlong, jlong, jbyteArray, jint);
  virtual ::java::lang::Object *clone ();
public:  // actually protected
  virtual void transform (jbyteArray, jint);
  virtual jbyteArray padBuffer ();
  virtual jbyteArray getResult ();
  virtual void resetContext ();
public:
  virtual jboolean selfTest ();
private:
  static jlongArray sha (jlong, jlong, jlong, jlong, jlong, jlong, jlong, jlong, jbyteArray, jint);
  static jlongArray k;
  static const jint BLOCK_SIZE = 128L;
  static ::java::lang::String *DIGEST0;
  static jlongArray 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__ */
