OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [gnu/] [javax/] [crypto/] [mode/] [BaseMode.h] - Blame information for rev 756

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 756 jeremybenn
 
2
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3
 
4
#ifndef __gnu_javax_crypto_mode_BaseMode__
5
#define __gnu_javax_crypto_mode_BaseMode__
6
 
7
#pragma interface
8
 
9
#include <java/lang/Object.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 BaseMode;
27
        }
28
      }
29
    }
30
  }
31
}
32
 
33
class gnu::javax::crypto::mode::BaseMode : public ::java::lang::Object
34
{
35
 
36
public: // actually protected
37
  BaseMode(::java::lang::String *, ::gnu::javax::crypto::cipher::IBlockCipher *, jint);
38
public:
39
  virtual void update(JArray< jbyte > *, jint, JArray< jbyte > *, jint);
40
  virtual ::java::lang::String * name();
41
  virtual jint defaultBlockSize();
42
  virtual jint defaultKeySize();
43
  virtual ::java::util::Iterator * blockSizes();
44
  virtual ::java::util::Iterator * keySizes();
45
  virtual void init(::java::util::Map *);
46
  virtual jint currentBlockSize();
47
  virtual void reset();
48
  virtual jboolean selfTest();
49
  virtual ::java::lang::Object * clone() = 0;
50
  virtual void setup() = 0;
51
  virtual void teardown() = 0;
52
  virtual void encryptBlock(JArray< jbyte > *, jint, JArray< jbyte > *, jint) = 0;
53
  virtual void decryptBlock(JArray< jbyte > *, jint, JArray< jbyte > *, jint) = 0;
54
private:
55
  jboolean testSymmetry(jint, jint);
56
public: // actually protected
57
  ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) name__;
58
  jint state;
59
  ::gnu::javax::crypto::cipher::IBlockCipher * cipher;
60
  jint cipherBlockSize;
61
  jint modeBlockSize;
62
  JArray< jbyte > * iv;
63
  ::java::lang::Object * lock;
64
public:
65
  static ::java::lang::Class class$;
66
};
67
 
68
#endif // __gnu_javax_crypto_mode_BaseMode__

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.