Cryptography Stack Exchange is a question and answer site for software developers, mathematicians and others interested in cryptography. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to use the improved sha1 hashing algorithm from the Intel blog described here Intel sha1 hashing. Currently I am using Openssl sha1 hashing in my application.

  1. I wanted to know if anybody has used the Intel sha1 hashing and how does it compare against Openssl implementation as far as performance is concerned?

  2. Also the source code provided there is in assembly and just defines 'update' function. What do I need to use it in place of Openssl sha1, which provides functions like 'init', 'final'? I can't use the Openssl implementation of these functions because they use some Openssl specific things.

  3. Where can I find Openssl implementation of improved sha1 hashing based on 64 bit instruction set. It is an alternative implementation of this. I tried to find it in my /usr/inclusde and /usr/lib/ but could not get it. It seems it is an add-on to Openssl (openssl-addons/intel-accel/) but does not come with Openssl package. Also how to use it in place of Openssl's usual sha1?

share|improve this question

closed as off topic by Paŭlo Ebermann Mar 28 '12 at 17:34

Questions on Cryptography Stack Exchange are expected to relate to cryptography within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

Welcome to Cryptography Stack Exchange. Your question is about a specific implementation of SHA-a on a specific platform, and as thus not really on-topic here (we are more on the theoretic side). As you already asked on Stack Overflow, I'm closing the question here. I would recommend expanding the question there similar to the one here. – Paŭlo Ebermann Mar 28 '12 at 17:34

Browse other questions tagged or ask your own question.