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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [gnu/] [javax/] [crypto/] [mode/] [EAX.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_EAX__
5
#define __gnu_javax_crypto_mode_EAX__
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 mac
25
        {
26
            class IMac;
27
        }
28
        namespace mode
29
        {
30
            class EAX;
31
            class IMode;
32
        }
33
      }
34
    }
35
  }
36
}
37
 
38
class gnu::javax::crypto::mode::EAX : public ::java::lang::Object
39
{
40
 
41
public:
42
  EAX(::gnu::javax::crypto::cipher::IBlockCipher *, jint);
43
  virtual ::java::lang::Object * clone();
44
  virtual ::java::lang::String * name();
45
  virtual jint defaultBlockSize();
46
  virtual jint defaultKeySize();
47
  virtual ::java::util::Iterator * blockSizes();
48
  virtual ::java::util::Iterator * keySizes();
49
  virtual void init(::java::util::Map *);
50
  virtual jint currentBlockSize();
51
  virtual void encryptBlock(JArray< jbyte > *, jint, JArray< jbyte > *, jint);
52
  virtual void decryptBlock(JArray< jbyte > *, jint, JArray< jbyte > *, jint);
53
  virtual void update(JArray< jbyte > *, jint, JArray< jbyte > *, jint);
54
  virtual void reset();
55
  virtual jboolean selfTest();
56
  virtual jint macSize();
57
  virtual JArray< jbyte > * digest();
58
  virtual void digest(JArray< jbyte > *, jint);
59
  virtual void update(jbyte);
60
  virtual void update(JArray< jbyte > *, jint, jint);
61
private:
62
  jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) tagSize;
63
  ::gnu::javax::crypto::mac::IMac * nonceOmac;
64
  ::gnu::javax::crypto::mac::IMac * headerOmac;
65
  ::gnu::javax::crypto::mac::IMac * msgOmac;
66
  ::gnu::javax::crypto::mode::IMode * ctr;
67
  jint state;
68
  jboolean init__;
69
  jint cipherBlockSize;
70
  ::gnu::javax::crypto::cipher::IBlockCipher * cipher;
71
  JArray< jbyte > * t_n;
72
  static jboolean valid;
73
public:
74
  static ::java::lang::Class class$;
75
};
76
 
77
#endif // __gnu_javax_crypto_mode_EAX__

powered by: WebSVN 2.1.0

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