Re: PKCS1_MGF1 bad implementation?

2006-10-20 Thread Jiyong Xu
Sorry, I should take more time on code reading. The implementation is perfect.On 10/20/06, Jiyong Xu <[EMAIL PROTECTED] > wrote:Hi,PKCS#1 v2.1 document showed the steps needed to implement a MGF1 on the section B.2.1.I don't think that 'PKCS1_MGF1' function in the rs

PKCS1_MGF1 bad implementation?

2006-10-20 Thread Jiyong Xu
Hi,PKCS#1 v2.1 document showed the steps needed to implement a MGF1 on the section B.2.1.I don't think that 'PKCS1_MGF1' function in the rsa_oaep.c was properly implemented.The step #3 on the section said 'For counter from 0 to \lceil{l / hLen}\rceil-1, do the following...' But in 'PKCS1_MGF1', the

Re: Program exits without any error information

2006-08-18 Thread Jiyong Xu
I've found the reason.http://www.openssl.org/support/faq.html#PROG2On 8/18/06, Jiyong Xu <[EMAIL PROTECTED]> wrote: Hi,I am a newbie to openssl. Maybe my questions here is silly. Please be kind to me.I recently downloaded the openssl source, and compiled it under win32 successfully.Whe

Program exits without any error information

2006-08-18 Thread Jiyong Xu
Hi,I am a newbie to openssl. Maybe my questions here is silly. Please be kind to me.I recently downloaded the openssl source, and compiled it under win32 successfully.When I use VC6 to try to write a tiny test case, I just couldn't get through it. My code is list below:#include #include "openssl/bi