Main Page   Modules   Data Structures   File List   Data Fields   Globals   Related Pages  

beecrypt/javaglue.h File Reference

More...

#include <jni.h>

Go to the source code of this file.

Defines

#define javax_crypto_Cipher_UNINITIALIZED   0L
#define javax_crypto_Cipher_ENCRYPT_MODE   1L
#define javax_crypto_Cipher_DECRYPT_MODE   2L
#define javax_crypto_Cipher_WRAP_MODE   3L
#define javax_crypto_Cipher_UNWRAP_MODE   4L
#define javax_crypto_Cipher_PUBLIC_KEY   1L
#define javax_crypto_Cipher_PRIVATE_KEY   2L
#define javax_crypto_Cipher_SECRET_KEY   3L
#define beecrypt_crypto_NativeBlockCipher_MODE_ECB   0L
#define beecrypt_crypto_NativeBlockCipher_MODE_CBC   1L
#define beecrypt_crypto_NativeBlockCipher_PADDING_NOPADDING   0L
#define beecrypt_crypto_NativeBlockCipher_PADDING_PKCS5   1L

Functions

JNIEXPORT jlong JNICALL Java_beecrypt_security_NativeMessageDigest_find (JNIEnv *, jclass, jstring)
JNIEXPORT jlong JNICALL Java_beecrypt_security_NativeMessageDigest_allocParam (JNIEnv *, jclass, jlong)
JNIEXPORT jlong JNICALL Java_beecrypt_security_NativeMessageDigest_cloneParam (JNIEnv *, jclass, jlong, jlong)
JNIEXPORT void JNICALL Java_beecrypt_security_NativeMessageDigest_freeParam (JNIEnv *, jclass, jlong)
JNIEXPORT void JNICALL Java_beecrypt_security_NativeMessageDigest_reset (JNIEnv *, jclass, jlong, jlong)
JNIEXPORT void JNICALL Java_beecrypt_security_NativeMessageDigest_update (JNIEnv *, jclass, jlong, jlong, jbyte)
JNIEXPORT void JNICALL Java_beecrypt_security_NativeMessageDigest_updateBlock (JNIEnv *, jclass, jlong, jlong, jbyteArray, jint, jint)
JNIEXPORT jbyteArray JNICALL Java_beecrypt_security_NativeMessageDigest_digest (JNIEnv *, jclass, jlong, jlong)
JNIEXPORT jint JNICALL Java_beecrypt_security_NativeMessageDigest_digestLength (JNIEnv *, jclass, jlong)
JNIEXPORT jlong JNICALL Java_beecrypt_security_NativeSecureRandom_find (JNIEnv *, jclass, jstring)
JNIEXPORT jlong JNICALL Java_beecrypt_security_NativeSecureRandom_allocParam (JNIEnv *, jclass, jlong)
JNIEXPORT jlong JNICALL Java_beecrypt_security_NativeSecureRandom_cloneParam (JNIEnv *, jclass, jlong, jlong)
JNIEXPORT void JNICALL Java_beecrypt_security_NativeSecureRandom_freeParam (JNIEnv *, jclass, jlong)
JNIEXPORT void JNICALL Java_beecrypt_security_NativeSecureRandom_setup (JNIEnv *, jclass, jlong, jlong)
JNIEXPORT void JNICALL Java_beecrypt_security_NativeSecureRandom_setSeed (JNIEnv *, jclass, jlong, jlong, jbyteArray)
JNIEXPORT void JNICALL Java_beecrypt_security_NativeSecureRandom_nextBytes (JNIEnv *, jclass, jlong, jlong, jbyteArray)
JNIEXPORT void JNICALL Java_beecrypt_security_NativeSecureRandom_generateSeed (JNIEnv *, jclass, jbyteArray)
JNIEXPORT jlong JNICALL Java_beecrypt_crypto_NativeBlockCipher_find (JNIEnv *, jclass, jstring)
JNIEXPORT jlong JNICALL Java_beecrypt_crypto_NativeBlockCipher_allocParam (JNIEnv *, jclass, jlong)
JNIEXPORT void JNICALL Java_beecrypt_crypto_NativeBlockCipher_freeParam (JNIEnv *, jclass, jlong)
JNIEXPORT jint JNICALL Java_beecrypt_crypto_NativeBlockCipher_getBlockSize (JNIEnv *, jclass, jlong)
JNIEXPORT void JNICALL Java_beecrypt_crypto_NativeBlockCipher_setup (JNIEnv *, jclass, jlong, jlong, jint, jbyteArray)
JNIEXPORT void JNICALL Java_beecrypt_crypto_NativeBlockCipher_setIV (JNIEnv *, jclass, jlong, jlong, jbyteArray)
JNIEXPORT void JNICALL Java_beecrypt_crypto_NativeBlockCipher_encryptECB (JNIEnv *, jclass, jlong, jlong, jbyteArray, jint, jbyteArray, jint, jint)
JNIEXPORT void JNICALL Java_beecrypt_crypto_NativeBlockCipher_decryptECB (JNIEnv *, jclass, jlong, jlong, jbyteArray, jint, jbyteArray, jint, jint)
JNIEXPORT void JNICALL Java_beecrypt_crypto_NativeBlockCipher_encryptCBC (JNIEnv *, jclass, jlong, jlong, jbyteArray, jint, jbyteArray, jint, jint)
JNIEXPORT void JNICALL Java_beecrypt_crypto_NativeBlockCipher_decryptCBC (JNIEnv *, jclass, jlong, jlong, jbyteArray, jint, jbyteArray, jint, jint)


