Patch from Uli Scholler to expose more SHA1 hash functions.