Searched refs:test_key_siphash (Results 1 – 2 of 2) sorted by relevance
/linux/lib/ |
H A D | siphash_kunit.c | 27 static const siphash_key_t test_key_siphash = variable 125 chk(siphash(in, i, &test_key_siphash), in siphash_test() 128 chk(siphash(in_unaligned + 1, i, &test_key_siphash), in siphash_test() 138 chk(siphash_1u64(0x0706050403020100ULL, &test_key_siphash), in siphash_test() 142 &test_key_siphash), in siphash_test() 146 0x1716151413121110ULL, &test_key_siphash), in siphash_test() 151 &test_key_siphash), in siphash_test() 154 chk(siphash_1u32(0x03020100U, &test_key_siphash), in siphash_test() 157 chk(siphash_2u32(0x03020100U, 0x07060504U, &test_key_siphash), in siphash_test() 161 0x0b0a0908U, &test_key_siphash), in siphash_test() [all …]
|
/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_tcp_custom_syncookie.c | 52 static siphash_key_t test_key_siphash = { variable 341 hash = siphash_2u64(first, second, &test_key_siphash); in tcp_prepare_cookie() 477 hash = siphash_2u64(first, second, &test_key_siphash); in tcp_validate_cookie()
|