Crypto timings

Hal Murray hmurray at megapathdsl.net
Mon Jan 30 07:55:42 UTC 2017


esr at thyrsus.com said:
[context is cleaning up crypto code]
> Oh dear Goddess you are right.  I think I noticed that before but spaced it.
> I'll fix that up once I've had some sleep. 

My straw man is that the table that holds keys has
  password
  password length
  digest length
  the magic that we feed to EVP_DigestInit(_ex)
  a flag that says it works in the current kludge mode where the key and 
digest is appended directly rather than with a length/type header.

The idea is to remove any special knowledge about MD5 or SHA1 from the main 
code.


-- 
These are my opinions.  I hate spam.





More information about the devel mailing list