summaryrefslogtreecommitdiff
path: root/libjava/gnu/javax/crypto/prng/ARCFour.h
blob: 097b0b367d1c1cf79685e1ea1e32e83c93be62a0 (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
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __gnu_javax_crypto_prng_ARCFour__
#define __gnu_javax_crypto_prng_ARCFour__

#pragma interface

#include <gnu/java/security/prng/BasePRNG.h>
#include <gcj/array.h>

extern "Java"
{
  namespace gnu
  {
    namespace javax
    {
      namespace crypto
      {
        namespace prng
        {
            class ARCFour;
        }
      }
    }
  }
}

class gnu::javax::crypto::prng::ARCFour : public ::gnu::java::security::prng::BasePRNG
{

public:
  ARCFour();
  virtual void setup(::java::util::Map *);
  virtual void fillBlock();
  static ::java::lang::String * ARCFOUR_KEY_MATERIAL;
  static const jint ARCFOUR_SBOX_SIZE = 256;
private:
  JArray< jbyte > * __attribute__((aligned(__alignof__( ::gnu::java::security::prng::BasePRNG)))) s;
  jbyte m;
  jbyte n;
public:
  static ::java::lang::Class class$;
};

#endif // __gnu_javax_crypto_prng_ARCFour__