Lines Matching defs:hash
45 static unsigned long __init rotate_xor(unsigned long hash, const void *area,
51 for (i = 0; i < size / sizeof(hash); i++) {
53 hash = (hash << ((sizeof(hash) * 8) - 7)) | (hash >> 7);
54 hash ^= ptr[i];
57 return hash;
66 unsigned long hash = 0;
69 hash = rotate_xor(hash, linux_banner, strlen(linux_banner));
70 hash = rotate_xor(hash, fdt, fdt_totalsize(fdt));
72 return hash;