Home
last modified time | relevance | path

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

/mcuboot-3.4.0/boot/boot_serial/src/
Dboot_serial.c422 struct zcbor_string img_hash; in bs_set() local
436 ZCBOR_MAP_DECODE_KEY_DECODER("hash", zcbor_bstr_decode, &img_hash), in bs_set()
449 if ((img_hash.len != sizeof(hash) && img_hash.len != 0) || in bs_set()
450 (img_hash.len == 0 && BOOT_IMAGE_NUMBER > 1)) { in bs_set()
456 if (img_hash.len != 0) { in bs_set()
498 if (rc == 0 && memcmp(hash, img_hash.value, sizeof(hash)) == 0) { in bs_set()