1 
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3 
4 #ifndef __gnu_javax_crypto_mode_CFB__
5 #define __gnu_javax_crypto_mode_CFB__
6 
7 #pragma interface
8 
9 #include <gnu/javax/crypto/mode/BaseMode.h>
10 #include <gcj/array.h>
11 
12 extern "Java"
13 {
14   namespace gnu
15   {
16     namespace javax
17     {
18       namespace crypto
19       {
20         namespace cipher
21         {
22             class IBlockCipher;
23         }
24         namespace mode
25         {
26             class CFB;
27         }
28       }
29     }
30   }
31 }
32 
33 class gnu::javax::crypto::mode::CFB : public ::gnu::javax::crypto::mode::BaseMode
34 {
35 
36 public: // actually package-private
37   CFB(::gnu::javax::crypto::cipher::IBlockCipher *, jint);
38 private:
39   CFB(::gnu::javax::crypto::mode::CFB *);
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   JArray< jbyte > * __attribute__((aligned(__alignof__( ::gnu::javax::crypto::mode::BaseMode)))) shiftRegister;
48   JArray< jbyte > * scratch;
49 public:
50   static ::java::lang::Class class$;
51 };
52 
53 #endif // __gnu_javax_crypto_mode_CFB__
54