diff options
author | Mattias Andrée <maandree@operamail.com> | 2013-02-09 09:42:57 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2013-02-09 09:43:08 +0100 |
commit | f0a6834475ca0eb6d1c3f7575bcfc33aa23462a5 (patch) | |
tree | c1db42922dc6fb9c8168f8286f89c5c87d8ae2b8 /java-c-jni | |
parent | beginning jni implemenetation (diff) | |
download | sha3sum-f0a6834475ca0eb6d1c3f7575bcfc33aa23462a5.tar.gz sha3sum-f0a6834475ca0eb6d1c3f7575bcfc33aa23462a5.tar.bz2 sha3sum-f0a6834475ca0eb6d1c3f7575bcfc33aa23462a5.tar.xz |
generate h file with `javah SHA3`
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | java-c-jni/SHA3.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/java-c-jni/SHA3.h b/java-c-jni/SHA3.h new file mode 100644 index 0000000..027cf41 --- /dev/null +++ b/java-c-jni/SHA3.h @@ -0,0 +1,37 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ +#include <jni.h> +/* Header for class SHA3 */ + +#ifndef _Included_SHA3 +#define _Included_SHA3 +#ifdef __cplusplus +extern "C" { +#endif +/* + * Class: SHA3 + * Method: initialise + * Signature: (III)V + */ +JNIEXPORT void JNICALL Java_SHA3_initialise + (JNIEnv *, jclass, jint, jint, jint); + +/* + * Class: SHA3 + * Method: update + * Signature: ([BI)V + */ +JNIEXPORT void JNICALL Java_SHA3_update + (JNIEnv *, jclass, jbyteArray, jint); + +/* + * Class: SHA3 + * Method: digest + * Signature: ([BI)[B + */ +JNIEXPORT jbyteArray JNICALL Java_SHA3_digest + (JNIEnv *, jclass, jbyteArray, jint); + +#ifdef __cplusplus +} +#endif +#endif |