Before calling the RSA verify(), I have hashed the message digest got 20 bytes output. It just works fine!!
>-----Original Message----- >From: Sakthi Subramanian (WT01 - EMBEDDED & PRODUCT >ENGINEERING SOLUTIONS) >Sent: Monday, July 05, 2004 6:36 PM >To: '[EMAIL PROTECTED]' >Subject: RSA_verify() - Bad signature error > > >which message digest alg are you using ? In case your are >using SHA-1 the message digest should be 20 bytes long. ><Sakthi> yes it is SHA-1 digest. I will be getting the message >digest buffer of 128 bytes and sign buffer of 128 bytes from >the other party. Since I am getting the buffer of size 128 >bytes, I presume that it it is the message digest length. Is >it correct? Or How can I calculate the message digest length? > > > >Regards., >Sakthi S G >_________________________________________ >WIPRO Technologies, >Embedded & Product Engineering Solutions, >Plot No.72, KEONICS Electronics City >Hosur Main Road, >Bangalore - 560 100 >Phone : 28520408 or 51221111 Extn: 85115 >___________________________________________ > > ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]