Lines Matching defs:hash
24 #include <crypto/internal/hash.h>
34 u64 *hash = (u64 *)sctx->state;
36 write_octeon_64bit_hash_dword(hash[0], 0);
37 write_octeon_64bit_hash_dword(hash[1], 1);
38 write_octeon_64bit_hash_dword(hash[2], 2);
39 write_octeon_64bit_hash_dword(hash[3], 3);
44 u64 *hash = (u64 *)sctx->state;
46 hash[0] = read_octeon_64bit_hash_dword(0);
47 hash[1] = read_octeon_64bit_hash_dword(1);
48 hash[2] = read_octeon_64bit_hash_dword(2);
49 hash[3] = read_octeon_64bit_hash_dword(3);
197 static int octeon_sha224_final(struct shash_desc *desc, u8 *hash)
203 memcpy(hash, D, SHA224_DIGEST_SIZE);