Home
last modified time | relevance | path

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

/mcuboot-latest/boot/zcbor/src/
Dzcbor_common.c190 bool zcbor_validate_string_fragments(struct zcbor_string_fragment *fragments, in zcbor_validate_string_fragments() argument
195 if (fragments == NULL) { in zcbor_validate_string_fragments()
200 if (fragments[i].offset != total_len) { in zcbor_validate_string_fragments()
203 if (fragments[i].fragment.value == NULL) { in zcbor_validate_string_fragments()
206 if (fragments[i].total_len != fragments[0].total_len) { in zcbor_validate_string_fragments()
209 total_len += fragments[i].fragment.len; in zcbor_validate_string_fragments()
210 if (total_len > fragments[0].total_len) { in zcbor_validate_string_fragments()
215 if (num_fragments && total_len != fragments[0].total_len) { in zcbor_validate_string_fragments()
219 if (num_fragments && (fragments[0].total_len == ZCBOR_STRING_FRAGMENT_UNKNOWN_LENGTH)) { in zcbor_validate_string_fragments()
221 fragments[i].total_len = total_len; in zcbor_validate_string_fragments()
[all …]
/mcuboot-latest/boot/zcbor/include/
Dzcbor_common.h416 bool zcbor_validate_string_fragments(struct zcbor_string_fragment *fragments,
435 bool zcbor_splice_string_fragments(struct zcbor_string_fragment *fragments,
/mcuboot-latest/boot/zephyr/
DKconfig.serial_recovery82 fragments of 128-bytes, this should not need to be changed unless a