Lines Matching refs:key

20 	u64 key[2];
25 static inline bool siphash_key_is_zero(const siphash_key_t *key)
27 return !(key->key[0] | key->key[1]);
30 u64 __siphash_aligned(const void *data, size_t len, const siphash_key_t *key);
31 u64 __siphash_unaligned(const void *data, size_t len, const siphash_key_t *key);
33 u64 siphash_1u64(const u64 a, const siphash_key_t *key);
34 u64 siphash_2u64(const u64 a, const u64 b, const siphash_key_t *key);
36 const siphash_key_t *key);
38 const siphash_key_t *key);
39 u64 siphash_1u32(const u32 a, const siphash_key_t *key);
41 const siphash_key_t *key);
44 const siphash_key_t *key)
46 return siphash_1u64((u64)b << 32 | a, key);
49 const u32 d, const siphash_key_t *key)
51 return siphash_2u64((u64)b << 32 | a, (u64)d << 32 | c, key);
56 const siphash_key_t *key)
59 return siphash_1u32(le32_to_cpup((const __le32 *)data), key);
61 return siphash_1u64(le64_to_cpu(data[0]), key);
64 key);
67 le64_to_cpu(data[2]), key);
71 key);
72 return __siphash_aligned(data, len, key);
79 * @key: the siphash key
82 const siphash_key_t *key)
86 return __siphash_unaligned(data, len, key);
87 return ___siphash_aligned(data, len, key);
92 unsigned long key[2];
96 const hsiphash_key_t *key);
98 const hsiphash_key_t *key);
100 u32 hsiphash_1u32(const u32 a, const hsiphash_key_t *key);
101 u32 hsiphash_2u32(const u32 a, const u32 b, const hsiphash_key_t *key);
103 const hsiphash_key_t *key);
105 const hsiphash_key_t *key);
108 const hsiphash_key_t *key)
111 return hsiphash_1u32(le32_to_cpu(data[0]), key);
114 key);
117 le32_to_cpu(data[2]), key);
121 key);
122 return __hsiphash_aligned(data, len, key);
129 * @key: the hsiphash key
132 const hsiphash_key_t *key)
136 return __hsiphash_unaligned(data, len, key);
137 return ___hsiphash_aligned(data, len, key);