Use pointer to hash transform function to make adding SHA-2 support easier.