sbsigntools/tests
Jeremy Kerr 5466f381dd image: Use size of image data when writing images
When detaching a signature, we need to know the size of the
non-signature data. So, add a data_size member to struct image, and
populate it when we iterate through the section table.

When writing the image, use data_size rather than size, so we don't
unnecessarily add the (now unused) signature data.

Signed-off-by: Jeremy Kerr <jeremy.kerr@canonical.com>
2012-08-13 15:10:21 +08:00
..
cert-table-header.sh tests: run tests for each arch 2012-08-13 13:14:09 +08:00
detach-remove.sh image: Use size of image data when writing images 2012-08-13 15:10:21 +08:00
Makefile.am image: Use size of image data when writing images 2012-08-13 15:10:21 +08:00
reattach-warning.sh tests: run tests for each arch 2012-08-13 13:14:09 +08:00
resign-warning.sh tests: run tests for each arch 2012-08-13 13:14:09 +08:00
sign-attach-verify.sh tests: run tests for each arch 2012-08-13 13:14:09 +08:00
sign-detach-verify.sh tests: run tests for each arch 2012-08-13 13:14:09 +08:00
sign-invalidattach-verify.sh tests: run tests for each arch 2012-08-13 13:14:09 +08:00
sign-missing-cert.sh tests: run tests for each arch 2012-08-13 13:14:09 +08:00
sign-missing-image.sh tests: run tests for each arch 2012-08-13 13:14:09 +08:00
sign-missing-key.sh tests: run tests for each arch 2012-08-13 13:14:09 +08:00
sign-verify-detached.sh tests: run tests for each arch 2012-08-13 13:14:09 +08:00
sign-verify.sh tests: run tests for each arch 2012-08-13 13:14:09 +08:00
test-i386.lds tests: run tests for each arch 2012-08-13 13:14:09 +08:00
test-wrapper.sh tests: run tests for each arch 2012-08-13 13:14:09 +08:00
test-x86_64.lds tests: run tests for each arch 2012-08-13 13:14:09 +08:00
test.S tests: Add a few simple tests 2012-06-13 14:23:26 +08:00
verify-missing-cert.sh tests: run tests for each arch 2012-08-13 13:14:09 +08:00
verify-missing-image.sh tests: run tests for each arch 2012-08-13 13:14:09 +08:00