Lines Matching refs:expectedlen
177 size_t expectedlen = test.expected.size; in test_siphash() local
181 if (expectedlen != SIPHASH_MIN_DIGEST_SIZE && in test_siphash()
182 expectedlen != SIPHASH_MAX_DIGEST_SIZE) { in test_siphash()
183 TEST_info("size %zu vs %d and %d", expectedlen, in test_siphash()
198 if (!TEST_true(SipHash_set_hash_size(&siphash, expectedlen)) in test_siphash()
202 if (!TEST_true(SipHash_Final(&siphash, out, expectedlen)) in test_siphash()
203 || !TEST_mem_eq(out, expectedlen, expected, expectedlen)) in test_siphash()
207 if (!TEST_true(SipHash_set_hash_size(&siphash, expectedlen)) in test_siphash()
212 if (!TEST_true(SipHash_Final(&siphash, out, expectedlen))) in test_siphash()
215 if (!TEST_mem_eq(out, expectedlen, expected, expectedlen)) { in test_siphash()
224 if (!TEST_true(SipHash_set_hash_size(&siphash, expectedlen)) in test_siphash()
229 if (!TEST_true(SipHash_Final(&siphash, out, expectedlen))) in test_siphash()
232 if (!TEST_mem_eq(out, expectedlen, expected, expectedlen)) { in test_siphash()
238 if (!TEST_true(SipHash_set_hash_size(&siphash, expectedlen)) in test_siphash()
243 if (!TEST_true(SipHash_Final(&siphash, out, expectedlen))) in test_siphash()
246 if (!TEST_mem_eq(out, expectedlen, expected, expectedlen)) { in test_siphash()