|
Propagate use of uint64_t to more functions that may need to deal with arbitrary length data.
This CL fixes some functions to use uint64_t that I missed the first time around. It ended up requiring some minor changes to how some of the helper functions work (StatefulMemcpy*()).
Also adds new tests to make sure that reference code can verify/process big firmware and kernel images.
BUG= 670
TEST=Adds some new, old ones still pass.
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+269 lines, -71 lines) |
Patch |
 |
M |
src/platform/vboot_reference/common/utility_stub.c
|
View
|
|
2 chunks |
+10 lines, -4 lines |
0 comments
|
Download
|
 |
M |
src/platform/vboot_reference/crypto/rsa_utility.c
|
View
|
1
|
3 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
src/platform/vboot_reference/include/firmware_image.h
|
View
|
1
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
src/platform/vboot_reference/include/kernel_image.h
|
View
|
1
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
src/platform/vboot_reference/include/rsa_utility.h
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
src/platform/vboot_reference/include/utility.h
|
View
|
|
3 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
src/platform/vboot_reference/tests/Makefile
|
View
|
|
3 chunks |
+12 lines, -2 lines |
0 comments
|
Download
|
 |
A |
src/platform/vboot_reference/tests/big_firmware_tests.c
|
View
|
2
3
|
1 chunk |
+74 lines, -0 lines |
0 comments
|
Download
|
 |
A |
src/platform/vboot_reference/tests/big_kernel_tests.c
|
View
|
2
3
|
1 chunk |
+76 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/platform/vboot_reference/tests/firmware_rollback_tests.c
|
View
|
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
src/platform/vboot_reference/tests/firmware_splicing_tests.c
|
View
|
|
2 chunks |
+17 lines, -10 lines |
0 comments
|
Download
|
 |
M |
src/platform/vboot_reference/tests/kernel_rollback_tests.c
|
View
|
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
src/platform/vboot_reference/tests/kernel_splicing_tests.c
|
View
|
|
2 chunks |
+17 lines, -11 lines |
0 comments
|
Download
|
 |
M |
src/platform/vboot_reference/tests/test_common.h
|
View
|
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
src/platform/vboot_reference/tests/test_common.c
|
View
|
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
src/platform/vboot_reference/utils/firmware_image.c
|
View
|
1
|
14 chunks |
+19 lines, -12 lines |
0 comments
|
Download
|
 |
M |
src/platform/vboot_reference/utils/kernel_image.c
|
View
|
1
|
11 chunks |
+16 lines, -10 lines |
0 comments
|
Download
|
Total messages: 4 (0 generated)
|