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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [gnu/] [javax/] [crypto/] [cipher/] [Anubis.h] - Blame information for rev 775

Go to most recent revision | 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_cipher_Anubis__
5
#define __gnu_javax_crypto_cipher_Anubis__
6
 
7
#pragma interface
8
 
9
#include <gnu/javax/crypto/cipher/BaseCipher.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 Anubis;
23
        }
24
      }
25
    }
26
  }
27
}
28
 
29
class gnu::javax::crypto::cipher::Anubis : public ::gnu::javax::crypto::cipher::BaseCipher
30
{
31
 
32
public:
33
  Anubis();
34
private:
35
  static void anubis(JArray< jbyte > *, jint, JArray< jbyte > *, jint, JArray< JArray< jint > * > *);
36
public:
37
  ::java::lang::Object * clone();
38
  ::java::util::Iterator * blockSizes();
39
  ::java::util::Iterator * keySizes();
40
  ::java::lang::Object * makeKey(JArray< jbyte > *, jint);
41
  void encrypt(JArray< jbyte > *, jint, JArray< jbyte > *, jint, ::java::lang::Object *, jint);
42
  void decrypt(JArray< jbyte > *, jint, JArray< jbyte > *, jint, ::java::lang::Object *, jint);
43
  jboolean selfTest();
44
private:
45
  static ::java::util::logging::Logger * log;
46
  static const jint DEFAULT_BLOCK_SIZE = 16;
47
  static const jint DEFAULT_KEY_SIZE = 16;
48
  static ::java::lang::String * Sd;
49
  static JArray< jbyte > * S;
50
  static JArray< jint > * T0;
51
  static JArray< jint > * T1;
52
  static JArray< jint > * T2;
53
  static JArray< jint > * T3;
54
  static JArray< jint > * T4;
55
  static JArray< jint > * T5;
56
  static JArray< jint > * rc;
57
  static JArray< jbyte > * KAT_KEY;
58
  static JArray< jbyte > * KAT_CT;
59
  static ::java::lang::Boolean * valid;
60
public:
61
  static ::java::lang::Class class$;
62
};
63
 
64
#endif // __gnu_javax_crypto_cipher_Anubis__

powered by: WebSVN 2.1.0

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