Lines Matching refs:hash
38 u64 *hash = (u64 *)sctx->state; in octeon_sha256_store_hash() local
40 write_octeon_64bit_hash_dword(hash[0], 0); in octeon_sha256_store_hash()
41 write_octeon_64bit_hash_dword(hash[1], 1); in octeon_sha256_store_hash()
42 write_octeon_64bit_hash_dword(hash[2], 2); in octeon_sha256_store_hash()
43 write_octeon_64bit_hash_dword(hash[3], 3); in octeon_sha256_store_hash()
48 u64 *hash = (u64 *)sctx->state; in octeon_sha256_read_hash() local
50 hash[0] = read_octeon_64bit_hash_dword(0); in octeon_sha256_read_hash()
51 hash[1] = read_octeon_64bit_hash_dword(1); in octeon_sha256_read_hash()
52 hash[2] = read_octeon_64bit_hash_dword(2); in octeon_sha256_read_hash()
53 hash[3] = read_octeon_64bit_hash_dword(3); in octeon_sha256_read_hash()
201 static int octeon_sha224_final(struct shash_desc *desc, u8 *hash) in octeon_sha224_final() argument
207 memcpy(hash, D, SHA224_DIGEST_SIZE); in octeon_sha224_final()