Lines Matching refs:hash
150 uint32_t hash; in verify_precalculated_hash_func_tests() local
157 hash = rte_jhash(key, hashtest_key_lens[i], in verify_precalculated_hash_func_tests()
159 if (hash != hash_values_jhash[j][i]) { in verify_precalculated_hash_func_tests()
163 hash_values_jhash[j][i], hash); in verify_precalculated_hash_func_tests()
167 hash = rte_hash_crc(key, hashtest_key_lens[i], in verify_precalculated_hash_func_tests()
169 if (hash != hash_values_crc[j][i]) { in verify_precalculated_hash_func_tests()
173 hash_values_crc[j][i], hash); in verify_precalculated_hash_func_tests()
190 uint32_t hash, hash32; in verify_jhash_32bits() local
199 hash = rte_jhash(key, hashtest_key_lens[i], in verify_jhash_32bits()
205 if (hash != hash32) { in verify_jhash_32bits()
208 hash, hash32); in verify_jhash_32bits()
227 uint32_t hash, hash_words; in verify_jhash_words() local
233 hash = rte_jhash(key, 4, 0); in verify_jhash_words()
235 if (hash != hash_words) { in verify_jhash_words()
238 hash, hash_words); in verify_jhash_words()
242 hash = rte_jhash(key, 8, 0); in verify_jhash_words()
244 if (hash != hash_words) { in verify_jhash_words()
247 hash, hash_words); in verify_jhash_words()
251 hash = rte_jhash(key, 12, 0); in verify_jhash_words()
253 if (hash != hash_words) { in verify_jhash_words()
256 hash, hash_words); in verify_jhash_words()