Lines Matching defs:hash
47 static unsigned long __init rotate_xor(unsigned long hash, const void *area,
53 for (i = 0; i < size / sizeof(hash); i++) {
55 hash = (hash << ((sizeof(hash) * 8) - 7)) | (hash >> 7);
56 hash ^= ptr[i];
59 return hash;
68 unsigned long hash = 0;
71 hash = rotate_xor(hash, linux_banner, strlen(linux_banner));
72 hash = rotate_xor(hash, fdt, fdt_totalsize(fdt));
74 return hash;