/mcuboot-latest/ext/tinycrypt/tests/ |
D | test_hmac.c | 51 unsigned int do_hmac_test(TCHmacState_t h, unsigned int testnum, const uint8_t *data, in do_hmac_test() argument 58 (void)tc_hmac_init(h); in do_hmac_test() 59 (void)tc_hmac_update(h, data, datalen); in do_hmac_test() 60 (void)tc_hmac_final(digest, TC_SHA256_DIGEST_SIZE, h); in do_hmac_test() 87 struct tc_hmac_state_struct h; in test_1() local 89 (void)memset(&h, 0x00, sizeof(h)); in test_1() 90 (void)tc_hmac_set_key(&h, key, sizeof(key)); in test_1() 91 result = do_hmac_test(&h, 1, data, sizeof(data),expected, in test_1() 114 struct tc_hmac_state_struct h; in test_2() local 116 (void)memset(&h, 0x00, sizeof(h)); in test_2() [all …]
|
D | test_hmac_prng.c | 78 struct tc_hmac_prng_struct h; in main() local 99 if (tc_hmac_prng_init(&h, personalization, in main() 108 if (tc_hmac_prng_reseed(&h, seed, sizeof(seed), additional_input, in main() 118 if (tc_hmac_prng_generate(random, size, &h) < 1) { in main()
|
/mcuboot-latest/ext/tinycrypt/lib/source/ |
D | hmac_prng.c | 84 (void)tc_hmac_init(&prng->h); in update() 85 (void)tc_hmac_update(&prng->h, prng->v, sizeof(prng->v)); in update() 86 (void)tc_hmac_update(&prng->h, &separator0, sizeof(separator0)); in update() 87 (void)tc_hmac_update(&prng->h, e, len); in update() 88 (void)tc_hmac_final(prng->key, sizeof(prng->key), &prng->h); in update() 90 (void)tc_hmac_set_key(&prng->h, prng->key, sizeof(prng->key)); in update() 93 (void)tc_hmac_init(&prng->h); in update() 94 (void)tc_hmac_update(&prng->h, prng->v, sizeof(prng->v)); in update() 95 (void)tc_hmac_final(prng->v, sizeof(prng->v), &prng->h); in update() 98 (void)tc_hmac_init(&prng->h); in update() [all …]
|
D | sha256.c | 183 unsigned int a, b, c, d, e, f, g, h; in compress() local 191 e = iv[4]; f = iv[5]; g = iv[6]; h = iv[7]; in compress() 196 t1 += h + Sigma1(e) + Ch(e, f, g) + k256[i]; in compress() 198 h = g; g = f; f = e; e = d + t1; in compress() 209 t1 += h + Sigma1(e) + Ch(e, f, g) + k256[i]; in compress() 211 h = g; g = f; f = e; e = d + t1; in compress() 216 iv[4] += e; iv[5] += f; iv[6] += g; iv[7] += h; in compress()
|
/mcuboot-latest/boot/zcbor/ |
D | add_zcbor_copy_version.sh | 20 add_copy_notice include/zcbor_decode.h "copied" 21 add_copy_notice include/zcbor_encode.h "copied" 22 add_copy_notice include/zcbor_common.h "copied" 23 add_copy_notice include/zcbor_print.h "copied" 24 add_copy_notice include/zcbor_tags.h "copied"
|
/mcuboot-latest/ext/fiat/src/ |
D | curve25519.c | 119 static void fe_frombytes_strict(fe *h, const uint8_t s[32]) { in fe_frombytes_strict() argument 122 fiat_25519_from_bytes(h->v, s); in fe_frombytes_strict() 123 assert_fe(h->v); in fe_frombytes_strict() 126 static void fe_frombytes(fe *h, const uint8_t s[32]) { in fe_frombytes() argument 130 fe_frombytes_strict(h, s_copy); in fe_frombytes() 139 static void fe_0(fe *h) { in fe_0() argument 141 mbedtls_platform_zeroize(h, sizeof(fe)); in fe_0() 143 _set(h, 0, sizeof(fe)); in fe_0() 148 static void fe_1(fe *h) { in fe_1() argument 150 mbedtls_platform_zeroize(h, sizeof(fe)); in fe_1() [all …]
|
/mcuboot-latest/ci/fih_test_docker/ |
D | damage_image.py | 47 h = ImageHeader() 49 (h.ih_magic, h.ih_load_addr, h.ih_hdr_size, h.ih_protect_tlv_size, h.ih_img_size, 50 h.ih_flags, h.iv_major, h.iv_minor, h.iv_revision, h.iv_build_num, h._pad1 52 return h
|
/mcuboot-latest/ci/ |
D | check-signed-off-by.sh | 19 commits=$(git show -s --format=%h ${1}~..HEAD) 26 commits=$(git show -s --format=%h ${parents[0]}..${parents[1]})
|
/mcuboot-latest/ext/tinycrypt-sha512/lib/source/ |
D | sha512.c | 200 uint64_t a, b, c, d, e, f, g, h; in compress() local 208 e = iv[4]; f = iv[5]; g = iv[6]; h = iv[7]; in compress() 213 t1 += h + Sigma1(e) + Ch(e, f, g) + k512[i]; in compress() 215 h = g; g = f; f = e; e = d + t1; in compress() 226 t1 += h + Sigma1(e) + Ch(e, f, g) + k512[i]; in compress() 228 h = g; g = f; f = e; e = d + t1; in compress() 233 iv[4] += e; iv[5] += f; iv[6] += g; iv[7] += h; in compress()
|
/mcuboot-latest/boot/zephyr/include/boot_serial/ |
D | boot_serial.ld | 7 #include <zephyr/linker/iterable_sections.h>
|
/mcuboot-latest/docs/ |
D | readme-nuttx.md | 15 - `<flash_map_backend/flash_map_backend.h>`, for enabling MCUboot to manage the application firmwar… 16 - `<mcuboot_config/mcuboot_config.h>`, for configuration of MCUboot's features. 17 - `<mcuboot_config/mcuboot_logging.h>`, for providing logging capabilities. 18 - `<os/os_malloc.h>`, for providing MCUboot access to the OS memory management interfaces. 19 - `<sysflash/sysflash.h>`, for configuration of the system's flash area organization. 39 The implementation of `<flash_map_backend/flash_map_backend.h>` expects that the MTD driver for a g… 49 ### `<flash_map_backend/flash_map_backend.h>` functions are not multitasking-safe 52 But, regarding NuttX implementation of the `<flash_map_backend/flash_map_backend.h>`, it is safe to…
|
D | PORTING.md | 9 mcuboot_config/mcuboot_config.h, which configures various options 55 You must provide a file, mcuboot_config/mcuboot_config.h. This is 60 See the file samples/mcuboot_config/mcuboot_config.template.h for a 67 - boot/zephyr/include/mcuboot_config/mcuboot_config.h 68 - boot/mynewt/mcuboot_config/include/mcuboot_config/mcuboot_config.h 192 For reference see [Mbed TLS platform.h](https://tls.mbed.org/api/platform_8h.html).
|
/mcuboot-latest/ext/tinycrypt/lib/include/tinycrypt/ |
D | hmac_prng.h | 82 struct tc_hmac_state_struct h; member
|
D | ecc.h | 154 #define BYTES_TO_WORDS_8(a, b, c, d, e, f, g, h) 0x##d##c##b##a, 0x##h##g##f##e argument
|
/mcuboot-latest/scripts/ |
D | flash.sh | 10 h
|
/mcuboot-latest/boot/espressif/include/crypto_config/ |
D | rsa.cmake | 24 …ions(-DMBEDTLS_CONFIG_FILE=\"${ESPRESSIF_PORT_DIR}/include/crypto_config/mbedtls_custom_config.h\")
|
/mcuboot-latest/ |
D | root-rsa-3072.pem | 29 nxGoWC0o31l2NEVfj9nxa6PLPnJNUGn7SakTMP/+h/yVv9wXvYQ6dWui/umXn3f4
|
/mcuboot-latest/scripts/imgtool/ |
D | image.py | 373 h = IntelHex() 376 h.frombytes(bytes=self.payload, offset=self.base_addr) 390 h.puts(trailer_addr + trailer_size + image_ok_idx, 392 h.puts(trailer_addr + (trailer_size - len(self.boot_magic)), 394 h.tofile(path, 'hex')
|
/mcuboot-latest/boot/espressif/port/esp32c3/ld/ |
D | bootloader.ld | 118 *(.gnu.linkonce.h.*)
|
/mcuboot-latest/boot/espressif/port/esp32s2/ld/ |
D | bootloader.ld | 118 *(.gnu.linkonce.h.*)
|
/mcuboot-latest/boot/espressif/port/esp32s3/ld/ |
D | bootloader.ld | 118 *(.gnu.linkonce.h.*)
|
/mcuboot-latest/boot/espressif/port/esp32/ld/ |
D | bootloader.ld | 117 *(.gnu.linkonce.h.*)
|
/mcuboot-latest/boot/espressif/ |
D | CMakeLists.txt | 151 # Flash frequency parameter for esptool.py, for more information, check `esptool.py -h` 166 # Flash mode parameter for esptool.py, for more information, check `esptool.py -h` 171 # Serial baud rate parameter for esptool.py flash use, for more information, check `esptool.py -h`
|
/mcuboot-latest/boot/cypress/MCUBootApp/ |
D | README.md | 48 Navigate to `sysflash.h` and modify the flash area(s) / slots sizes to meet your needs. 52 Navigate to `sysflash.h`, uncomment `CY_FLASH_MAP_EXT_DESC` definition. 85 …peration define `MCUBOOT_IMAGE_NUMBER` in `MCUBootApp/config/mcuboot_config.h` file should be set …
|
/mcuboot-latest/ext/mbedtls-asn1/include/mbedtls/ |
D | ecp.h | 232 unsigned int MBEDTLS_PRIVATE(h); /*!< \internal 1 if the constants are static. */
|