Home
last modified time | relevance | path

Searched refs:expectedlen (Results 1 – 6 of 6) sorted by relevance

/openssl/test/
H A Dsiphash_internal_test.c177 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()
212 if (!TEST_true(SipHash_Final(&siphash, out, expectedlen))) in test_siphash()
215 if (!TEST_mem_eq(out, expectedlen, expected, expectedlen)) { in test_siphash()
232 if (!TEST_mem_eq(out, expectedlen, expected, expectedlen)) { in test_siphash()
[all …]
H A Dpoly1305_internal_test.c1514 size_t expectedlen = test.expected.size; in test_poly1305() local
1517 if (!TEST_size_t_eq(expectedlen, sizeof(out))) in test_poly1305()
1524 if (!TEST_mem_eq(out, expectedlen, expected, expectedlen)) { in test_poly1305()
1535 if (!TEST_mem_eq(out, expectedlen, expected, expectedlen)) { in test_poly1305()
1549 if (!TEST_mem_eq(out, expectedlen, expected, expectedlen)) { in test_poly1305()
1560 if (!TEST_mem_eq(out, expectedlen, expected, expectedlen)) { in test_poly1305()
H A Devp_extra_test.c2873 size_t expectedlen = sizeof(expected); in test_HKDF() local
2892 || !TEST_mem_eq(out, outlen, expected, expectedlen)) in test_HKDF()
2917 size_t expectedlen = sizeof(expected); in test_emptyikm_HKDF() local
2934 || !TEST_mem_eq(out, outlen, expected, expectedlen)) in test_emptyikm_HKDF()
2958 size_t expectedlen = sizeof(expected); in test_empty_salt_info_HKDF() local
2975 || !TEST_mem_eq(out, outlen, expected, expectedlen)) in test_empty_salt_info_HKDF()
4209 size_t expectedlen; member
4368 if (!TEST_mem_eq(t->expected, t->expectedlen, outbuf, outlen1 + outlen2)) { in test_evp_init_seq()
4433 size_t expectedlen; member
4486 if (!TEST_mem_eq(t->expected, t->expectedlen, outbuf, outlen1 + outlen2)) { in test_evp_reset()
[all …]
H A Devp_test.c2245 const unsigned char *expected, size_t expectedlen) in decapsulate() argument
2283 if (!TEST_mem_eq(out, outlen, expected, expectedlen)) { in decapsulate()
/openssl/providers/fips/
H A Dself_test_kats.c325 if (!EVP_RAND_generate(drbg, out, t->expectedlen, strength, in self_test_drbg()
341 if (!EVP_RAND_generate(drbg, out, t->expectedlen, strength, in self_test_drbg()
348 if (memcmp(out, t->expected, t->expectedlen) != 0) in self_test_drbg()
H A Dself_test_data.inc103 size_t expectedlen;

Completed in 37 milliseconds