Re: Problem with pthread and OpenSSL

2009-06-24 Thread pcslara
Dear Marco, I am very happy for your help. My goal is to parallel the function BN_mod_exp_mont. This function use Montgmery algorithm to calculate modular exponentiation. That is, it does r = a ^ p mod m I need only run a thread to calculate it in parallel. I do not know if BN_mod_exp_mont is

Re: Problem with pthread and OpenSSL

2009-06-24 Thread Marco Monacelli
Hi, Where is the problem in pthreads ? I dont't know the BN_mod_exp_mon procedure bat we can try a simple pthreads program, if I can help you I am happy. Tomorrow i try openssl pthreads. I have only a question. You hare sure the problem is in pthreads end not in your common memory access syncroniza

Re: Problem with pthread and OpenSSL

2009-06-23 Thread pcslara
Please Could someone have a simple example with pthread to show me! This program was compiled and run on an openSUSE 11.0 x86_64 kernel 2.6.25.18. The program exits with 'Segmentation fault'. pcslara wrote: > > Hi friends, > This is my fisrt message here! > I'm making a parallel version of BN_