summaryrefslogtreecommitdiff
path: root/libjava/gnu/javax/crypto/cipher/Khazad.h
blob: 734bab28ec59fa9540eb48e7b1642a8ce9d70537 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __gnu_javax_crypto_cipher_Khazad__
#define __gnu_javax_crypto_cipher_Khazad__

#pragma interface

#include <gnu/javax/crypto/cipher/BaseCipher.h>
#include <gcj/array.h>

extern "Java"
{
  namespace gnu
  {
    namespace javax
    {
      namespace crypto
      {
        namespace cipher
        {
            class Khazad;
        }
      }
    }
  }
}

class gnu::javax::crypto::cipher::Khazad : public ::gnu::javax::crypto::cipher::BaseCipher
{

public:
  Khazad();
private:
  static void khazad(JArray< jbyte > *, jint, JArray< jbyte > *, jint, JArray< JArray< jint > * > *);
public:
  ::java::lang::Object * clone();
  ::java::util::Iterator * blockSizes();
  ::java::util::Iterator * keySizes();
  ::java::lang::Object * makeKey(JArray< jbyte > *, jint);
  void encrypt(JArray< jbyte > *, jint, JArray< jbyte > *, jint, ::java::lang::Object *, jint);
  void decrypt(JArray< jbyte > *, jint, JArray< jbyte > *, jint, ::java::lang::Object *, jint);
  jboolean selfTest();
private:
  static ::java::util::logging::Logger * log;
  static const jint DEFAULT_BLOCK_SIZE = 8;
  static const jint DEFAULT_KEY_SIZE = 16;
  static const jint R = 8;
  static ::java::lang::String * Sd;
  static JArray< jbyte > * S;
  static JArray< jint > * T0;
  static JArray< jint > * T1;
  static JArray< jint > * T2;
  static JArray< jint > * T3;
  static JArray< jint > * T4;
  static JArray< jint > * T5;
  static JArray< jint > * T6;
  static JArray< jint > * T7;
  static JArray< JArray< jint > * > * rc;
  static JArray< jbyte > * KAT_KEY;
  static JArray< jbyte > * KAT_CT;
  static ::java::lang::Boolean * valid;
public:
  static ::java::lang::Class class$;
};

#endif // __gnu_javax_crypto_cipher_Khazad__