Lines Matching defs:sha512
877 struct shash_desc *sha512 = NULL;
907 sha512 = server->secmech.sha512;
908 rc = crypto_shash_init(sha512);
910 cifs_dbg(VFS, "%s: Could not init sha512 shash\n", __func__);
914 rc = crypto_shash_update(sha512, ses->preauth_sha_hash,
917 cifs_dbg(VFS, "%s: Could not update sha512 shash\n", __func__);
922 rc = crypto_shash_update(sha512, iov[i].iov_base, iov[i].iov_len);
924 cifs_dbg(VFS, "%s: Could not update sha512 shash\n",
930 rc = crypto_shash_final(sha512, ses->preauth_sha_hash);
932 cifs_dbg(VFS, "%s: Could not finalize sha512 shash\n",