Lines Matching refs:mock_body
31 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()
300 TEST_EQ(vb2api_extend_hash(&ctx, mock_body, mock_body_size), in extend_hash_tests()