Lines Matching refs:test_inputs
39 uint8_t *test_inputs[3]; in sha1_tests() local
42 test_inputs[0] = (uint8_t *) oneblock_msg; in sha1_tests()
43 test_inputs[1] = (uint8_t *) multiblock_msg1; in sha1_tests()
44 test_inputs[2] = (uint8_t *) long_msg; in sha1_tests()
47 TEST_SUCC(vb2_digest(test_inputs[i], in sha1_tests()
48 strlen((char *)test_inputs[i]), in sha1_tests()
55 TEST_EQ(vb2_digest(test_inputs[0], strlen((char *)test_inputs[0]), in sha1_tests()
63 uint8_t *test_inputs[3]; in sha256_tests() local
66 test_inputs[0] = (uint8_t *) oneblock_msg; in sha256_tests()
67 test_inputs[1] = (uint8_t *) multiblock_msg1; in sha256_tests()
68 test_inputs[2] = (uint8_t *) long_msg; in sha256_tests()
71 TEST_SUCC(vb2_digest(test_inputs[i], in sha256_tests()
72 strlen((char *)test_inputs[i]), in sha256_tests()
79 TEST_EQ(vb2_digest(test_inputs[0], strlen((char *)test_inputs[0]), in sha256_tests()
87 uint8_t *test_inputs[3]; in sha512_tests() local
90 test_inputs[0] = (uint8_t *) oneblock_msg; in sha512_tests()
91 test_inputs[1] = (uint8_t *) multiblock_msg2; in sha512_tests()
92 test_inputs[2] = (uint8_t *) long_msg; in sha512_tests()
95 TEST_SUCC(vb2_digest(test_inputs[i], in sha512_tests()
96 strlen((char *)test_inputs[i]), in sha512_tests()
104 TEST_EQ(vb2_digest(test_inputs[0], strlen((char *)test_inputs[0]), in sha512_tests()