TMMH16.h 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __gnu_javax_crypto_mac_TMMH16__
  3. #define __gnu_javax_crypto_mac_TMMH16__
  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 java
  12. {
  13. namespace security
  14. {
  15. namespace prng
  16. {
  17. class IRandom;
  18. }
  19. }
  20. }
  21. namespace javax
  22. {
  23. namespace crypto
  24. {
  25. namespace mac
  26. {
  27. class TMMH16;
  28. }
  29. }
  30. }
  31. }
  32. }
  33. class gnu::javax::crypto::mac::TMMH16 : public ::gnu::javax::crypto::mac::BaseMac
  34. {
  35. public:
  36. TMMH16();
  37. virtual jint macSize();
  38. virtual void init(::java::util::Map *);
  39. virtual void update(jbyte);
  40. virtual void update(JArray< jbyte > *, jint, jint);
  41. virtual JArray< jbyte > * digest();
  42. virtual void reset();
  43. virtual jboolean selfTest();
  44. virtual ::java::lang::Object * clone();
  45. virtual void update(jbyte, ::gnu::java::security::prng::IRandom *);
  46. virtual void update(JArray< jbyte > *, jint, jint, ::gnu::java::security::prng::IRandom *);
  47. virtual JArray< jbyte > * digest(::gnu::java::security::prng::IRandom *);
  48. private:
  49. jint getNextKeyWord(::gnu::java::security::prng::IRandom *);
  50. void doFinalRound(::gnu::java::security::prng::IRandom *);
  51. public:
  52. static ::java::lang::String * TAG_LENGTH;
  53. static ::java::lang::String * KEYSTREAM;
  54. static ::java::lang::String * PREFIX;
  55. private:
  56. static const jint P = 65537;
  57. static ::java::lang::Boolean * valid;
  58. jint __attribute__((aligned(__alignof__( ::gnu::javax::crypto::mac::BaseMac)))) tagWords;
  59. ::gnu::java::security::prng::IRandom * keystream;
  60. JArray< jbyte > * prefix;
  61. jlong keyWords;
  62. jlong msgLength;
  63. jlong msgWords;
  64. JArray< jint > * context;
  65. JArray< jint > * K0;
  66. JArray< jint > * Ki;
  67. jint Mi;
  68. public:
  69. static ::java::lang::Class class$;
  70. };
  71. #endif // __gnu_javax_crypto_mac_TMMH16__