From 554fd8c5195424bdbcabf5de30fdc183aba391bd Mon Sep 17 00:00:00 2001 From: upstream source tree Date: Sun, 15 Mar 2015 20:14:05 -0400 Subject: obtained gcc-4.6.4.tar.bz2 from upstream website; verified gcc-4.6.4.tar.bz2.sig; imported gcc-4.6.4 source tree from verified upstream tarball. downloading a git-generated archive based on the 'upstream' tag should provide you with a source tree that is binary identical to the one extracted from the above tarball. if you have obtained the source via the command 'git clone', however, do note that line-endings of files in your working directory might differ from line-endings of the respective files in the upstream repository. --- libjava/gnu/javax/crypto/cipher/Blowfish.h | 65 ++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 libjava/gnu/javax/crypto/cipher/Blowfish.h (limited to 'libjava/gnu/javax/crypto/cipher/Blowfish.h') diff --git a/libjava/gnu/javax/crypto/cipher/Blowfish.h b/libjava/gnu/javax/crypto/cipher/Blowfish.h new file mode 100644 index 000000000..dac15df6c --- /dev/null +++ b/libjava/gnu/javax/crypto/cipher/Blowfish.h @@ -0,0 +1,65 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_crypto_cipher_Blowfish__ +#define __gnu_javax_crypto_cipher_Blowfish__ + +#pragma interface + +#include +#include + +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace crypto + { + namespace cipher + { + class Blowfish; + class Blowfish$Block; + class Blowfish$Context; + } + } + } + } +} + +class gnu::javax::crypto::cipher::Blowfish : public ::gnu::javax::crypto::cipher::BaseCipher +{ + +public: + Blowfish(); + virtual ::java::lang::Object * clone(); + virtual ::java::util::Iterator * keySizes(); + virtual ::java::util::Iterator * blockSizes(); + virtual ::java::lang::Object * makeKey(JArray< jbyte > *, jint); + virtual void encrypt(JArray< jbyte > *, jint, JArray< jbyte > *, jint, ::java::lang::Object *, jint); + virtual void decrypt(JArray< jbyte > *, jint, JArray< jbyte > *, jint, ::java::lang::Object *, jint); +private: + void blowfishEncrypt(::gnu::javax::crypto::cipher::Blowfish$Block *, ::gnu::javax::crypto::cipher::Blowfish$Context *); + void blowfishDecrypt(::gnu::javax::crypto::cipher::Blowfish$Block *, ::gnu::javax::crypto::cipher::Blowfish$Context *); +public: + virtual jboolean selfTest(); +private: + static const jint DEFAULT_BLOCK_SIZE = 8; + static const jint DEFAULT_KEY_SIZE = 8; + static const jint MAX_KEY_LENGTH = 56; + static JArray< jint > * P; +public: // actually package-private + static JArray< jint > * KS0; +private: + static JArray< jint > * KS1; + static JArray< jint > * KS2; + static JArray< jint > * KS3; + static ::java::lang::Boolean * valid; + static JArray< jbyte > * TV_KEY; + static JArray< jbyte > * TV_CT; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_crypto_cipher_Blowfish__ -- cgit v1.2.3