mirror of https://github.com/wolfSSL/wolfBoot.git
The scattered-ELF flash integrity check's final image_CT_compare() rejection branch had zero unit test coverage, so a weakened comparison (e.g. != 0 -> == 0, or a dropped return -2) would silently pass. Add a positive case (correctly-hashed scattered image verifies OK) and a negative case (single corrupted byte in a scattered segment's flash-resident payload is rejected via the digest-mismatch branch). |
||
|---|---|---|
| .. | ||
| bin-assemble | ||
| check_config | ||
| delta | ||
| efi | ||
| elf-parser | ||
| fdt-parser | ||
| keytools | ||
| lms | ||
| renode | ||
| scripts | ||
| squashelf | ||
| test-expect-version | ||
| test-update-server | ||
| tpm | ||
| uart-flash-server | ||
| unit-tests | ||
| xmss | ||
| config.mk | ||
| test-delta.mk | ||
| test-enc.mk | ||
| test-renode.mk | ||
| test.mk | ||
| wolfboot-rpi-devicetree.diff | ||