summaryrefslogtreecommitdiffstats
path: root/mozglue/android/NativeCrypto.h
blob: 2850e2bb7a913e76f5c09fc767b78e8241455e4b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
/* Header for class org_mozilla_gecko_background_nativecode_NativeCrypto */

#ifndef _Included_org_mozilla_gecko_background_nativecode_NativeCrypto
#define _Included_org_mozilla_gecko_background_nativecode_NativeCrypto
#ifdef __cplusplus
extern "C" {
#endif
/*
 * Class:     org_mozilla_gecko_background_nativecode_NativeCrypto
 * Method:    pbkdf2SHA256
 * Signature: ([B[BII)[B
 */
JNIEXPORT jbyteArray JNICALL Java_org_mozilla_gecko_background_nativecode_NativeCrypto_pbkdf2SHA256
  (JNIEnv *, jclass, jbyteArray, jbyteArray, jint, jint);

/*
 * Class:     org_mozilla_gecko_background_nativecode_NativeCrypto
 * Method:    sha1
 * Signature: ([B)[B
 */
JNIEXPORT jbyteArray JNICALL Java_org_mozilla_gecko_background_nativecode_NativeCrypto_sha1
  (JNIEnv *, jclass, jbyteArray);

/*
 * Class:     org_mozilla_gecko_background_nativecode_NativeCrypto
 * Method:    sha256init
 * Signature: ()[B
 */
JNIEXPORT jbyteArray JNICALL Java_org_mozilla_gecko_background_nativecode_NativeCrypto_sha256init
  (JNIEnv *, jclass);

/*
 * Class:     org_mozilla_gecko_background_nativecode_NativeCrypto
 * Method:    sha256update
 * Signature: ([B[B)V
 */
JNIEXPORT void JNICALL Java_org_mozilla_gecko_background_nativecode_NativeCrypto_sha256update
  (JNIEnv *, jclass, jbyteArray, jbyteArray, jint);

/*
 * Class:     org_mozilla_gecko_background_nativecode_NativeCrypto
 * Method:    sha256finalize
 * Signature: ([B)[B
 */
JNIEXPORT jbyteArray JNICALL Java_org_mozilla_gecko_background_nativecode_NativeCrypto_sha256finalize
  (JNIEnv *, jclass, jbyteArray);

#ifdef __cplusplus
}
#endif
#endif