OFB.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __gnu_javax_crypto_mode_OFB__
  3. #define __gnu_javax_crypto_mode_OFB__
  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 OFB;
  22. }
  23. }
  24. }
  25. }
  26. }
  27. class gnu::javax::crypto::mode::OFB : public ::gnu::javax::crypto::mode::BaseMode
  28. {
  29. public: // actually package-private
  30. OFB(::gnu::javax::crypto::cipher::IBlockCipher *, jint);
  31. private:
  32. OFB(::gnu::javax::crypto::mode::OFB *);
  33. public:
  34. virtual ::java::lang::Object * clone();
  35. virtual void setup();
  36. virtual void teardown();
  37. virtual void encryptBlock(JArray< jbyte > *, jint, JArray< jbyte > *, jint);
  38. virtual void decryptBlock(JArray< jbyte > *, jint, JArray< jbyte > *, jint);
  39. private:
  40. JArray< jbyte > * __attribute__((aligned(__alignof__( ::gnu::javax::crypto::mode::BaseMode)))) outputBlock;
  41. public:
  42. static ::java::lang::Class class$;
  43. };
  44. #endif // __gnu_javax_crypto_mode_OFB__