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/TripleDES.h | 53 +++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 libjava/gnu/javax/crypto/cipher/TripleDES.h (limited to 'libjava/gnu/javax/crypto/cipher/TripleDES.h') diff --git a/libjava/gnu/javax/crypto/cipher/TripleDES.h b/libjava/gnu/javax/crypto/cipher/TripleDES.h new file mode 100644 index 000000000..cbe5a6c5f --- /dev/null +++ b/libjava/gnu/javax/crypto/cipher/TripleDES.h @@ -0,0 +1,53 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_crypto_cipher_TripleDES__ +#define __gnu_javax_crypto_cipher_TripleDES__ + +#pragma interface + +#include +#include + +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace crypto + { + namespace cipher + { + class DES; + class TripleDES; + } + } + } + } +} + +class gnu::javax::crypto::cipher::TripleDES : public ::gnu::javax::crypto::cipher::BaseCipher +{ + +public: + TripleDES(); + static void adjustParity(JArray< jbyte > *, jint); + static void adjustParity(jint, JArray< jbyte > *, jint); + static jboolean isParityAdjusted(JArray< jbyte > *, jint); + static jboolean isParityAdjusted(jint, JArray< jbyte > *, jint); + virtual ::java::lang::Object * clone(); + virtual ::java::util::Iterator * blockSizes(); + virtual ::java::util::Iterator * keySizes(); + 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); + static const jint BLOCK_SIZE = 8; + static const jint KEY_SIZE = 24; +private: + ::gnu::javax::crypto::cipher::DES * __attribute__((aligned(__alignof__( ::gnu::javax::crypto::cipher::BaseCipher)))) des; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_crypto_cipher_TripleDES__ -- cgit v1.2.3