Home
last modified time | relevance | path

Searched refs:img_hash (Results 1 – 1 of 1) sorted by relevance

/mcuboot-latest/boot/boot_serial/src/
Dboot_serial.c445 struct zcbor_string img_hash; in bs_set() local
459 ZCBOR_MAP_DECODE_KEY_DECODER("hash", zcbor_bstr_decode, &img_hash), in bs_set()
472 if ((img_hash.len != sizeof(hash) && img_hash.len != 0) || in bs_set()
473 (img_hash.len == 0 && BOOT_IMAGE_NUMBER > 1)) { in bs_set()
479 if (img_hash.len != 0) { in bs_set()
530 if (rc == 0 && memcmp(hash, img_hash.value, sizeof(hash)) == 0) { in bs_set()