Lines Matching refs:hash
49 static unsigned long rotate_xor(unsigned long hash, const void *area,
55 for (i = 0; i < size / sizeof(hash); i++) {
57 hash = (hash << ((sizeof(hash) * 8) - 7)) | (hash >> 7);
58 hash ^= ptr[i];
61 return hash;
67 unsigned long hash = 0;
69 hash = rotate_xor(hash, build_str, sizeof(build_str));
70 hash = rotate_xor(hash, boot_params, sizeof(*boot_params));
72 return hash;