CFB.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __gnu_javax_crypto_mode_CFB__
  3. #define __gnu_javax_crypto_mode_CFB__
  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 CFB;
  22. }
  23. }
  24. }
  25. }
  26. }
  27. class gnu::javax::crypto::mode::CFB : public ::gnu::javax::crypto::mode::BaseMode
  28. {
  29. public: // actually package-private
  30. CFB(::gnu::javax::crypto::cipher::IBlockCipher *, jint);
  31. private:
  32. CFB(::gnu::javax::crypto::mode::CFB *);
  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)))) shiftRegister;
  41. JArray< jbyte > * scratch;
  42. public:
  43. static ::java::lang::Class class$;
  44. };
  45. #endif // __gnu_javax_crypto_mode_CFB__