Searched refs:mock_body_size (Results 1 – 3 of 3) sorted by relevance
/external/vboot_reference/tests/ |
D | vb21_api_tests.c | 32 static const int mock_body_size = sizeof(mock_body); variable 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() 225 TEST_EQ(sd->hash_remaining_size, mock_body_size, "hash remaining"); in init_hash_tests() 271 TEST_EQ(sd->hash_remaining_size, mock_body_size - 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() 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()
|
D | vb20_api_tests.c | 26 const int mock_body_size = sizeof(mock_body); variable 81 pre->body_signature.data_size = mock_body_size; in reset_common_data() 100 vb2api_extend_hash(&cc, mock_body, mock_body_size); in reset_common_data() 254 TEST_EQ(sd->hash_remaining_size, mock_body_size, "hash remaining"); in init_hash_tests() 304 TEST_EQ(sd->hash_remaining_size, mock_body_size - 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() 328 TEST_EQ(vb2api_extend_hash(&cc, mock_body, mock_body_size), in extend_hash_tests()
|
D | vb2_api_tests.c | 26 const int mock_body_size = sizeof(mock_body); variable
|