allow the caller to provide the DigestState structure, memset to 0, and have it work, as with the other digest functions