Sha160.h 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __gnu_java_security_hash_Sha160__
  3. #define __gnu_java_security_hash_Sha160__
  4. #pragma interface
  5. #include <gnu/java/security/hash/BaseHash.h>
  6. #include <gcj/array.h>
  7. extern "Java"
  8. {
  9. namespace gnu
  10. {
  11. namespace java
  12. {
  13. namespace security
  14. {
  15. namespace hash
  16. {
  17. class Sha160;
  18. }
  19. }
  20. }
  21. }
  22. }
  23. class gnu::java::security::hash::Sha160 : public ::gnu::java::security::hash::BaseHash
  24. {
  25. public:
  26. Sha160();
  27. private:
  28. Sha160(::gnu::java::security::hash::Sha160 *);
  29. public:
  30. static JArray< jint > * G(jint, jint, jint, jint, jint, JArray< jbyte > *, jint);
  31. virtual ::java::lang::Object * clone();
  32. public: // actually protected
  33. virtual void transform(JArray< jbyte > *, jint);
  34. virtual JArray< jbyte > * padBuffer();
  35. virtual JArray< jbyte > * getResult();
  36. virtual void resetContext();
  37. public:
  38. virtual jboolean selfTest();
  39. private:
  40. static JArray< jint > * sha(jint, jint, jint, jint, jint, JArray< jbyte > *, jint);
  41. static const jint BLOCK_SIZE = 64;
  42. static ::java::lang::String * DIGEST0;
  43. static JArray< jint > * w;
  44. static ::java::lang::Boolean * valid;
  45. jint __attribute__((aligned(__alignof__( ::gnu::java::security::hash::BaseHash)))) h0;
  46. jint h1;
  47. jint h2;
  48. jint h3;
  49. jint h4;
  50. public:
  51. static ::java::lang::Class class$;
  52. };
  53. #endif // __gnu_java_security_hash_Sha160__