On 1/10/2014 4:20 AM, Som M wrote:

static char evc41_lg_n[] =
"155461468878137924780952081903031227576222509385846279319048916001752025100615237943340425486157346876604219223131643357452911097864741470169369275270067558869064161833650298945491423162034462611882047283976121790220680041467155931440845770244995083344133190925465159949456383958641405933050126040553008833193";*

// evc41 lg public exponent
static char evc41_lg_e[] = "65537";

One obvious problem is that you're trying to put a pointer to string that holds an ASCII decimal representation of a modulus and exponent into arrays that expect binary.

Montavista openssl version : 0.98
RHEL openssl version : 1.0.0

Can anyone please let me know what is the issue?

openssl is a well used product. Start by assuming you have a bug in your code, not that you found a bug in openssl.


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [email protected]
Automated List Manager                           [email protected]

Reply via email to