Multithreading encrypt file - windows

Discussion related to AES Crypt, the file encryption software for Windows, Mac, and Linux.
Post Reply
rla
Posts: 6
Joined: Tue Jan 27, 2015 8:19 am

Multithreading encrypt file - windows

Post by rla »

Hi,

I build a java multithreading program using JNI to load our native library built in C. In native library, the process encrypt file using AES v 3.09. After several thread execution, the program hang up during CryptAcquireContext, no return error, just stuck.
Is there any constraint/limitation for the usage of CryptAcquireContext, as our program revoke CryptAcquireContext on each thread execution?

Info :
OS : Windows 7 Professional 64 bit
Native library compiler : mingw
Java : JDK 7

Thanks
Post Reply