Searched refs:zhash (Results 1 – 1 of 1) sorted by relevance
419 struct zcbor_string zhash = { .value = hash, .len = IMAGE_HASH_LEN }; in img_mgmt_state_encode_slot() local460 zcbor_bstr_encode(zse, &zhash) && in img_mgmt_state_encode_slot()693 struct zcbor_string zhash = { 0 }; in img_mgmt_state_write() local696 ZCBOR_MAP_DECODE_KEY_DECODER("hash", zcbor_bstr_decode, &zhash), in img_mgmt_state_write()713 if (zhash.len == 0) { in img_mgmt_state_write()722 } else if (zhash.len != IMAGE_HASH_LEN) { in img_mgmt_state_write()731 memcpy(hash, zhash.value, zhash.len); in img_mgmt_state_write()