mozglue/android/NativeCrypto.h
author Sylvestre Ledru <sledru@mozilla.com>
Fri, 30 Nov 2018 11:46:48 +0100
changeset 448947 6f3709b3878117466168c40affa7bca0b60cf75b
parent 274910 49811ce73e27ef75cf48b3bf2a69e652595e46bc
child 454354 5f4630838d46dd81dadb13220a4af0da9e23a619
permissions -rw-r--r--
Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format # ignore-this-changeset

/* 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