Retain compatibility of EVP_DigestInit() and EVP_DigestFinal()