/mcuboot-2.7.6/boot/zephyr/include/sysflash/ |
D | sysflash.h | 17 #define FLASH_AREA_IMAGE_PRIMARY(x) (((x) == 0) ? \ argument 20 #define FLASH_AREA_IMAGE_SECONDARY(x) (((x) == 0) ? \ argument 28 #define FLASH_AREA_IMAGE_PRIMARY(x) (((x) == 0) ? \ argument 30 ((x) == 1) ? \ 33 #define FLASH_AREA_IMAGE_SECONDARY(x) (((x) == 0) ? \ argument 35 ((x) == 1) ? \ 48 #define FLASH_AREA_IMAGE_PRIMARY(x) FLASH_AREA_ID(image_0) argument 49 #define FLASH_AREA_IMAGE_SECONDARY(x) FLASH_AREA_ID(image_0) argument
|
/mcuboot-2.7.6/boot/mynewt/flash_map_backend/include/flash_map_backend/ |
D | flash_map_backend.h | 15 #define FLASH_AREA_IMAGE_PRIMARY(x) (((x) == 0) ? \ argument 18 #define FLASH_AREA_IMAGE_SECONDARY(x) (((x) == 0) ? \ argument 24 #define FLASH_AREA_IMAGE_PRIMARY(x) (((x) == 0) ? \ argument 26 ((x) == 1) ? \ 29 #define FLASH_AREA_IMAGE_SECONDARY(x) (((x) == 0) ? \ argument 31 ((x) == 1) ? \
|
/mcuboot-2.7.6/boot/bootutil/include/bootutil/ |
D | fault_injection_hardening.h | 185 void fih_int_validate(fih_int x) in fih_int_validate() argument 187 if (x.val != (x.msk ^ _fih_mask)) { in fih_int_validate() 194 int fih_int_decode(fih_int x) in fih_int_decode() argument 196 fih_int_validate(x); in fih_int_decode() 197 return x.val; in fih_int_decode() 202 fih_int fih_int_encode(int x) in fih_int_encode() argument 204 fih_int ret = {x, x ^ _fih_mask}; in fih_int_encode() 210 int fih_eq(fih_int x, fih_int y) in fih_eq() argument 212 fih_int_validate(x); in fih_eq() 214 return (x.val == y.val) && fih_delay() && (x.msk == y.msk); in fih_eq() [all …]
|
/mcuboot-2.7.6/boot/cypress/MCUBootApp/sysflash/ |
D | sysflash.h | 51 #define FLASH_AREA_IMAGE_PRIMARY(x) (((x) == 0) ? \ argument 54 #define FLASH_AREA_IMAGE_SECONDARY(x) (((x) == 0) ? \ argument 60 #define FLASH_AREA_IMAGE_PRIMARY(x) (((x) == 0) ? \ argument 62 ((x) == 1) ? \ 65 #define FLASH_AREA_IMAGE_SECONDARY(x) (((x) == 0) ? \ argument 67 ((x) == 1) ? \
|
/mcuboot-2.7.6/sim/mcuboot-sys/csupport/mcuboot_config/ |
D | mcuboot_assert.h | 26 #define ASSERT(x) sim_assert((x), #x, __FILE__, __LINE__, __func__) argument
|
/mcuboot-2.7.6/sim/mcuboot-sys/csupport/ |
D | devicetree.h | 12 #define FLASH_AREA_ID(x) FLASH_AREA_ID_##x argument
|
D | run.c | 28 #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) argument 425 void sim_assert(int x, const char *assertion, const char *file, unsigned int line, const char *func… in sim_assert() argument 427 if (!(x)) { in sim_assert() 437 assert(x); in sim_assert()
|
/mcuboot-2.7.6/boot/mbed/include/sysflash/ |
D | sysflash.h | 10 #define FLASH_AREA_IMAGE_PRIMARY(x) PRIMARY_ID argument 11 #define FLASH_AREA_IMAGE_SECONDARY(x) SECONDARY_ID argument
|
/mcuboot-2.7.6/sim/simflash/src/ |
D | lib.rs | 163 for x in &mut self.data[offset .. offset + len] { in erase() 164 *x = self.erased_val; in erase() 167 for x in &mut self.write_safe[offset .. offset + len] { in erase() 168 *x = true; in erase() 207 … for (i, x) in &mut self.write_safe[offset .. offset + payload.len()].iter_mut().enumerate() { in write() 208 if self.verify_writes && !(*x) { in write() 211 *x = false; in write() 359 assert!(buf[1..buf.len()-1].iter().all(|&x| x == erased_val)); in test_device()
|
/mcuboot-2.7.6/ext/tinycrypt/tests/ |
D | test_ecc_dh.c | 151 char *x[] = { in cavp_ecdh() local 238 result = ecdh_vectors(x, y, d, Z, 25, verbose); in cavp_ecdh() 267 char *x[] = { in cavp_keygen() local 296 result = keygen_vectors(d, x, y, 10, verbose); in cavp_keygen() 369 char *x[] = { in cavp_pkv() local 411 return pkv_vectors(x, y, Result, 12, verbose); in cavp_pkv()
|
/mcuboot-2.7.6/ext/tinycrypt/lib/source/ |
D | cmac_mode.c | 82 uint8_t *x = in + (TC_AES_BLOCK_SIZE - 1); in gf_double() local 89 *out-- = (*x << 1) ^ carry; in gf_double() 90 if (x == in) { in gf_double() 93 carry = *x-- >> 7; in gf_double()
|
/mcuboot-2.7.6/boot/boot_serial/src/ |
D | boot_serial.c | 75 #define ntohs(x) sys_be16_to_cpu(x) argument 76 #define htons(x) sys_cpu_to_be16(x) argument 84 #define IMAGES_ITER(x) for ((x) = 0; (x) < BOOT_IMAGE_NUMBER; ++(x)) argument 86 #define IMAGES_ITER(x) argument
|
/mcuboot-2.7.6/boot/bootutil/src/ |
D | image_validate.c | 182 # define EXPECTED_SIG_LEN(x) ((x) == SIG_BUF_SIZE) /* 2048 bits */ argument 186 # define EXPECTED_SIG_LEN(x) (1) /* always true, ASN.1 will validate */ argument 190 # define EXPECTED_SIG_LEN(x) (1) /* always true, ASN.1 will validate */ argument 194 # define EXPECTED_SIG_LEN(x) ((x) == SIG_BUF_SIZE) argument
|
D | swap_move.c | 40 #define BOOT_STATUS_ASSERT(x) \ argument 42 if (!(x)) { \ 47 #define BOOT_STATUS_ASSERT(x) ASSERT(x) argument
|
D | swap_scratch.c | 40 #define BOOT_STATUS_ASSERT(x) \ argument 42 if (!(x)) { \ 47 #define BOOT_STATUS_ASSERT(x) ASSERT(x) argument
|
D | loader.c | 60 #define IMAGES_ITER(x) for ((x) = 0; (x) < BOOT_IMAGE_NUMBER; ++(x)) argument 62 #define IMAGES_ITER(x) argument
|
/mcuboot-2.7.6/ext/mbedtls-asn1/include/mbedtls/ |
D | asn1.h | 110 #define MBEDTLS_OID_SIZE(x) (sizeof(x) - 1) argument
|
D | ecp.h | 590 const char *x, const char *y );
|
/mcuboot-2.7.6/ext/tinycrypt/lib/include/tinycrypt/ |
D | ecc.h | 122 void (*x_side)(uECC_word_t *result, const uECC_word_t *x, uECC_Curve curve); 142 void x_side_default(uECC_word_t *result, const uECC_word_t *x, 154 #define BYTES_TO_WORDS_8(a, b, c, d, e, f, g, h) 0x##d##c##b##a, 0x##h##g##f##e 155 #define BYTES_TO_WORDS_4(a, b, c, d) 0x##d##c##b##a
|
/mcuboot-2.7.6/boot/cypress/MCUBootApp/config/mcuboot_config/ |
D | mcuboot_logging.h | 51 #define sim_log_enabled(x) 1 argument
|
/mcuboot-2.7.6/sim/src/ |
D | image.rs | 1000 (x, _) => panic!("Unknown return: {}", x), in try_upgrade() 1009 (x, _) => panic!("Unknown return: {}", x), in try_upgrade() 1032 let (x, _) = c::boot_go(&mut flash, &self.areadesc, Some(&mut counter), false); in try_revert_with_fail_at() 1033 if x != -0x13579 { in try_revert_with_fail_at() 1045 let (x, _) = c::boot_go(&mut flash, &self.areadesc, None, false); in try_revert_with_fail_at() 1046 if x != 0 { in try_revert_with_fail_at() 1074 let (x, _) = c::boot_go(&mut flash, &self.areadesc, Some(&mut counter), false); in try_revert_with_fail_at() 1075 if x != -0x13579 { in try_revert_with_fail_at() 1080 let (x, _) = c::boot_go(&mut flash, &self.areadesc, None, false); in try_revert_with_fail_at() 1081 if x != 0 { in try_revert_with_fail_at() [all …]
|
D | lib.rs | 142 let align = args.flag_align.map(|x| x.0).unwrap_or(1); in main()
|
/mcuboot-2.7.6/ext/fiat/src/ |
D | curve25519.c | 304 uint8_t x = 0; in CRYPTO_memcmp() local 307 x |= a[i] ^ b[i]; in CRYPTO_memcmp() 310 return x; in CRYPTO_memcmp() 405 fe x; in x25519_ge_tobytes() local 409 fe_mul_ttt(&x, &h->X, &recip); in x25519_ge_tobytes() 412 s[31] ^= fe_isnegative(&x) << 7; in x25519_ge_tobytes() 1150 fe_limb_t x = f->v[i] ^ g->v[i]; in fe_cswap() local 1151 x &= b; in fe_cswap() 1152 f->v[i] ^= x; in fe_cswap() 1153 g->v[i] ^= x; in fe_cswap()
|
D | curve25519.h | 12 #define UINT64_C(x) x##ULL argument 15 #define UINT32_C(x) x##UL argument 18 #define UINT8_C(x) (x) argument
|
/mcuboot-2.7.6/docs/ |
D | release-notes.md | 139 - Add a `-x` (or `--hex_addr`) flag to imgtool to set the base address 234 options. As expected of the 1.x.x release cycle, no breaking changes 262 incompatible format changes throughout the 1.x.y release series.
|