Clean-up implementation selection for SHA1 and SHA2