Lines Matching refs:hash
34 u64 *hash = (u64 *)sctx->state; in octeon_sha256_store_hash() local
36 write_octeon_64bit_hash_dword(hash[0], 0); in octeon_sha256_store_hash()
37 write_octeon_64bit_hash_dword(hash[1], 1); in octeon_sha256_store_hash()
38 write_octeon_64bit_hash_dword(hash[2], 2); in octeon_sha256_store_hash()
39 write_octeon_64bit_hash_dword(hash[3], 3); in octeon_sha256_store_hash()
44 u64 *hash = (u64 *)sctx->state; in octeon_sha256_read_hash() local
46 hash[0] = read_octeon_64bit_hash_dword(0); in octeon_sha256_read_hash()
47 hash[1] = read_octeon_64bit_hash_dword(1); in octeon_sha256_read_hash()
48 hash[2] = read_octeon_64bit_hash_dword(2); in octeon_sha256_read_hash()
49 hash[3] = read_octeon_64bit_hash_dword(3); in octeon_sha256_read_hash()
197 static int octeon_sha224_final(struct shash_desc *desc, u8 *hash) in octeon_sha224_final() argument
203 memcpy(hash, D, SHA224_DIGEST_SIZE); in octeon_sha224_final()