Lines Matching refs:hash
32 __le32 hash[MD5_HASH_WORDS]; member
42 u64 *hash = (u64 *)ctx->hash; in octeon_md5_store_hash() local
44 write_octeon_64bit_hash_dword(hash[0], 0); in octeon_md5_store_hash()
45 write_octeon_64bit_hash_dword(hash[1], 1); in octeon_md5_store_hash()
50 u64 *hash = (u64 *)ctx->hash; in octeon_md5_read_hash() local
52 hash[0] = read_octeon_64bit_hash_dword(0); in octeon_md5_read_hash()
53 hash[1] = read_octeon_64bit_hash_dword(1); in octeon_md5_read_hash()
74 mctx->hash[0] = cpu_to_le32(MD5_H0); in octeon_md5_init()
75 mctx->hash[1] = cpu_to_le32(MD5_H1); in octeon_md5_init()
76 mctx->hash[2] = cpu_to_le32(MD5_H2); in octeon_md5_init()
77 mctx->hash[3] = cpu_to_le32(MD5_H3); in octeon_md5_init()
141 memcpy(out, mctx->hash, sizeof(mctx->hash)); in octeon_md5_finup()
157 put_unaligned(le32_to_cpu(ctx->hash[i]), p.u32++); in octeon_md5_export()
173 ctx->hash[i] = cpu_to_le32(get_unaligned(p.u32++)); in octeon_md5_import()