2014-03-07 00:10:54 +04:00
|
|
|
/* 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(
|
2019-05-01 11:47:10 +03:00
|
|
|
JNIEnv*, jclass, jbyteArray, jbyteArray, jint, jint);
|
2014-03-07 00:10:54 +04:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: org_mozilla_gecko_background_nativecode_NativeCrypto
|
|
|
|
* Method: sha1
|
|
|
|
* Signature: ([B)[B
|
|
|
|
*/
|
|
|
|
JNIEXPORT jbyteArray JNICALL
|
2019-05-01 11:47:10 +03:00
|
|
|
Java_org_mozilla_gecko_background_nativecode_NativeCrypto_sha1(JNIEnv*, jclass,
|
2014-03-07 00:10:54 +04:00
|
|
|
jbyteArray);
|
|
|
|
|
2015-11-18 22:10:51 +03:00
|
|
|
/*
|
|
|
|
* Class: org_mozilla_gecko_background_nativecode_NativeCrypto
|
|
|
|
* Method: sha256init
|
|
|
|
* Signature: ()[B
|
|
|
|
*/
|
|
|
|
JNIEXPORT jbyteArray JNICALL
|
2019-05-01 11:47:10 +03:00
|
|
|
Java_org_mozilla_gecko_background_nativecode_NativeCrypto_sha256init(JNIEnv*,
|
2015-11-18 22:10:51 +03:00
|
|
|
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(
|
2019-05-01 11:47:10 +03:00
|
|
|
JNIEnv*, jclass, jbyteArray, jbyteArray, jint);
|
2015-11-18 22:10:51 +03:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: org_mozilla_gecko_background_nativecode_NativeCrypto
|
|
|
|
* Method: sha256finalize
|
|
|
|
* Signature: ([B)[B
|
|
|
|
*/
|
|
|
|
JNIEXPORT jbyteArray JNICALL
|
|
|
|
Java_org_mozilla_gecko_background_nativecode_NativeCrypto_sha256finalize(
|
2019-05-01 11:47:10 +03:00
|
|
|
JNIEnv*, jclass, jbyteArray);
|
2015-11-18 22:10:51 +03:00
|
|
|
|
2014-03-07 00:10:54 +04:00
|
|
|
# ifdef __cplusplus
|
|
|
|
}
|
|
|
|
# endif
|
|
|
|
#endif
|