add sha2 code
move one cflag in makefile
don't use memcpy/memset in sha2 code