SHA clean-up and (LP64) tune-up.
authorAndy Polyakov <appro@openssl.org>
Sun, 5 Sep 1999 12:42:04 +0000 (12:42 +0000)
committerAndy Polyakov <appro@openssl.org>
Sun, 5 Sep 1999 12:42:04 +0000 (12:42 +0000)
commit7f7c318cfc4899cf1e9e249e5b0e34497ef1becc
tree46f8d6a9c7609d485057eebbbdfa681d74f98a62
parentaef838fc957afefc4d49a360f1ab77b14595f27c
SHA clean-up and (LP64) tune-up.

"Clean-up" stands for the fact that it's using common message digest
template ../md32_common.h and sha[1_]dgst.c are reduced down to
'#define SHA_[01]' and then '#include "sha_locl.h"'. It stands "(LP64)"
there because it's 64 bit platforms which benefit most from the tune-up.
The updated code exhibits 40% performance improvement on IRIX64
(sounds too good, huh? I probably should double check if it's not
some cache trashing that was holding it back before), 28% - on
Alpha Linux and 12% - Solaris 7/64.
crypto/sha/sha.h
crypto/sha/sha1dgst.c
crypto/sha/sha1s.cpp
crypto/sha/sha_dgst.c
crypto/sha/sha_locl.h