ARCFour.h 928 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __gnu_javax_crypto_prng_ARCFour__
  3. #define __gnu_javax_crypto_prng_ARCFour__
  4. #pragma interface
  5. #include <gnu/java/security/prng/BasePRNG.h>
  6. #include <gcj/array.h>
  7. extern "Java"
  8. {
  9. namespace gnu
  10. {
  11. namespace javax
  12. {
  13. namespace crypto
  14. {
  15. namespace prng
  16. {
  17. class ARCFour;
  18. }
  19. }
  20. }
  21. }
  22. }
  23. class gnu::javax::crypto::prng::ARCFour : public ::gnu::java::security::prng::BasePRNG
  24. {
  25. public:
  26. ARCFour();
  27. virtual void setup(::java::util::Map *);
  28. virtual void fillBlock();
  29. static ::java::lang::String * ARCFOUR_KEY_MATERIAL;
  30. static const jint ARCFOUR_SBOX_SIZE = 256;
  31. private:
  32. JArray< jbyte > * __attribute__((aligned(__alignof__( ::gnu::java::security::prng::BasePRNG)))) s;
  33. jbyte m;
  34. jbyte n;
  35. public:
  36. static ::java::lang::Class class$;
  37. };
  38. #endif // __gnu_javax_crypto_prng_ARCFour__