feat: OTA über HTTP mit Trailer-Prüfung
This commit is contained in:
@@ -6,7 +6,8 @@
|
||||
|
||||
/* Called by the SDK updater (sdk/Platform/Common/fwup/wm_fwup.c) after the image CRC
|
||||
* matched. sha256 covers the T_BOOTER header plus payload, tail is the 512 byte block
|
||||
* appended to the image. Return true to accept the image. */
|
||||
* appended to the image. Return true to accept the image.
|
||||
* Strong definition: src/sys/nl_ota.c (checks the trailer via nl_trailer_verify()). */
|
||||
bool nl_fwup_verify_tail(const uint8_t sha256[32], const uint8_t *tail, uint32_t tail_len);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user