summaryrefslogtreecommitdiff
path: root/libjava/gnu/javax/crypto/jce/prng
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/jce/prng
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/jce/prng')
-rw-r--r--libjava/gnu/javax/crypto/jce/prng/ARCFourRandomSpi.h57
-rw-r--r--libjava/gnu/javax/crypto/jce/prng/CSPRNGSpi.h58
-rw-r--r--libjava/gnu/javax/crypto/jce/prng/FortunaImpl.h52
-rw-r--r--libjava/gnu/javax/crypto/jce/prng/ICMRandomSpi.h59
-rw-r--r--libjava/gnu/javax/crypto/jce/prng/UMacRandomSpi.h57
5 files changed, 283 insertions, 0 deletions
diff --git a/libjava/gnu/javax/crypto/jce/prng/ARCFourRandomSpi.h b/libjava/gnu/javax/crypto/jce/prng/ARCFourRandomSpi.h
new file mode 100644
index 000000000..e46dee30b
--- /dev/null
+++ b/libjava/gnu/javax/crypto/jce/prng/ARCFourRandomSpi.h
@@ -0,0 +1,57 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_crypto_jce_prng_ARCFourRandomSpi__
+#define __gnu_javax_crypto_jce_prng_ARCFourRandomSpi__
+
+#pragma interface
+
+#include <java/security/SecureRandomSpi.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace security
+ {
+ namespace prng
+ {
+ class IRandom;
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace crypto
+ {
+ namespace jce
+ {
+ namespace prng
+ {
+ class ARCFourRandomSpi;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::crypto::jce::prng::ARCFourRandomSpi : public ::java::security::SecureRandomSpi
+{
+
+public:
+ ARCFourRandomSpi();
+ virtual JArray< jbyte > * engineGenerateSeed(jint);
+ virtual void engineNextBytes(JArray< jbyte > *);
+ virtual void engineSetSeed(JArray< jbyte > *);
+private:
+ ::gnu::java::security::prng::IRandom * __attribute__((aligned(__alignof__( ::java::security::SecureRandomSpi)))) adaptee;
+ jboolean virgin;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_crypto_jce_prng_ARCFourRandomSpi__
diff --git a/libjava/gnu/javax/crypto/jce/prng/CSPRNGSpi.h b/libjava/gnu/javax/crypto/jce/prng/CSPRNGSpi.h
new file mode 100644
index 000000000..6abf9be9e
--- /dev/null
+++ b/libjava/gnu/javax/crypto/jce/prng/CSPRNGSpi.h
@@ -0,0 +1,58 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_crypto_jce_prng_CSPRNGSpi__
+#define __gnu_javax_crypto_jce_prng_CSPRNGSpi__
+
+#pragma interface
+
+#include <java/security/SecureRandomSpi.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace security
+ {
+ namespace prng
+ {
+ class IRandom;
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace crypto
+ {
+ namespace jce
+ {
+ namespace prng
+ {
+ class CSPRNGSpi;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::crypto::jce::prng::CSPRNGSpi : public ::java::security::SecureRandomSpi
+{
+
+public:
+ CSPRNGSpi();
+public: // actually protected
+ virtual JArray< jbyte > * engineGenerateSeed(jint);
+ virtual void engineNextBytes(JArray< jbyte > *);
+ virtual void engineSetSeed(JArray< jbyte > *);
+private:
+ ::gnu::java::security::prng::IRandom * __attribute__((aligned(__alignof__( ::java::security::SecureRandomSpi)))) adaptee;
+ jboolean virgin;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_crypto_jce_prng_CSPRNGSpi__
diff --git a/libjava/gnu/javax/crypto/jce/prng/FortunaImpl.h b/libjava/gnu/javax/crypto/jce/prng/FortunaImpl.h
new file mode 100644
index 000000000..d684e366a
--- /dev/null
+++ b/libjava/gnu/javax/crypto/jce/prng/FortunaImpl.h
@@ -0,0 +1,52 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_crypto_jce_prng_FortunaImpl__
+#define __gnu_javax_crypto_jce_prng_FortunaImpl__
+
+#pragma interface
+
+#include <java/security/SecureRandomSpi.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace crypto
+ {
+ namespace jce
+ {
+ namespace prng
+ {
+ class FortunaImpl;
+ }
+ }
+ namespace prng
+ {
+ class Fortuna;
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::crypto::jce::prng::FortunaImpl : public ::java::security::SecureRandomSpi
+{
+
+public:
+ FortunaImpl();
+public: // actually protected
+ void engineSetSeed(JArray< jbyte > *);
+ void engineNextBytes(JArray< jbyte > *);
+ JArray< jbyte > * engineGenerateSeed(jint);
+private:
+ jboolean __attribute__((aligned(__alignof__( ::java::security::SecureRandomSpi)))) virgin;
+ ::gnu::javax::crypto::prng::Fortuna * adaptee;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_crypto_jce_prng_FortunaImpl__
diff --git a/libjava/gnu/javax/crypto/jce/prng/ICMRandomSpi.h b/libjava/gnu/javax/crypto/jce/prng/ICMRandomSpi.h
new file mode 100644
index 000000000..540349362
--- /dev/null
+++ b/libjava/gnu/javax/crypto/jce/prng/ICMRandomSpi.h
@@ -0,0 +1,59 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_crypto_jce_prng_ICMRandomSpi__
+#define __gnu_javax_crypto_jce_prng_ICMRandomSpi__
+
+#pragma interface
+
+#include <java/security/SecureRandomSpi.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace crypto
+ {
+ namespace jce
+ {
+ namespace prng
+ {
+ class ICMRandomSpi;
+ }
+ }
+ namespace prng
+ {
+ class ICMGenerator;
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::crypto::jce::prng::ICMRandomSpi : public ::java::security::SecureRandomSpi
+{
+
+public:
+ ICMRandomSpi();
+private:
+ static void resetLocalPRNG();
+public:
+ virtual JArray< jbyte > * engineGenerateSeed(jint);
+ virtual void engineNextBytes(JArray< jbyte > *);
+ virtual void engineSetSeed(JArray< jbyte > *);
+private:
+ static ::java::util::logging::Logger * log;
+ static ::gnu::javax::crypto::prng::ICMGenerator * prng;
+ static ::java::lang::String * MSG;
+ static ::java::lang::String * RETRY;
+ static ::java::lang::String * LIMIT_REACHED_MSG;
+ static ::java::lang::String * RESEED;
+ ::gnu::javax::crypto::prng::ICMGenerator * __attribute__((aligned(__alignof__( ::java::security::SecureRandomSpi)))) adaptee;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_crypto_jce_prng_ICMRandomSpi__
diff --git a/libjava/gnu/javax/crypto/jce/prng/UMacRandomSpi.h b/libjava/gnu/javax/crypto/jce/prng/UMacRandomSpi.h
new file mode 100644
index 000000000..e27425a0b
--- /dev/null
+++ b/libjava/gnu/javax/crypto/jce/prng/UMacRandomSpi.h
@@ -0,0 +1,57 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_crypto_jce_prng_UMacRandomSpi__
+#define __gnu_javax_crypto_jce_prng_UMacRandomSpi__
+
+#pragma interface
+
+#include <java/security/SecureRandomSpi.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace crypto
+ {
+ namespace jce
+ {
+ namespace prng
+ {
+ class UMacRandomSpi;
+ }
+ }
+ namespace prng
+ {
+ class UMacGenerator;
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::crypto::jce::prng::UMacRandomSpi : public ::java::security::SecureRandomSpi
+{
+
+public:
+ UMacRandomSpi();
+private:
+ static void resetLocalPRNG();
+public:
+ virtual JArray< jbyte > * engineGenerateSeed(jint);
+ virtual void engineNextBytes(JArray< jbyte > *);
+ virtual void engineSetSeed(JArray< jbyte > *);
+private:
+ static ::java::util::logging::Logger * log;
+ static ::gnu::javax::crypto::prng::UMacGenerator * prng;
+ static ::java::lang::String * MSG;
+ static ::java::lang::String * RETRY;
+ ::gnu::javax::crypto::prng::UMacGenerator * __attribute__((aligned(__alignof__( ::java::security::SecureRandomSpi)))) adaptee;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_crypto_jce_prng_UMacRandomSpi__