Home
last modified time | relevance | path

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

/external/vboot_reference/tests/
Dvb21_api_tests.c31 static const uint8_t mock_body[320] = "Mock body"; variable
32 static const int mock_body_size = sizeof(mock_body);
105 vb2_sign_data(&sig, mock_body, mock_body_size - 16 * i, in reset_common_data()
122 vb2api_extend_hash(&ctx, mock_body, mock_body_size); in reset_common_data()
269 TEST_SUCC(vb2api_extend_hash(&ctx, mock_body, 32), in extend_hash_tests()
273 TEST_SUCC(vb2api_extend_hash(&ctx, mock_body, mock_body_size - 32), in extend_hash_tests()
279 TEST_EQ(vb2api_extend_hash(&ctx, mock_body, mock_body_size), in extend_hash_tests()
283 TEST_EQ(vb2api_extend_hash(&ctx, mock_body, mock_body_size + 1), in extend_hash_tests()
287 TEST_EQ(vb2api_extend_hash(&ctx, mock_body, 0), in extend_hash_tests()
293 TEST_EQ(vb2api_extend_hash(&ctx, mock_body, mock_body_size), in extend_hash_tests()
[all …]
Dvb20_api_tests.c25 const char mock_body[320] = "Mock body"; variable
26 const int mock_body_size = sizeof(mock_body);
100 vb2api_extend_hash(&cc, mock_body, mock_body_size); in reset_common_data()
302 TEST_SUCC(vb2api_extend_hash(&cc, mock_body, 32), in extend_hash_tests()
306 TEST_SUCC(vb2api_extend_hash(&cc, mock_body, mock_body_size - 32), in extend_hash_tests()
312 TEST_EQ(vb2api_extend_hash(&cc, mock_body, mock_body_size), in extend_hash_tests()
316 TEST_EQ(vb2api_extend_hash(&cc, mock_body, mock_body_size + 1), in extend_hash_tests()
320 TEST_EQ(vb2api_extend_hash(&cc, mock_body, 0), in extend_hash_tests()
328 TEST_EQ(vb2api_extend_hash(&cc, mock_body, mock_body_size), in extend_hash_tests()
Dvb2_api_tests.c25 const char mock_body[320] = "Mock body"; variable
26 const int mock_body_size = sizeof(mock_body);