UMac32.h 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __gnu_javax_crypto_mac_UMac32__
  3. #define __gnu_javax_crypto_mac_UMac32__
  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 UMac32;
  19. }
  20. }
  21. }
  22. }
  23. namespace java
  24. {
  25. namespace math
  26. {
  27. class BigInteger;
  28. }
  29. }
  30. }
  31. class gnu::javax::crypto::mac::UMac32 : public ::gnu::javax::crypto::mac::BaseMac
  32. {
  33. public:
  34. UMac32();
  35. private:
  36. UMac32(::gnu::javax::crypto::mac::UMac32 *);
  37. public:
  38. virtual ::java::lang::Object * clone();
  39. virtual jint macSize();
  40. virtual void init(::java::util::Map *);
  41. virtual void update(jbyte);
  42. virtual void update(JArray< jbyte > *, jint, jint);
  43. virtual JArray< jbyte > * digest();
  44. virtual void reset();
  45. virtual jboolean selfTest();
  46. private:
  47. JArray< jbyte > * pdf();
  48. public:
  49. static ::java::lang::String * NONCE_MATERIAL;
  50. private:
  51. static ::java::lang::String * TV1;
  52. static ::java::math::BigInteger * MAX_NONCE_ITERATIONS;
  53. public: // actually package-private
  54. static const jint OUTPUT_LEN = 8;
  55. static const jint L1_KEY_LEN = 1024;
  56. static const jint KEY_LEN = 16;
  57. private:
  58. static ::java::lang::Boolean * valid;
  59. JArray< jbyte > * __attribute__((aligned(__alignof__( ::gnu::javax::crypto::mac::BaseMac)))) nonce;
  60. ::gnu::javax::crypto::mac::UHash32 * uhash32;
  61. ::java::math::BigInteger * nonceReuseCount;
  62. JArray< jbyte > * K;
  63. public:
  64. static ::java::lang::Class class$;
  65. };
  66. #endif // __gnu_javax_crypto_mac_UMac32__