commit | f0e4adc963ff62d226d94ff5fb9591fe3eb1a676 | [log] [tgz] |
---|---|---|
author | Brandon Kim <brandonkim@google.com> | Thu Jun 16 23:14:25 2022 -0700 |
committer | Brandon Kim <brandonkim@google.com> | Fri Jun 17 00:08:48 2022 -0700 |
tree | 31b06167ec6cb19f6d6acd35caa94035419ebc0e | |
parent | 35d4335eda4c41bc5c658c8f1d36190f0e7e625a [diff] |
buffer: bugfix (v3) fix the checksum The BIOS is expected to use the XOR checksum which behaves ever so slightly different compared to summing up the bytes (even though bitwise XOR is the same as addition). Fixed the unit test accordingly Tested: Unit test + tested on a BIOS with real / valid checksummed payload Signed-off-by: Brandon Kim <brandonkim@google.com> Change-Id: I326f814eb66892971ec32f0572618a34825d88b0
This daemon will follow the design doc: https://gerrit.openbmc-project.xyz/c/openbmc/docs/+/52109
More detailed implementation details will also be placed here in the future