Home
last modified time | relevance | path

Searched refs:value (Results 1 – 25 of 35) sorted by relevance

12

/mcuboot-3.7.0/testplan/mynewt/apps/slinky/src/
Drandom_data.c21339 static uint32_t value; variable
21349 for (value = 0, i = 0; i < random_bin_len; i++) { in read_random_data()
21350 value += random_bin[i]; in read_random_data()
21353 return value; in read_random_data()
/mcuboot-3.7.0/scripts/imgtool/
Dmain.py250 def validate_version(ctx, param, value): argument
252 decode_version(value)
253 return value
258 def validate_security_counter(ctx, param, value): argument
259 if value is not None:
260 if value.lower() == 'auto':
264 return int(value, 0)
269 .format(value))
272 def validate_header_size(ctx, param, value): argument
274 if value < min_hdr_size:
[all …]
Ddumpinfo.py31 TLV_TYPES = dict((value, key) for key, value in image.TLV_VALUES.items())
261 for key, value in header.items():
263 if not value:
264 flag_string = hex(value)
268 if value & image.IMAGE_F[flag]:
273 value = flag_string
275 if not isinstance(value, str):
276 value = hex(value)
277 print(key, ":", " " * (19 - len(key)), value, sep="")
Dimage.py404 for value in custom_tlvs.values():
405 protected_tlv_size += TLV_SIZE + len(value)
459 for tag, value in custom_tlvs.items():
460 prot_tlv.add(tag, value)
/mcuboot-3.7.0/boot/zcbor/src/
Dzcbor_common.c203 if (fragments[i].fragment.value == NULL) { in zcbor_validate_string_fragments()
243 fragments[i].fragment.value, fragments[i].fragment.len); in zcbor_splice_string_fragments()
256 && (str1->value != NULL) && (str2->value != NULL) && (str1->len == str2->len) in zcbor_compare_strings()
257 && (memcmp(str1->value, str2->value, str1->len) == 0); in zcbor_compare_strings()
261 size_t zcbor_header_len(uint64_t value) in zcbor_header_len() argument
263 if (value <= ZCBOR_VALUE_IN_HEADER) { in zcbor_header_len()
265 } else if (value <= 0xFF) { in zcbor_header_len()
267 } else if (value <= 0xFFFF) { in zcbor_header_len()
269 } else if (value <= 0xFFFFFFFF) { in zcbor_header_len()
277 size_t zcbor_header_len_ptr(const void *const value, size_t value_len) in zcbor_header_len_ptr() argument
[all …]
Dzcbor_decode.c397 result->value = state->payload;
439 state->payload_end = result->value + result->len;
502 result->fragment.value = state->payload_mut;
518 result->fragment.value = state->payload_mut;
618 struct zcbor_string zs = { .value = (const uint8_t *)ptr, .len = len };
627 struct zcbor_string zs = { .value = (const uint8_t *)ptr, .len = len };
944 struct zcbor_string zs = { .value = (const uint8_t *)ptr, .len = len };
952 struct zcbor_string zs = { .value = (const uint8_t *)ptr, .len = len };
1119 uint8_t value; local
1121 if (!zcbor_simple_decode(state, &value)) {
[all …]
Dzcbor_encode.c220 if (input->value && ((zcbor_header_len_ptr(&input->len, sizeof(input->len))
274 result->value = state->payload_end - remaining_str_len(state);
275 result->len = (size_t)payload - (size_t)result->value;
295 if (state->payload_mut != input->value) {
298 memmove(state->payload_mut, input->value, input->len);
319 const struct zcbor_string zs = { .value = (const uint8_t *)str, .len = len };
327 const struct zcbor_string zs = { .value = (const uint8_t *)str, .len = len };
/mcuboot-3.7.0/boot/boot_serial/src/
Dzcbor_bulk.c38 memcmp(key.value, dptr->key.value, key.len) == 0) { in zcbor_map_decode_bulk()
Dzcbor_bulk.h44 .value = (uint8_t *)k, \
Dboot_serial.c518 if (rc == 0 && memcmp(hash, img_hash.value, sizeof(hash)) == 0) {
676 img_chunk = img_chunk_data.value;
907 struct zcbor_string value = { 0 }; local
923 if (key.len == 1 && *key.value == 'd') {
924 ok = zcbor_tstr_decode(zsd, &value);
938 if (zcbor_tstr_encode(cbor_state, &value) && zcbor_map_end_encode(cbor_state, 10)) {
/mcuboot-3.7.0/boot/zephyr/include/io/
Dio.h40 void io_led_set(int value);
/mcuboot-3.7.0/boot/zephyr/
Dio.c95 void io_led_set(int value) in io_led_set() argument
97 gpio_pin_set_dt(&led0, value); in io_led_set()
/mcuboot-3.7.0/ext/fiat/
DMETADATA7 value: "https://github.com/mit-plv/fiat-crypto"
/mcuboot-3.7.0/ci/fih_test_docker/
Ddamage_image.py130 value = bytearray(tlv.it_value[0])
131 value[0] = (value[0] + 1) % 256
132 out_file_content[damage_offset] = value[0]
/mcuboot-3.7.0/
DCargo.toml6 # The simulator runs very slowly without optimization. A value of 1
/mcuboot-3.7.0/boot/zcbor/include/
Dzcbor_common.h46 const uint8_t *value; member
459 size_t zcbor_header_len(uint64_t value);
462 size_t zcbor_header_len_ptr(const void *const value, size_t value_len);
/mcuboot-3.7.0/boot/zephyr/boards/
Dnrf52840dk_ram.overlay32 erase-value = <0xff>;
Dnrf52840dk_ram_multi.overlay40 erase-value = <0xff>;
/mcuboot-3.7.0/docs/
Dreadme-riot.md23 with a valid formatted value. The format is `major.minor.patch+other`
30 version information, and trailer type-length-value records (TLVs) with
Dreadme-nuttx.md12 …mer indicated by `CONFIG_MCUBOOT_WATCHDOG_DEVPATH` to the current timeout value, preventing any im…
41 - `MTDIOC_ERASESTATE`, for retrieving the byte value of an erased cell of the MTD, required for the…
45 …he NuttX implementation of `flash_area_align()` is able to return a fixed value of 1 byte, even if…
Dreadme-mynewt.md44 requires that `mtu` is set to a value that is less than or equal to `256`.
/mcuboot-3.7.0/boot/espressif/port/esp32c2/ld/
Dbootloader.ld48 * 1. Check what the new value of bootloader_iram_loader_seg start is.
49 * 2. Update the value in this assert.
50 …RAM_DRAM_END + I_D_SRAM_OFFSET) in components/esp_system/ld/esp32c2/memory.ld.in to the same value.
/mcuboot-3.7.0/boot/espressif/port/esp32c6/ld/
Dbootloader.ld45 * 1. Check what the new value of bootloader_iram_loader_seg start is.
46 * 2. Update the value in this assert.
47 * 3. Update SRAM_DRAM_END in components/esp_system/ld/esp32c6/memory.ld.in to the same value.
/mcuboot-3.7.0/boot/espressif/port/esp32h2/ld/
Dbootloader.ld46 * 1. Check what the new value of bootloader_iram_loader_seg start is.
47 * 2. Update the value in this assert.
48 * 3. Update SRAM_DRAM_END in components/esp_system/ld/esp32h2/memory.ld.in to the same value.
/mcuboot-3.7.0/sim/mcuboot-sys/
DCargo.toml89 # Support images with 32-byte maximum write alignment value.

12