Thank your help, Kirk.  
i have solved this problem now. the big difference of time is consumed by
dll loading.  So the benchmark is correct.  thank you
                                                                                
                                           
armstrong
                                                                                
                                    
2009-12-06

Kirk81 wrote:
> 
> 
> armstrong wrote:
>> 
>> Hi
>>     Is someone here can help me?  I am using "EVP Public Key Interface"
>> to sign and verify some digital signatures. And i find the call to
>> "EVP_SignFinal" is very slow.
>> 
>> In the test, RSA1024-SHA1 was used,   the call to "EVP_SignFinal"
>> consuming almost 0.19~0.2 second. 
>> 
>> In contrast to the openssl benchmark(i.e openssl   speed   rsa1024),  the
>> benchmark reports  'rsa 1024 bit' sign operation only take
>> 0.002s(approximate) on my computer.   This result is close to my call to
>> RSA_sign directly.
>> 
> 
> Hi,
> 
> I've created a RSA application for MVS: RSA-1024 with SHA56 using the
> native functions (RSA_sign, SHA256, ...). Here u can find the code:
> 
>  http://old.nabble.com/file/p26096986/rsa.cpp rsa.cpp 
> 
> With an IA-32 Pentium M 1.5 GHz, I'm in the order of milliseconds:
> - signature: 3.6 ms
> - verify: 0.19 ms 
> 
> Now you can try the EVP interface.
> 
> Kirk
> 
> 

-- 
View this message in context: 
http://old.nabble.com/EVP_SignFinal---dramatically-slow-tp25730650p26662858.html
Sent from the OpenSSL - Dev mailing list archive at Nabble.com.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [email protected]

Reply via email to