Some callers of EVP_DigestUpdate (such as libntlm) pass NULL as the data argument. PKCS#11 returns CKR_ARGUMENTS_BAD which may poison the context. Pass an empty string to C_DigestUpdate work around this.