summaryrefslogtreecommitdiff
path: root/libjava/gnu/javax/crypto/sasl/srp/KDF.h
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/sasl/srp/KDF.h
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/sasl/srp/KDF.h')
-rw-r--r--libjava/gnu/javax/crypto/sasl/srp/KDF.h66
1 files changed, 66 insertions, 0 deletions
diff --git a/libjava/gnu/javax/crypto/sasl/srp/KDF.h b/libjava/gnu/javax/crypto/sasl/srp/KDF.h
new file mode 100644
index 000000000..3862fa0c1
--- /dev/null
+++ b/libjava/gnu/javax/crypto/sasl/srp/KDF.h
@@ -0,0 +1,66 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_crypto_sasl_srp_KDF__
+#define __gnu_javax_crypto_sasl_srp_KDF__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace security
+ {
+ namespace util
+ {
+ class PRNG;
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace crypto
+ {
+ namespace prng
+ {
+ class UMacGenerator;
+ }
+ namespace sasl
+ {
+ namespace srp
+ {
+ class KDF;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::crypto::sasl::srp::KDF : public ::java::lang::Object
+{
+
+ KDF(JArray< jbyte > *, jint);
+public: // actually package-private
+ static ::gnu::javax::crypto::sasl::srp::KDF * getInstance(JArray< jbyte > *);
+private:
+ static jint nextByte();
+public:
+ virtual JArray< jbyte > * derive(jint);
+private:
+ static const jint AES_BLOCK_SIZE = 16;
+ static const jint AES_KEY_SIZE = 16;
+ static JArray< jbyte > * buffer;
+ static ::gnu::java::security::util::PRNG * prng;
+ ::gnu::javax::crypto::prng::UMacGenerator * __attribute__((aligned(__alignof__( ::java::lang::Object)))) umac;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_crypto_sasl_srp_KDF__