mcuboot/boot
Daniel DeGrasse c393b54246 boot: boot_serial: fix usage of zcbor_new_encode_state API
Fix usage of zcbor_new_encode_state API, to correctly pass the payload
length. The previous usage was passing a pointer to the end of the
payload, which resulted in the ZCBOR structure being initialized with
an invalid `payload_end` field. On some platforms, this breaks MCUBoot
serial recovery, as the ZCBOR structures required to send response data
are invalid and can no longer be populated with response data.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2023-05-25 14:17:20 -06:00
..
boot_serial boot: boot_serial: fix usage of zcbor_new_encode_state API 2023-05-25 14:17:20 -06:00
bootutil bootutil: Fixing memset not beeing called 2023-05-17 12:18:07 +02:00
cypress bootutil: Remove P224 curve 2023-04-11 07:05:38 +02:00
espressif boot_serial: Replace cbor auto-generated code with zcbor functions 2023-05-15 10:22:51 +02:00
mbed flash_map_backend: Remove flash_area_id_to_image_slot 2023-02-14 16:40:21 -07:00
mynewt bootutil: Remove P224 curve 2023-04-11 07:05:38 +02:00
nuttx fih: Hardening of fault injection countermeasures 2023-01-30 09:34:34 -07:00
zcbor boot: zcbor: Move copy script 2023-05-15 10:22:51 +02:00
zephyr boot: zephyr: fix s/junping/jumping/ typo 2023-05-22 07:41:43 +01:00