Lines Matching defs:hash
25 #include <crypto/internal/hash.h>
35 u64 *hash = (u64 *)sctx->state;
37 write_octeon_64bit_hash_dword(hash[0], 0);
38 write_octeon_64bit_hash_dword(hash[1], 1);
39 write_octeon_64bit_hash_dword(hash[2], 2);
40 write_octeon_64bit_hash_dword(hash[3], 3);
45 u64 *hash = (u64 *)sctx->state;
47 hash[0] = read_octeon_64bit_hash_dword(0);
48 hash[1] = read_octeon_64bit_hash_dword(1);
49 hash[2] = read_octeon_64bit_hash_dword(2);
50 hash[3] = read_octeon_64bit_hash_dword(3);
164 static int octeon_sha224_final(struct shash_desc *desc, u8 *hash)
170 memcpy(hash, D, SHA224_DIGEST_SIZE);