summaryrefslogtreecommitdiff
path: root/libjava/gnu/javax/crypto/mac
diff options
context:
space:
mode:
authorupstream source tree <ports@midipix.org>2015-03-15 20:14:05 -0400
committerupstream source tree <ports@midipix.org>2015-03-15 20:14:05 -0400
commit554fd8c5195424bdbcabf5de30fdc183aba391bd (patch)
tree976dc5ab7fddf506dadce60ae936f43f58787092 /libjava/gnu/javax/crypto/mac
downloadcbb-gcc-4.6.4-554fd8c5195424bdbcabf5de30fdc183aba391bd.tar.bz2
cbb-gcc-4.6.4-554fd8c5195424bdbcabf5de30fdc183aba391bd.tar.xz
obtained gcc-4.6.4.tar.bz2 from upstream website;upstream
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.
Diffstat (limited to 'libjava/gnu/javax/crypto/mac')
-rw-r--r--libjava/gnu/javax/crypto/mac/BaseMac.h63
-rw-r--r--libjava/gnu/javax/crypto/mac/HMac.h65
-rw-r--r--libjava/gnu/javax/crypto/mac/HMacFactory.h38
-rw-r--r--libjava/gnu/javax/crypto/mac/IMac.h47
-rw-r--r--libjava/gnu/javax/crypto/mac/MacFactory.h41
-rw-r--r--libjava/gnu/javax/crypto/mac/MacInputStream.h47
-rw-r--r--libjava/gnu/javax/crypto/mac/MacOutputStream.h47
-rw-r--r--libjava/gnu/javax/crypto/mac/OMAC.h75
-rw-r--r--libjava/gnu/javax/crypto/mac/TMMH16.h79
-rw-r--r--libjava/gnu/javax/crypto/mac/UHash32$L1Hash32.h60
-rw-r--r--libjava/gnu/javax/crypto/mac/UHash32$L2Hash32.h65
-rw-r--r--libjava/gnu/javax/crypto/mac/UHash32$L3Hash32.h50
-rw-r--r--libjava/gnu/javax/crypto/mac/UHash32.h73
-rw-r--r--libjava/gnu/javax/crypto/mac/UMac32.h74
14 files changed, 824 insertions, 0 deletions
diff --git a/libjava/gnu/javax/crypto/mac/BaseMac.h b/libjava/gnu/javax/crypto/mac/BaseMac.h
new file mode 100644
index 000000000..aebe9313e
--- /dev/null
+++ b/libjava/gnu/javax/crypto/mac/BaseMac.h
@@ -0,0 +1,63 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_crypto_mac_BaseMac__
+#define __gnu_javax_crypto_mac_BaseMac__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace security
+ {
+ namespace hash
+ {
+ class IMessageDigest;
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace crypto
+ {
+ namespace mac
+ {
+ class BaseMac;
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::crypto::mac::BaseMac : public ::java::lang::Object
+{
+
+public: // actually protected
+ BaseMac(::java::lang::String *);
+ BaseMac(::java::lang::String *, ::gnu::java::security::hash::IMessageDigest *);
+public:
+ virtual ::java::lang::String * name();
+ virtual jint macSize();
+ virtual void update(jbyte);
+ virtual void update(JArray< jbyte > *, jint, jint);
+ virtual void reset();
+ virtual ::java::lang::Object * clone();
+ virtual void init(::java::util::Map *) = 0;
+ virtual JArray< jbyte > * digest() = 0;
+ virtual jboolean selfTest() = 0;
+public: // actually protected
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) name__;
+ ::gnu::java::security::hash::IMessageDigest * underlyingHash;
+ jint truncatedSize;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_crypto_mac_BaseMac__
diff --git a/libjava/gnu/javax/crypto/mac/HMac.h b/libjava/gnu/javax/crypto/mac/HMac.h
new file mode 100644
index 000000000..c38a9e795
--- /dev/null
+++ b/libjava/gnu/javax/crypto/mac/HMac.h
@@ -0,0 +1,65 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_crypto_mac_HMac__
+#define __gnu_javax_crypto_mac_HMac__
+
+#pragma interface
+
+#include <gnu/javax/crypto/mac/BaseMac.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace security
+ {
+ namespace hash
+ {
+ class IMessageDigest;
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace crypto
+ {
+ namespace mac
+ {
+ class HMac;
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::crypto::mac::HMac : public ::gnu::javax::crypto::mac::BaseMac
+{
+
+public: // actually protected
+ HMac(::gnu::java::security::hash::IMessageDigest *);
+public:
+ virtual ::java::lang::Object * clone();
+ virtual void init(::java::util::Map *);
+ virtual void reset();
+ virtual JArray< jbyte > * digest();
+ virtual jboolean selfTest();
+ static ::java::lang::String * USE_WITH_PKCS5_V2;
+private:
+ static const jbyte IPAD_BYTE = 54;
+ static const jbyte OPAD_BYTE = 92;
+ static ::java::lang::Boolean * valid;
+public: // actually protected
+ jint __attribute__((aligned(__alignof__( ::gnu::javax::crypto::mac::BaseMac)))) macSize;
+ jint blockSize;
+ ::gnu::java::security::hash::IMessageDigest * ipadHash;
+ ::gnu::java::security::hash::IMessageDigest * opadHash;
+ JArray< jbyte > * ipad;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_crypto_mac_HMac__
diff --git a/libjava/gnu/javax/crypto/mac/HMacFactory.h b/libjava/gnu/javax/crypto/mac/HMacFactory.h
new file mode 100644
index 000000000..e32104e7a
--- /dev/null
+++ b/libjava/gnu/javax/crypto/mac/HMacFactory.h
@@ -0,0 +1,38 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_crypto_mac_HMacFactory__
+#define __gnu_javax_crypto_mac_HMacFactory__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace crypto
+ {
+ namespace mac
+ {
+ class HMacFactory;
+ class IMac;
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::crypto::mac::HMacFactory : public ::java::lang::Object
+{
+
+ HMacFactory();
+public:
+ static ::gnu::javax::crypto::mac::IMac * getInstance(::java::lang::String *);
+ static ::java::util::Set * getNames();
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_crypto_mac_HMacFactory__
diff --git a/libjava/gnu/javax/crypto/mac/IMac.h b/libjava/gnu/javax/crypto/mac/IMac.h
new file mode 100644
index 000000000..9bed61ae2
--- /dev/null
+++ b/libjava/gnu/javax/crypto/mac/IMac.h
@@ -0,0 +1,47 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_crypto_mac_IMac__
+#define __gnu_javax_crypto_mac_IMac__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace crypto
+ {
+ namespace mac
+ {
+ class IMac;
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::crypto::mac::IMac : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::lang::String * name() = 0;
+ virtual jint macSize() = 0;
+ virtual void init(::java::util::Map *) = 0;
+ virtual void update(jbyte) = 0;
+ virtual void update(JArray< jbyte > *, jint, jint) = 0;
+ virtual JArray< jbyte > * digest() = 0;
+ virtual void reset() = 0;
+ virtual jboolean selfTest() = 0;
+ virtual ::java::lang::Object * clone() = 0;
+ static ::java::lang::String * MAC_KEY_MATERIAL;
+ static ::java::lang::String * TRUNCATED_SIZE;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __gnu_javax_crypto_mac_IMac__
diff --git a/libjava/gnu/javax/crypto/mac/MacFactory.h b/libjava/gnu/javax/crypto/mac/MacFactory.h
new file mode 100644
index 000000000..141a59cf6
--- /dev/null
+++ b/libjava/gnu/javax/crypto/mac/MacFactory.h
@@ -0,0 +1,41 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_crypto_mac_MacFactory__
+#define __gnu_javax_crypto_mac_MacFactory__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace crypto
+ {
+ namespace mac
+ {
+ class IMac;
+ class MacFactory;
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::crypto::mac::MacFactory : public ::java::lang::Object
+{
+
+ MacFactory();
+public:
+ static ::gnu::javax::crypto::mac::IMac * getInstance(::java::lang::String *);
+ static ::java::util::Set * getNames();
+private:
+ static ::java::util::Set * names;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_crypto_mac_MacFactory__
diff --git a/libjava/gnu/javax/crypto/mac/MacInputStream.h b/libjava/gnu/javax/crypto/mac/MacInputStream.h
new file mode 100644
index 000000000..52087df38
--- /dev/null
+++ b/libjava/gnu/javax/crypto/mac/MacInputStream.h
@@ -0,0 +1,47 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_crypto_mac_MacInputStream__
+#define __gnu_javax_crypto_mac_MacInputStream__
+
+#pragma interface
+
+#include <java/io/FilterInputStream.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace crypto
+ {
+ namespace mac
+ {
+ class IMac;
+ class MacInputStream;
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::crypto::mac::MacInputStream : public ::java::io::FilterInputStream
+{
+
+public:
+ MacInputStream(::java::io::InputStream *, ::gnu::javax::crypto::mac::IMac *);
+ virtual ::gnu::javax::crypto::mac::IMac * getMac();
+ virtual void setMac(::gnu::javax::crypto::mac::IMac *);
+ virtual void on(jboolean);
+ virtual jint read();
+ virtual jint read(JArray< jbyte > *, jint, jint);
+private:
+ jboolean __attribute__((aligned(__alignof__( ::java::io::FilterInputStream)))) digesting;
+ ::gnu::javax::crypto::mac::IMac * mac;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_crypto_mac_MacInputStream__
diff --git a/libjava/gnu/javax/crypto/mac/MacOutputStream.h b/libjava/gnu/javax/crypto/mac/MacOutputStream.h
new file mode 100644
index 000000000..936a59927
--- /dev/null
+++ b/libjava/gnu/javax/crypto/mac/MacOutputStream.h
@@ -0,0 +1,47 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_crypto_mac_MacOutputStream__
+#define __gnu_javax_crypto_mac_MacOutputStream__
+
+#pragma interface
+
+#include <java/io/FilterOutputStream.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace crypto
+ {
+ namespace mac
+ {
+ class IMac;
+ class MacOutputStream;
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::crypto::mac::MacOutputStream : public ::java::io::FilterOutputStream
+{
+
+public:
+ MacOutputStream(::java::io::OutputStream *, ::gnu::javax::crypto::mac::IMac *);
+ virtual ::gnu::javax::crypto::mac::IMac * getMac();
+ virtual void setMac(::gnu::javax::crypto::mac::IMac *);
+ virtual void on(jboolean);
+ virtual void write(jint);
+ virtual void write(JArray< jbyte > *, jint, jint);
+private:
+ jboolean __attribute__((aligned(__alignof__( ::java::io::FilterOutputStream)))) digesting;
+ ::gnu::javax::crypto::mac::IMac * mac;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_crypto_mac_MacOutputStream__
diff --git a/libjava/gnu/javax/crypto/mac/OMAC.h b/libjava/gnu/javax/crypto/mac/OMAC.h
new file mode 100644
index 000000000..e608c466c
--- /dev/null
+++ b/libjava/gnu/javax/crypto/mac/OMAC.h
@@ -0,0 +1,75 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_crypto_mac_OMAC__
+#define __gnu_javax_crypto_mac_OMAC__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace crypto
+ {
+ namespace cipher
+ {
+ class IBlockCipher;
+ }
+ namespace mac
+ {
+ class OMAC;
+ }
+ namespace mode
+ {
+ class IMode;
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::crypto::mac::OMAC : public ::java::lang::Object
+{
+
+public:
+ OMAC(::gnu::javax::crypto::cipher::IBlockCipher *);
+ virtual ::java::lang::Object * clone();
+ virtual ::java::lang::String * name();
+ virtual jint macSize();
+ virtual void init(::java::util::Map *);
+ virtual void update(jbyte);
+ virtual void update(JArray< jbyte > *, jint, jint);
+ virtual JArray< jbyte > * digest();
+ virtual void digest(JArray< jbyte > *, jint);
+ virtual void reset();
+ virtual jboolean selfTest();
+private:
+ void process();
+ static ::java::util::logging::Logger * log;
+ static const jbyte C1 = -121;
+ static const jbyte C2 = 27;
+ static JArray< jbyte > * KEY0;
+ static JArray< jbyte > * DIGEST0;
+ static ::java::lang::Boolean * valid;
+ ::gnu::javax::crypto::cipher::IBlockCipher * __attribute__((aligned(__alignof__( ::java::lang::Object)))) cipher;
+ ::java::lang::String * name__;
+ ::gnu::javax::crypto::mode::IMode * mode;
+ jint blockSize;
+ jint outputSize;
+ JArray< jbyte > * Lu;
+ JArray< jbyte > * Lu2;
+ JArray< jbyte > * M;
+ JArray< jbyte > * Y;
+ jboolean init__;
+ jint index;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_crypto_mac_OMAC__
diff --git a/libjava/gnu/javax/crypto/mac/TMMH16.h b/libjava/gnu/javax/crypto/mac/TMMH16.h
new file mode 100644
index 000000000..9ca8a7a4f
--- /dev/null
+++ b/libjava/gnu/javax/crypto/mac/TMMH16.h
@@ -0,0 +1,79 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_crypto_mac_TMMH16__
+#define __gnu_javax_crypto_mac_TMMH16__
+
+#pragma interface
+
+#include <gnu/javax/crypto/mac/BaseMac.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace security
+ {
+ namespace prng
+ {
+ class IRandom;
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace crypto
+ {
+ namespace mac
+ {
+ class TMMH16;
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::crypto::mac::TMMH16 : public ::gnu::javax::crypto::mac::BaseMac
+{
+
+public:
+ TMMH16();
+ virtual jint macSize();
+ virtual void init(::java::util::Map *);
+ virtual void update(jbyte);
+ virtual void update(JArray< jbyte > *, jint, jint);
+ virtual JArray< jbyte > * digest();
+ virtual void reset();
+ virtual jboolean selfTest();
+ virtual ::java::lang::Object * clone();
+ virtual void update(jbyte, ::gnu::java::security::prng::IRandom *);
+ virtual void update(JArray< jbyte > *, jint, jint, ::gnu::java::security::prng::IRandom *);
+ virtual JArray< jbyte > * digest(::gnu::java::security::prng::IRandom *);
+private:
+ jint getNextKeyWord(::gnu::java::security::prng::IRandom *);
+ void doFinalRound(::gnu::java::security::prng::IRandom *);
+public:
+ static ::java::lang::String * TAG_LENGTH;
+ static ::java::lang::String * KEYSTREAM;
+ static ::java::lang::String * PREFIX;
+private:
+ static const jint P = 65537;
+ static ::java::lang::Boolean * valid;
+ jint __attribute__((aligned(__alignof__( ::gnu::javax::crypto::mac::BaseMac)))) tagWords;
+ ::gnu::java::security::prng::IRandom * keystream;
+ JArray< jbyte > * prefix;
+ jlong keyWords;
+ jlong msgLength;
+ jlong msgWords;
+ JArray< jint > * context;
+ JArray< jint > * K0;
+ JArray< jint > * Ki;
+ jint Mi;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_crypto_mac_TMMH16__
diff --git a/libjava/gnu/javax/crypto/mac/UHash32$L1Hash32.h b/libjava/gnu/javax/crypto/mac/UHash32$L1Hash32.h
new file mode 100644
index 000000000..8df86621d
--- /dev/null
+++ b/libjava/gnu/javax/crypto/mac/UHash32$L1Hash32.h
@@ -0,0 +1,60 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_crypto_mac_UHash32$L1Hash32__
+#define __gnu_javax_crypto_mac_UHash32$L1Hash32__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace crypto
+ {
+ namespace mac
+ {
+ class UHash32;
+ class UHash32$L1Hash32;
+ class UHash32$L2Hash32;
+ class UHash32$L3Hash32;
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::crypto::mac::UHash32$L1Hash32 : public ::java::lang::Object
+{
+
+public: // actually package-private
+ UHash32$L1Hash32(::gnu::javax::crypto::mac::UHash32 *);
+private:
+ UHash32$L1Hash32(::gnu::javax::crypto::mac::UHash32 *, ::gnu::javax::crypto::mac::UHash32$L1Hash32 *);
+public:
+ virtual ::java::lang::Object * clone();
+ virtual void init(JArray< jbyte > *, JArray< jbyte > *, JArray< jbyte > *, JArray< jbyte > *);
+ virtual void update(jbyte);
+ virtual JArray< jbyte > * digest();
+ virtual void reset();
+private:
+ JArray< jbyte > * nh32(jint);
+ JArray< jint > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) key;
+ JArray< jbyte > * buffer;
+ jint count;
+ ::java::io::ByteArrayOutputStream * Y;
+ jlong totalCount;
+ ::gnu::javax::crypto::mac::UHash32$L2Hash32 * l2hash;
+ ::gnu::javax::crypto::mac::UHash32$L3Hash32 * l3hash;
+public: // actually package-private
+ ::gnu::javax::crypto::mac::UHash32 * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_crypto_mac_UHash32$L1Hash32__
diff --git a/libjava/gnu/javax/crypto/mac/UHash32$L2Hash32.h b/libjava/gnu/javax/crypto/mac/UHash32$L2Hash32.h
new file mode 100644
index 000000000..1971adda4
--- /dev/null
+++ b/libjava/gnu/javax/crypto/mac/UHash32$L2Hash32.h
@@ -0,0 +1,65 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_crypto_mac_UHash32$L2Hash32__
+#define __gnu_javax_crypto_mac_UHash32$L2Hash32__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace crypto
+ {
+ namespace mac
+ {
+ class UHash32;
+ class UHash32$L2Hash32;
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace math
+ {
+ class BigInteger;
+ }
+ }
+}
+
+class gnu::javax::crypto::mac::UHash32$L2Hash32 : public ::java::lang::Object
+{
+
+public: // actually package-private
+ UHash32$L2Hash32(::gnu::javax::crypto::mac::UHash32 *, JArray< jbyte > *);
+private:
+ UHash32$L2Hash32(::gnu::javax::crypto::mac::UHash32 *, ::gnu::javax::crypto::mac::UHash32$L2Hash32 *);
+public:
+ virtual ::java::lang::Object * clone();
+public: // actually package-private
+ virtual void update(JArray< jbyte > *, jint, jint);
+ virtual JArray< jbyte > * digest();
+ virtual void reset();
+private:
+ JArray< jbyte > * yTo16bytes();
+ void poly(jint, ::java::math::BigInteger *, ::java::math::BigInteger *, JArray< jbyte > *, jint, jint);
+ ::java::math::BigInteger * __attribute__((aligned(__alignof__( ::java::lang::Object)))) k64;
+ ::java::math::BigInteger * k128;
+ ::java::math::BigInteger * y;
+ jboolean highBound;
+ jlong bytesSoFar;
+ ::java::io::ByteArrayOutputStream * buffer;
+public: // actually package-private
+ ::gnu::javax::crypto::mac::UHash32 * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_crypto_mac_UHash32$L2Hash32__
diff --git a/libjava/gnu/javax/crypto/mac/UHash32$L3Hash32.h b/libjava/gnu/javax/crypto/mac/UHash32$L3Hash32.h
new file mode 100644
index 000000000..4e6b580b5
--- /dev/null
+++ b/libjava/gnu/javax/crypto/mac/UHash32$L3Hash32.h
@@ -0,0 +1,50 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_crypto_mac_UHash32$L3Hash32__
+#define __gnu_javax_crypto_mac_UHash32$L3Hash32__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace crypto
+ {
+ namespace mac
+ {
+ class UHash32;
+ class UHash32$L3Hash32;
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::crypto::mac::UHash32$L3Hash32 : public ::java::lang::Object
+{
+
+public: // actually package-private
+ UHash32$L3Hash32(::gnu::javax::crypto::mac::UHash32 *, JArray< jbyte > *, JArray< jbyte > *);
+private:
+ UHash32$L3Hash32(::gnu::javax::crypto::mac::UHash32 *, JArray< jint > *);
+public:
+ virtual ::java::lang::Object * clone();
+public: // actually package-private
+ virtual JArray< jbyte > * digest(JArray< jbyte > *);
+private:
+ static const jlong PRIME_36 = 68719476731LL;
+ JArray< jint > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) k;
+public: // actually package-private
+ ::gnu::javax::crypto::mac::UHash32 * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_crypto_mac_UHash32$L3Hash32__
diff --git a/libjava/gnu/javax/crypto/mac/UHash32.h b/libjava/gnu/javax/crypto/mac/UHash32.h
new file mode 100644
index 000000000..0b2be15f4
--- /dev/null
+++ b/libjava/gnu/javax/crypto/mac/UHash32.h
@@ -0,0 +1,73 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_crypto_mac_UHash32__
+#define __gnu_javax_crypto_mac_UHash32__
+
+#pragma interface
+
+#include <gnu/javax/crypto/mac/BaseMac.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace crypto
+ {
+ namespace mac
+ {
+ class UHash32;
+ class UHash32$L1Hash32;
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace math
+ {
+ class BigInteger;
+ }
+ }
+}
+
+class gnu::javax::crypto::mac::UHash32 : public ::gnu::javax::crypto::mac::BaseMac
+{
+
+public:
+ UHash32();
+private:
+ UHash32(::gnu::javax::crypto::mac::UHash32 *);
+public: // actually package-private
+ static ::java::math::BigInteger * prime(jint);
+public:
+ virtual ::java::lang::Object * clone();
+ virtual jint macSize();
+ virtual void init(::java::util::Map *);
+ virtual void update(jbyte);
+ virtual void update(JArray< jbyte > *, jint, jint);
+ virtual JArray< jbyte > * digest();
+ virtual void reset();
+ virtual jboolean selfTest();
+private:
+ static ::java::math::BigInteger * PRIME_19;
+ static ::java::math::BigInteger * PRIME_32;
+ static ::java::math::BigInteger * PRIME_36;
+ static ::java::math::BigInteger * PRIME_64;
+ static ::java::math::BigInteger * PRIME_128;
+public: // actually package-private
+ static ::java::math::BigInteger * TWO;
+ static jlong BOUNDARY;
+ static ::java::math::BigInteger * LOWER_RANGE;
+ static ::java::math::BigInteger * UPPER_RANGE;
+ static JArray< jbyte > * ALL_ZEROES;
+ jint __attribute__((aligned(__alignof__( ::gnu::javax::crypto::mac::BaseMac)))) streams;
+ JArray< ::gnu::javax::crypto::mac::UHash32$L1Hash32 * > * l1hash;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_crypto_mac_UHash32__
diff --git a/libjava/gnu/javax/crypto/mac/UMac32.h b/libjava/gnu/javax/crypto/mac/UMac32.h
new file mode 100644
index 000000000..7cec99eff
--- /dev/null
+++ b/libjava/gnu/javax/crypto/mac/UMac32.h
@@ -0,0 +1,74 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_crypto_mac_UMac32__
+#define __gnu_javax_crypto_mac_UMac32__
+
+#pragma interface
+
+#include <gnu/javax/crypto/mac/BaseMac.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace crypto
+ {
+ namespace mac
+ {
+ class UHash32;
+ class UMac32;
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace math
+ {
+ class BigInteger;
+ }
+ }
+}
+
+class gnu::javax::crypto::mac::UMac32 : public ::gnu::javax::crypto::mac::BaseMac
+{
+
+public:
+ UMac32();
+private:
+ UMac32(::gnu::javax::crypto::mac::UMac32 *);
+public:
+ virtual ::java::lang::Object * clone();
+ virtual jint macSize();
+ virtual void init(::java::util::Map *);
+ virtual void update(jbyte);
+ virtual void update(JArray< jbyte > *, jint, jint);
+ virtual JArray< jbyte > * digest();
+ virtual void reset();
+ virtual jboolean selfTest();
+private:
+ JArray< jbyte > * pdf();
+public:
+ static ::java::lang::String * NONCE_MATERIAL;
+private:
+ static ::java::lang::String * TV1;
+ static ::java::math::BigInteger * MAX_NONCE_ITERATIONS;
+public: // actually package-private
+ static const jint OUTPUT_LEN = 8;
+ static const jint L1_KEY_LEN = 1024;
+ static const jint KEY_LEN = 16;
+private:
+ static ::java::lang::Boolean * valid;
+ JArray< jbyte > * __attribute__((aligned(__alignof__( ::gnu::javax::crypto::mac::BaseMac)))) nonce;
+ ::gnu::javax::crypto::mac::UHash32 * uhash32;
+ ::java::math::BigInteger * nonceReuseCount;
+ JArray< jbyte > * K;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_crypto_mac_UMac32__