Got rid of some macros and chose to substitute them literally. Also moved one and #undef'd it within the sha512 function to give the allusion of scoping.