Carve out the unused portions of sha2 implementation.