[REVISED PATCH] Update of sha512.c to add support for sha512_224 and sha512_256.