ICM.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __gnu_javax_crypto_mode_ICM__
  3. #define __gnu_javax_crypto_mode_ICM__
  4. #pragma interface
  5. #include <gnu/javax/crypto/mode/BaseMode.h>
  6. #include <gcj/array.h>
  7. extern "Java"
  8. {
  9. namespace gnu
  10. {
  11. namespace javax
  12. {
  13. namespace crypto
  14. {
  15. namespace cipher
  16. {
  17. class IBlockCipher;
  18. }
  19. namespace mode
  20. {
  21. class ICM;
  22. }
  23. }
  24. }
  25. }
  26. namespace java
  27. {
  28. namespace math
  29. {
  30. class BigInteger;
  31. }
  32. }
  33. }
  34. class gnu::javax::crypto::mode::ICM : public ::gnu::javax::crypto::mode::BaseMode
  35. {
  36. public: // actually package-private
  37. ICM(::gnu::javax::crypto::cipher::IBlockCipher *, jint);
  38. private:
  39. ICM(::gnu::javax::crypto::mode::ICM *);
  40. public:
  41. virtual ::java::lang::Object * clone();
  42. virtual void setup();
  43. virtual void teardown();
  44. virtual void encryptBlock(JArray< jbyte > *, jint, JArray< jbyte > *, jint);
  45. virtual void decryptBlock(JArray< jbyte > *, jint, JArray< jbyte > *, jint);
  46. private:
  47. void icm(JArray< jbyte > *, jint, JArray< jbyte > *, jint);
  48. static ::java::math::BigInteger * TWO_FIFTY_SIX;
  49. ::java::math::BigInteger * __attribute__((aligned(__alignof__( ::gnu::javax::crypto::mode::BaseMode)))) maxBlocksPerSegment;
  50. ::java::math::BigInteger * counterRange;
  51. ::java::math::BigInteger * C0;
  52. ::java::math::BigInteger * blockNdx;
  53. public:
  54. static ::java::lang::Class class$;
  55. };
  56. #endif // __gnu_javax_crypto_mode_ICM__