Yair, Andy

        Thank you for answering the query.  

Andy,
        I was just thinking what you suggested as it would be costly
affair  to kick accelerator for single block.  

        I see that in an engine there has to be a sequence init -> (one
more    more) update -> final - > cleanup, at least once even if the
block size is just right, correct?  

        How do I make sure that for single block it doesn't go thru
engine?

Thanks again!
-Sitanshu

 -----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Andy Polyakov
Sent: Wednesday, September 10, 2008 3:47 AM
To: openssl-dev@openssl.org
Subject: Re: Hashing/MessageDigest in Engine

> And the answer I have
> is that the hashing normally is faster via soft lib than an
> engine/hardware.

Well, single block hashing is commonly faster in software, but hardware
should beat it on multi-block operations. In other words one should aim
for "synergetic" implementation engaging hardware only when it's
advantageous. A.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           [EMAIL PROTECTED]
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to