Lines Matching refs:state
10 struct siphash state = {}; in test_alignment_one() local
18 siphash24_init(&state, key); in test_alignment_one()
19 assert_se(state.v0 == 0x7469686173716475); in test_alignment_one()
20 assert_se(state.v1 == 0x6b617f6d656e6665); in test_alignment_one()
21 assert_se(state.v2 == 0x6b7f62616d677361); in test_alignment_one()
22 assert_se(state.v3 == 0x7b6b696e727e6c7b); in test_alignment_one()
23 siphash24_compress(in, len, &state); in test_alignment_one()
24 assert_se(state.v0 == 0x4a017198de0a59e0); in test_alignment_one()
25 assert_se(state.v1 == 0x0d52f6f62a4f59a4); in test_alignment_one()
26 assert_se(state.v2 == 0x634cb3577b01fd3d); in test_alignment_one()
27 assert_se(state.v3 == 0xa5224d6f55c7d9c8); in test_alignment_one()
28 out = siphash24_finalize(&state); in test_alignment_one()
30 assert_se(state.v0 == 0xf6bcd53893fecff1); in test_alignment_one()
31 assert_se(state.v1 == 0x54b9964c7ea0d937); in test_alignment_one()
32 assert_se(state.v2 == 0x1b38329c099bb55a); in test_alignment_one()
33 assert_se(state.v3 == 0x1814bb89ad7be679); in test_alignment_one()
39 siphash24_init(&state, key); in test_alignment_one()
40 siphash24_compress(in, i, &state); in test_alignment_one()
41 siphash24_compress(&in[i], j - i, &state); in test_alignment_one()
42 siphash24_compress(&in[j], len - j, &state); in test_alignment_one()
43 out = siphash24_finalize(&state); in test_alignment_one()