UHash32.h 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __gnu_javax_crypto_mac_UHash32__
  3. #define __gnu_javax_crypto_mac_UHash32__
  4. #pragma interface
  5. #include <gnu/javax/crypto/mac/BaseMac.h>
  6. #include <gcj/array.h>
  7. extern "Java"
  8. {
  9. namespace gnu
  10. {
  11. namespace javax
  12. {
  13. namespace crypto
  14. {
  15. namespace mac
  16. {
  17. class UHash32;
  18. class UHash32$L1Hash32;
  19. }
  20. }
  21. }
  22. }
  23. namespace java
  24. {
  25. namespace math
  26. {
  27. class BigInteger;
  28. }
  29. }
  30. }
  31. class gnu::javax::crypto::mac::UHash32 : public ::gnu::javax::crypto::mac::BaseMac
  32. {
  33. public:
  34. UHash32();
  35. private:
  36. UHash32(::gnu::javax::crypto::mac::UHash32 *);
  37. public: // actually package-private
  38. static ::java::math::BigInteger * prime(jint);
  39. public:
  40. virtual ::java::lang::Object * clone();
  41. virtual jint macSize();
  42. virtual void init(::java::util::Map *);
  43. virtual void update(jbyte);
  44. virtual void update(JArray< jbyte > *, jint, jint);
  45. virtual JArray< jbyte > * digest();
  46. virtual void reset();
  47. virtual jboolean selfTest();
  48. private:
  49. static ::java::math::BigInteger * PRIME_19;
  50. static ::java::math::BigInteger * PRIME_32;
  51. static ::java::math::BigInteger * PRIME_36;
  52. static ::java::math::BigInteger * PRIME_64;
  53. static ::java::math::BigInteger * PRIME_128;
  54. public: // actually package-private
  55. static ::java::math::BigInteger * TWO;
  56. static jlong BOUNDARY;
  57. static ::java::math::BigInteger * LOWER_RANGE;
  58. static ::java::math::BigInteger * UPPER_RANGE;
  59. static JArray< jbyte > * ALL_ZEROES;
  60. jint __attribute__((aligned(__alignof__( ::gnu::javax::crypto::mac::BaseMac)))) streams;
  61. JArray< ::gnu::javax::crypto::mac::UHash32$L1Hash32 * > * l1hash;
  62. public:
  63. static ::java::lang::Class class$;
  64. };
  65. #endif // __gnu_javax_crypto_mac_UHash32__