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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [gnu/] [javax/] [crypto/] [mac/] [OMAC.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_mac_OMAC__
5
#define __gnu_javax_crypto_mac_OMAC__
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 OMAC;
27
        }
28
        namespace mode
29
        {
30
            class IMode;
31
        }
32
      }
33
    }
34
  }
35
}
36
 
37
class gnu::javax::crypto::mac::OMAC : public ::java::lang::Object
38
{
39
 
40
public:
41
  OMAC(::gnu::javax::crypto::cipher::IBlockCipher *);
42
  virtual ::java::lang::Object * clone();
43
  virtual ::java::lang::String * name();
44
  virtual jint macSize();
45
  virtual void init(::java::util::Map *);
46
  virtual void update(jbyte);
47
  virtual void update(JArray< jbyte > *, jint, jint);
48
  virtual JArray< jbyte > * digest();
49
  virtual void digest(JArray< jbyte > *, jint);
50
  virtual void reset();
51
  virtual jboolean selfTest();
52
private:
53
  void process();
54
  static ::java::util::logging::Logger * log;
55
  static const jbyte C1 = -121;
56
  static const jbyte C2 = 27;
57
  static JArray< jbyte > * KEY0;
58
  static JArray< jbyte > * DIGEST0;
59
  static ::java::lang::Boolean * valid;
60
  ::gnu::javax::crypto::cipher::IBlockCipher * __attribute__((aligned(__alignof__( ::java::lang::Object)))) cipher;
61
  ::java::lang::String * name__;
62
  ::gnu::javax::crypto::mode::IMode * mode;
63
  jint blockSize;
64
  jint outputSize;
65
  JArray< jbyte > * Lu;
66
  JArray< jbyte > * Lu2;
67
  JArray< jbyte > * M;
68
  JArray< jbyte > * Y;
69
  jboolean init__;
70
  jint index;
71
public:
72
  static ::java::lang::Class class$;
73
};
74
 
75
#endif // __gnu_javax_crypto_mac_OMAC__

powered by: WebSVN 2.1.0

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