Re:OpenSSL Security Advisory
by jschwartzi on Thursday June 11, 2015 @11:29PM
(#9703858)
That's what I figured when I implemented it. In my application I'm fine hardcoding the hash type because if we have to change hashes away from SHA-2 we have to update all of the equipment in the field anyway, so we might as well update the software at the same time.
E: It also helps that the code with the hardcoded hash type is much easier to understand than the equivalent EVP code.
E: It also helps that the code with the hardcoded hash type is much easier to understand than the equivalent EVP code.