crypto: sha512 - Expose generic sha512 routine to be callable

Change-Id: I17a9d6b457a20b3a4d9aca0743eab318c80fce14