Hash isn't usually worth doing in an engine. It's usually so fast in
software that the overhead of getting data on and off the "accelerator"
usually means it's a net loss.
In many cases that's true of symmetric ciphers as well.

And when you hear words like "CPU offload" thrown in, you really need to do
your own performance testing.


Peter



                                                                                
                                   
  From:       "Nanavati, Sitanshu" <[EMAIL PROTECTED]>                          
                         
                                                                                
                                   
  To:         <[email protected]>                                         
                                   
                                                                                
                                   
  Date:       08/06/2008 03:21 PM                                               
                                   
                                                                                
                                   
  Subject:    Engine development/details needed                                 
                                   
                                                                                
                                   





Hi all,

      I need more details on Open SSL engine in terms of flow, essential
      APIs to be supported in my own engine if I need to write one.  I
      looked at the OpenSSL engine source (e.g. e_cswit.c).  I see lot of
      code for RSA, DSA, DH etc. but don’t see any HASH related/relevant
      code.  Why hashing is not part of engine?  I will have some more
      question(s) as I explore more.  Any help/pointer in this regard would
      be greatly appreciated.

      Thanks.

Best Regards,
-Sitanshu

Reply via email to