move all sha256 code to sha256.c