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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [gnu/] [javax/] [crypto/] [cipher/] [Khazad.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_cipher_Khazad__
5
#define __gnu_javax_crypto_cipher_Khazad__
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 Khazad;
23
        }
24
      }
25
    }
26
  }
27
}
28
 
29
class gnu::javax::crypto::cipher::Khazad : public ::gnu::javax::crypto::cipher::BaseCipher
30
{
31
 
32
public:
33
  Khazad();
34
private:
35
  static void khazad(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 = 8;
47
  static const jint DEFAULT_KEY_SIZE = 16;
48
  static const jint R = 8;
49
  static ::java::lang::String * Sd;
50
  static JArray< jbyte > * S;
51
  static JArray< jint > * T0;
52
  static JArray< jint > * T1;
53
  static JArray< jint > * T2;
54
  static JArray< jint > * T3;
55
  static JArray< jint > * T4;
56
  static JArray< jint > * T5;
57
  static JArray< jint > * T6;
58
  static JArray< jint > * T7;
59
  static JArray< JArray< jint > * > * rc;
60
  static JArray< jbyte > * KAT_KEY;
61
  static JArray< jbyte > * KAT_CT;
62
  static ::java::lang::Boolean * valid;
63
public:
64
  static ::java::lang::Class class$;
65
};
66
 
67
#endif // __gnu_javax_crypto_cipher_Khazad__

powered by: WebSVN 2.1.0

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