Home
last modified time | relevance | path

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

/openbmc/qemu/tests/unit/
H A Dtest-crypto-hash.c65 static const char *expected_outputs[] = { variable
109 for (i = 0; i < G_N_ELEMENTS(expected_outputs) ; i++) { in test_hash_alloc()
129 g_assert(expected_outputs[i][j * 2] == hex[(result[j] >> 4) & 0xf]); in test_hash_alloc()
130 g_assert(expected_outputs[i][j * 2 + 1] == hex[result[j] & 0xf]); in test_hash_alloc()
141 for (i = 0; i < G_N_ELEMENTS(expected_outputs) ; i++) { in test_hash_prealloc()
165 g_assert(expected_outputs[i][j * 2] == hex[(result[j] >> 4) & 0xf]); in test_hash_prealloc()
166 g_assert(expected_outputs[i][j * 2 + 1] == hex[result[j] & 0xf]); in test_hash_prealloc()
178 for (i = 0; i < G_N_ELEMENTS(expected_outputs) ; i++) { in test_hash_iov()
201 g_assert(expected_outputs[i][j * 2] == hex[(result[j] >> 4) & 0xf]); in test_hash_iov()
202 g_assert(expected_outputs[i][j * 2 + 1] == hex[result[j] & 0xf]); in test_hash_iov()
[all …]