Detailed Description

Definition in file javaglue.h.


Define Documentation

#define beecrypt_crypto_NativeBlockCipher_MODE_CBC   1L
 

Definition at line 202 of file javaglue.h.

#define beecrypt_crypto_NativeBlockCipher_MODE_ECB   0L
 

Definition at line 200 of file javaglue.h.

#define beecrypt_crypto_NativeBlockCipher_PADDING_NOPADDING   0L
 

Definition at line 205 of file javaglue.h.

#define beecrypt_crypto_NativeBlockCipher_PADDING_PKCS5   1L
 

Definition at line 207 of file javaglue.h.

#define javax_crypto_Cipher_DECRYPT_MODE   2L
 

Definition at line 19 of file javaglue.h.

#define javax_crypto_Cipher_ENCRYPT_MODE   1L
 

Definition at line 17 of file javaglue.h.

#define javax_crypto_Cipher_PRIVATE_KEY   2L
 

Definition at line 27 of file javaglue.h.

#define javax_crypto_Cipher_PUBLIC_KEY   1L
 

Definition at line 25 of file javaglue.h.

#define javax_crypto_Cipher_SECRET_KEY   3L
 

Definition at line 29 of file javaglue.h.

#define javax_crypto_Cipher_UNINITIALIZED   0L
 

Definition at line 15 of file javaglue.h.

#define javax_crypto_Cipher_UNWRAP_MODE   4L
 

Definition at line 23 of file javaglue.h.

#define javax_crypto_Cipher_WRAP_MODE   3L
 

Definition at line 21 of file javaglue.h.


Function Documentation

JNIEXPORT jlong JNICALL Java_beecrypt_crypto_NativeBlockCipher_allocParam JNIEnv *   ,
jclass   ,
jlong   
 

JNIEXPORT void JNICALL Java_beecrypt_crypto_NativeBlockCipher_decryptCBC JNIEnv *   ,
jclass   ,
jlong   ,
jlong   ,
jbyteArray   ,
jint   ,
jbyteArray   ,
jint   ,
jint   
 

JNIEXPORT void JNICALL Java_beecrypt_crypto_NativeBlockCipher_decryptECB JNIEnv *   ,
jclass   ,
jlong   ,
jlong   ,
jbyteArray   ,
jint   ,
jbyteArray   ,
jint   ,
jint   
 

JNIEXPORT void JNICALL Java_beecrypt_crypto_NativeBlockCipher_encryptCBC JNIEnv *   ,
jclass   ,
jlong   ,
jlong   ,
jbyteArray   ,
jint   ,
jbyteArray   ,
jint   ,
jint   
 

JNIEXPORT void JNICALL Java_beecrypt_crypto_NativeBlockCipher_encryptECB JNIEnv *   ,
jclass   ,
jlong   ,
jlong   ,
jbyteArray   ,
jint   ,
jbyteArray   ,
jint   ,
jint   
 

