Lines Matching refs:key
21 u64 key[2]; member
24 u64 __siphash_aligned(const void *data, size_t len, const siphash_key_t *key);
26 u64 __siphash_unaligned(const void *data, size_t len, const siphash_key_t *key);
29 u64 siphash_1u64(const u64 a, const siphash_key_t *key);
30 u64 siphash_2u64(const u64 a, const u64 b, const siphash_key_t *key);
32 const siphash_key_t *key);
34 const siphash_key_t *key);
35 u64 siphash_1u32(const u32 a, const siphash_key_t *key);
37 const siphash_key_t *key);
40 const siphash_key_t *key) in siphash_2u32() argument
42 return siphash_1u64((u64)b << 32 | a, key); in siphash_2u32()
45 const u32 d, const siphash_key_t *key) in siphash_4u32() argument
47 return siphash_2u64((u64)b << 32 | a, (u64)d << 32 | c, key); in siphash_4u32()
52 const siphash_key_t *key) in ___siphash_aligned() argument
55 return siphash_1u32(le32_to_cpup((const __le32 *)data), key); in ___siphash_aligned()
57 return siphash_1u64(le64_to_cpu(data[0]), key); in ___siphash_aligned()
60 key); in ___siphash_aligned()
63 le64_to_cpu(data[2]), key); in ___siphash_aligned()
67 key); in ___siphash_aligned()
68 return __siphash_aligned(data, len, key); in ___siphash_aligned()
78 const siphash_key_t *key) in siphash() argument
82 return __siphash_unaligned(data, len, key); in siphash()
84 return ___siphash_aligned(data, len, key); in siphash()
89 unsigned long key[2]; member
93 const hsiphash_key_t *key);
96 const hsiphash_key_t *key);
99 u32 hsiphash_1u32(const u32 a, const hsiphash_key_t *key);
100 u32 hsiphash_2u32(const u32 a, const u32 b, const hsiphash_key_t *key);
102 const hsiphash_key_t *key);
104 const hsiphash_key_t *key);
107 const hsiphash_key_t *key) in ___hsiphash_aligned() argument
110 return hsiphash_1u32(le32_to_cpu(data[0]), key); in ___hsiphash_aligned()
113 key); in ___hsiphash_aligned()
116 le32_to_cpu(data[2]), key); in ___hsiphash_aligned()
120 key); in ___hsiphash_aligned()
121 return __hsiphash_aligned(data, len, key); in ___hsiphash_aligned()
131 const hsiphash_key_t *key) in hsiphash() argument
135 return __hsiphash_unaligned(data, len, key); in hsiphash()
137 return ___hsiphash_aligned(data, len, key); in hsiphash()