add sha256 implementation
Eliminate multiline macros, embrace C99
Fix byteorder problems
added doxygen doc to sha256
add a barrier for msba2 due to wrong results