JNIEXPORT jlong JNICALL Java_beecrypt_crypto_NativeBlockCipher_find JNIEnv *   ,
jclass   ,
jstring   
 

JNIEXPORT void JNICALL Java_beecrypt_crypto_NativeBlockCipher_freeParam JNIEnv *   ,
jclass   ,
jlong   
 

JNIEXPORT jint JNICALL Java_beecrypt_crypto_NativeBlockCipher_getBlockSize JNIEnv *   ,
jclass   ,
jlong   
 

JNIEXPORT void JNICALL Java_beecrypt_crypto_NativeBlockCipher_setIV JNIEnv *   ,
jclass   ,
jlong   ,
jlong   ,
jbyteArray   
 

JNIEXPORT void JNICALL Java_beecrypt_crypto_NativeBlockCipher_setup JNIEnv *   ,
jclass   ,
jlong   ,
jlong   ,
jint   ,
jbyteArray   
 

JNIEXPORT jlong JNICALL Java_beecrypt_security_NativeMessageDigest_allocParam JNIEnv *   ,
jclass   ,
jlong   
 

JNIEXPORT jlong JNICALL Java_beecrypt_security_NativeMessageDigest_cloneParam JNIEnv *   ,
jclass   ,
jlong   ,
jlong   
 

JNIEXPORT jbyteArray JNICALL Java_beecrypt_security_NativeMessageDigest_digest JNIEnv *   ,
jclass   ,
jlong   ,
jlong   
 

JNIEXPORT jint JNICALL Java_beecrypt_security_NativeMessageDigest_digestLength JNIEnv *   ,
jclass   ,
jlong   
 

JNIEXPORT jlong JNICALL Java_beecrypt_security_NativeMessageDigest_find JNIEnv *   ,
jclass   ,
jstring   
 

JNIEXPORT void JNICALL Java_beecrypt_security_NativeMessageDigest_freeParam JNIEnv *   ,
jclass   ,
jlong   
 

JNIEXPORT void JNICALL Java_beecrypt_security_NativeMessageDigest_reset JNIEnv *   ,
jclass   ,
jlong   ,
jlong   
 

JNIEXPORT void JNICALL Java_beecrypt_security_NativeMessageDigest_update JNIEnv *   ,
jclass   ,
jlong   ,
jlong   ,
jbyte   
 

JNIEXPORT void JNICALL Java_beecrypt_security_NativeMessageDigest_updateBlock JNIEnv *   ,
jclass   ,
jlong   ,
jlong   ,
jbyteArray   ,
jint   ,
jint   
 

JNIEXPORT jlong JNICALL Java_beecrypt_security_NativeSecureRandom_allocParam JNIEnv *   ,
jclass   ,
jlong   
 

JNIEXPORT jlong JNICALL Java_beecrypt_security_NativeSecureRandom_cloneParam JNIEnv *   ,
jclass   ,
jlong   ,
jlong   
 

JNIEXPORT jlong JNICALL Java_beecrypt_security_NativeSecureRandom_find JNIEnv *   ,
jclass   ,
jstring   
 

JNIEXPORT void JNICALL Java_beecrypt_security_NativeSecureRandom_freeParam JNIEnv *   ,
jclass   ,
jlong   
 

JNIEXPORT void JNICALL Java_beecrypt_security_NativeSecureRandom_generateSeed JNIEnv *   ,
jclass   ,
jbyteArray   
 

JNIEXPORT void JNICALL Java_beecrypt_security_NativeSecureRandom_nextBytes JNIEnv *   ,
jclass   ,
jlong   ,
jlong   ,
jbyteArray   
 

JNIEXPORT void JNICALL Java_beecrypt_security_NativeSecureRandom_setSeed JNIEnv *   ,
jclass   ,
jlong   ,
jlong   ,
jbyteArray   
 

JNIEXPORT void JNICALL Java_beecrypt_security_NativeSecureRandom_setup JNIEnv *   ,
jclass   ,
jlong   ,
jlong   
 


Generated on Tue Sep 17 16:00:01 2002 for rpm by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002