HALF ECHO LEARN / REFERENCE COLLECTION

v262.2

coccinelle/siphash24.cocci

Git blob: c577120f7b9f0e0288696881fce413e4cf100d05

Lines 1–14 of 14

/* 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);