summaryrefslogtreecommitdiffstats
path: root/coccinelle/siphash24.cocci
blob: c577120f7b9f0e0288696881fce413e4cf100d05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@
expression p, s;
@@
- siphash24_compress(&p, sizeof(p), s);
+ siphash24_compress_typesafe(p, s);

@@
union in_addr_union p;
expression f, s;
@@
- siphash24_compress(&p, FAMILY_ADDRESS_SIZE(f), s);
+ in_addr_hash_func(&p, f, s);