default encryption exponent in RSA

2004-04-01 Thread Reza Curtmola
What is the default encryption exponent used in RSA encryption by OpenSSL? Is it e = 2^16 + 1 = 65537? Anybody knows where can I find this default value in the source files? Thank you! -Reza __ OpenSSL Project

problem with EVP_SealInit

2003-07-17 Thread Reza Curtmola
My problem is that when I do public encryption, the first time I run the following piece of code, it works OK, but then when I run the program for the second time, the EVP_SealInit function fails and returns -1. I seed the random number generator before calling the following piece of code. EVP_CI