Home
last modified time | relevance | path

Searched +full:- +full:t (Results 1 – 25 of 117) sorted by relevance

12345

/mcuboot-latest/ext/tinycrypt/lib/source/
Daes_encrypt.c1 /* aes_encrypt.c - TinyCrypt implementation of AES encryption procedure */
9 * - Redistributions of source code must retain the above copyright notice,
12 * - Redistributions in binary form must reproduce the above copyright
16 * - Neither the name of Intel Corporation nor the names of its contributors
77 unsigned int t; in tc_aes128_set_encrypt_key() local
86 s->words[i] = (k[Nb*i]<<24) | (k[Nb*i+1]<<16) | in tc_aes128_set_encrypt_key()
91 t = s->words[i-1]; in tc_aes128_set_encrypt_key()
93 t = subword(rotword(t)) ^ rconst[i/Nk]; in tc_aes128_set_encrypt_key()
95 s->words[i] = s->words[i-Nk] ^ t; in tc_aes128_set_encrypt_key()
134 uint8_t t[Nb*Nk]; in mix_columns() local
[all …]
Daes_decrypt.c1 /* aes_decrypt.c - TinyCrypt implementation of AES decryption procedure */
9 * - Redistributions of source code must retain the above copyright notice,
12 * - Redistributions in binary form must reproduce the above copyright
16 * - Neither the name of Intel Corporation nor the names of its contributors
83 uint8_t t[Nb*Nk]; in inv_mix_columns() local
85 mult_row_column(t, s); in inv_mix_columns()
86 mult_row_column(&t[Nb], s+Nb); in inv_mix_columns()
87 mult_row_column(&t[2*Nb], s+(2*Nb)); in inv_mix_columns()
88 mult_row_column(&t[3*Nb], s+(3*Nb)); in inv_mix_columns()
89 (void)_copy(s, sizeof(t), t, sizeof(t)); in inv_mix_columns()
[all …]
Dccm_mode.c1 /* ccm_mode.c - TinyCrypt implementation of CCM mode */
9 * - Redistributions of source code must retain the above copyright notice,
12 * - Redistributions in binary form must reproduce the above copyright
16 * - Neither the name of Intel Corporation nor the names of its contributors
54 c->mlen = mlen; in tc_ccm_config()
55 c->sched = sched; in tc_ccm_config()
56 c->nonce = nonce; in tc_ccm_config()
62 * Variation of CBC-MAC mode used in CCM.
64 static void ccm_cbc_mac(uint8_t *T, const uint8_t *data, unsigned int dlen, in ccm_cbc_mac() argument
71 T[0] ^= (uint8_t)(dlen >> 8); in ccm_cbc_mac()
[all …]
/mcuboot-latest/ext/fiat/src/
Dcurve25519.c3 // Copyright (c) 2015-2016 the fiat-crypto authors (see the AUTHORS file).
26 // (https://github.com/mit-plv/fiat-crypto), which is MIT licensed.
40 #include <mbedtls/compat-2.x.h>
49 // Various pre-computed constants.
54 // Low-level intrinsic operations
120 // |fiat_25519_from_bytes| requires the top-most bit be clear. in fe_frombytes_strict()
122 fiat_25519_from_bytes(h->v, s); in fe_frombytes_strict()
123 assert_fe(h->v); in fe_frombytes_strict()
134 assert_fe(f->v); in fe_tobytes()
135 fiat_25519_to_bytes(s, f->v); in fe_tobytes()
[all …]
/mcuboot-latest/ext/tinycrypt-sha512/lib/source/
Dsha512.c1 /* sha512.c - TinyCrypt SHA-512 crypto hash algorithm implementation */
9 * - Redistributions of source code must retain the above copyright notice,
12 * - Redistributions in binary form must reproduce the above copyright
16 * - Neither the name of Intel Corporation nor the names of its contributors
53 s->iv[0] = 0x6a09e667f3bcc908; in tc_sha512_init()
54 s->iv[1] = 0xbb67ae8584caa73b; in tc_sha512_init()
55 s->iv[2] = 0x3c6ef372fe94f82b; in tc_sha512_init()
56 s->iv[3] = 0xa54ff53a5f1d36f1; in tc_sha512_init()
57 s->iv[4] = 0x510e527fade682d1; in tc_sha512_init()
58 s->iv[5] = 0x9b05688c2b3e6c1f; in tc_sha512_init()
[all …]
/mcuboot-latest/sim/simflash/src/
Dlib.rs1 // Copyright (c) 2017-2021 Linaro LTD
2 // Copyright (c) 2017-2018 JUUL Labs
4 // SPDX-License-Identifier: Apache-2.0
30 pub type Result<T> = std::result::Result<T, FlashError>;
44 // Transition from error-chain.
55 fn erase(&mut self, offset: usize, len: usize) -> Result<()>; in erase()
56 fn write(&mut self, offset: usize, payload: &[u8]) -> Result<()>; in write()
57 fn read(&self, offset: usize, data: &mut [u8]) -> Result<()>; in read()
59 fn add_bad_region(&mut self, offset: usize, len: usize, rate: f32) -> Result<()>; in add_bad_region()
64 fn sector_iter(&self) -> SectorIter<'_>; in sector_iter()
[all …]
/mcuboot-latest/docs/
Dtestplan-zephyr.md5 were written using the FRDM-K64F, but other boards should be similar.
9 Note that the script "run-tests.sh" in that directory is helpful for
15 The tests are build using the various `test-*` targets in
19 $ make test-good-rsa
23 $ pyocd erase --chip
47 $ pyocd commander -c reset
54 revert doesn't happen:
61 $ pyocd flash -a 0x7ffe8 image_ok.bin
62 $ pyocd commander -c reset
66 This step doesn't make sense on the tests where the upgrade doesn't
[all …]
/mcuboot-latest/ci/fih_test_docker/
Dfi_tester_gdb.sh3 # Copyright (c) 2020-2022 Arm Limited
9 # http://www.apache.org/licenses/LICENSE-2.0
25 …INSTR=$($GDB $AXF_FILE --batch -ex "disassemble $SKIP_ADDRESS" | grep "^ *$SKIP_ADDRESS" | sed "s/…
27 …LINE=$($GDB $AXF_FILE --batch -ex "info line *$SKIP_ADDRESS" | sed "s/Line \([0-9]*\).*\"\(.*\)\".…
30 # don't run the test
35 # Print out the meta-info about the test, in YAML
36 echo "- skip_test:"
41 # echo -ne "$SKIP_ADDRESS | $INSTR...\t"
67 echo -n '.' 1>&2
72 rm -f $QEMU_PID_FILE $QEMU_LOG_FILE
[all …]
/mcuboot-latest/boot/bootutil/src/
Dfault_injection_hardening.c2 * SPDX-License-Identifier: Apache-2.0
10 /* Variable that could be (but isn't) changed at runtime to force the compiler
11 * not to optimize the double check. Value doesn't matter.
40 * these functions being executed. If the values aren't the same then panic.
54 _fih_cfi_ctr = fih_int_encode(fih_int_decode(_fih_cfi_ctr) - 1); in fih_cfi_decrement()
61 * compiler removing due to non-standard calling procedure. Multiple loop jumps
/mcuboot-latest/testplan/mynewt/apps/slinky/src/
Dmain.c10 * http://www.apache.org/licenses/LICENSE-2.0
151 struct os_task *t; in task1_handler() local
168 t = os_sched_get_current_task(); in task1_handler()
169 assert(t->t_func == task1_handler); in task1_handler()
191 struct os_task *t; in task2_handler() local
195 t = os_sched_get_current_task(); in task2_handler()
196 assert(t->t_func == task2_handler); in task2_handler()
/mcuboot-latest/sim/mcuboot-sys/csupport/mcuboot_config/
Dmcuboot_config.h4 * SPDX-License-Identifier: Apache-2.0
11 * This file is included by the simulator, but we don't want to
17 * exist, or bootutil won't build.
/mcuboot-latest/.github/workflows/
Dzephyr_build.yaml1 # Copyright (c) 2022-2023 Nordic Semiconductor ASA
2 # SPDX-License-Identifier: Apache-2.0
11 - main
14 - main
16 - cron: 0 0 * * *
35 group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
36 cancel-in-progress: true
40 runs-on: ubuntu-latest
44 options: '--entrypoint /bin/bash'
46 - /home/runners/zephyrproject:/github/cache/zephyrproject
[all …]
/mcuboot-latest/boot/espressif/hal/include/esp32c3/
Desp32c3.cmake1 # SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD
3 # SPDX-License-Identifier: Apache-2.0
18 -T${esp_hal_dir}/components/esp_rom/${MCUBOOT_TARGET}/ld/${MCUBOOT_TARGET}.rom.newlib.ld
19 -T${esp_hal_dir}/components/esp_rom/${MCUBOOT_TARGET}/ld/${MCUBOOT_TARGET}.rom.eco3.ld
/mcuboot-latest/boot/espressif/port/esp32c3/ld/
Dbootloader.ld2 * SPDX-FileCopyrightText: 2021 Espressif Systems (Shanghai) CO LTD
4 * SPDX-License-Identifier: Apache-2.0
29 *(.stub .gnu.warning .gnu.linkonce.literal.* .gnu.linkonce.t.*.literal .gnu.linkonce.t.*)
138 …l.* .text.* .stub .gnu.warning .gnu.linkonce.literal.* .gnu.linkonce.t.*.literal .gnu.linkonce.t.*)
/mcuboot-latest/boot/espressif/port/esp32s2/ld/
Dbootloader.ld2 * SPDX-FileCopyrightText: 2021 Espressif Systems (Shanghai) CO LTD
4 * SPDX-License-Identifier: Apache-2.0
29 *(.stub .gnu.warning .gnu.linkonce.literal.* .gnu.linkonce.t.*.literal .gnu.linkonce.t.*)
138 …l.* .text.* .stub .gnu.warning .gnu.linkonce.literal.* .gnu.linkonce.t.*.literal .gnu.linkonce.t.*)
/mcuboot-latest/boot/espressif/port/esp32s3/ld/
Dbootloader.ld2 * SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD
4 * SPDX-License-Identifier: Apache-2.0
29 *(.stub .gnu.warning .gnu.linkonce.literal.* .gnu.linkonce.t.*.literal .gnu.linkonce.t.*)
138 …l.* .text.* .stub .gnu.warning .gnu.linkonce.literal.* .gnu.linkonce.t.*.literal .gnu.linkonce.t.*)
/mcuboot-latest/boot/espressif/hal/include/esp32s2/
Desp32s2.cmake1 # SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD
3 # SPDX-License-Identifier: Apache-2.0
15 -T${esp_hal_dir}/components/esp_rom/${MCUBOOT_TARGET}/ld/${MCUBOOT_TARGET}.rom.newlib-funcs.ld
16 -T${esp_hal_dir}/components/esp_rom/${MCUBOOT_TARGET}/ld/${MCUBOOT_TARGET}.rom.spiflash.ld
22 "-Wno-unused-but-set-variable")
/mcuboot-latest/docs/release-notes.d/
D00readme.md4 into the main release-notes.md document.
8 - Fix bugs in the code.
9 - Implement new features.
10 - Change existing behavior.
14 - Some documentation improvements.
15 - Strictly internal changes to the code that won't be visible to users
20 Release notes are included in files under this `docs/release-notes.d`
22 `release-notes.md` file, and should be formatted as a Markdown list
28 distinct so that there isn't a concern with merge conflicts as
/mcuboot-latest/boot/espressif/port/esp32/ld/
Dbootloader.ld2 * SPDX-FileCopyrightText: 2021 Espressif Systems (Shanghai) CO LTD
4 * SPDX-License-Identifier: Apache-2.0
34 *(.stub .gnu.warning .gnu.linkonce.literal.* .gnu.linkonce.t.*.literal .gnu.linkonce.t.*)
136 …l.* .text.* .stub .gnu.warning .gnu.linkonce.literal.* .gnu.linkonce.t.*.literal .gnu.linkonce.t.*)
/mcuboot-latest/boot/zephyr/
Dprj.conf4 CONFIG_MBEDTLS_CFG_FILE="mcuboot-mbedtls-cfg.h"
23 ### Various Zephyr boards enable features that we don't want.
30 ### Ensure Zephyr logging changes don't use more resources
/mcuboot-latest/sim/src/
Ddepends.rs1 // Copyright (c) 2019-2021 Linaro LTD
3 // SPDX-License-Identifier: Apache-2.0
5 //! Support and tests related to the dependency management for multi-image
13 fn my_version(&self, offset: usize, slot: usize) -> ImageVersion; in my_version()
16 fn my_deps(&self, offset: usize, slot: usize) -> Vec<ImageVersion>; in my_deps()
19 fn other_id(&self) -> u8; in other_id()
22 /// A boring image is used when we aren't testing dependencies. There will
31 pub fn new(number: usize, test: &DepTest) -> BoringDep { in new()
40 fn my_version(&self, _offset: usize, slot: usize) -> ImageVersion { in my_version()
42 1 - slot in my_version()
[all …]
/mcuboot-latest/boot/espressif/hal/include/esp32/
Desp32.cmake1 # SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD
3 # SPDX-License-Identifier: Apache-2.0
24 -T${esp_hal_dir}/components/esp_rom/${MCUBOOT_TARGET}/ld/${MCUBOOT_TARGET}.rom.newlib-funcs.ld
25 -T${esp_hal_dir}/components/esp_rom/${MCUBOOT_TARGET}/ld/${MCUBOOT_TARGET}.rom.eco3.ld
32 "-Wno-unused-variable -Wno-unused-but-set-variable")
/mcuboot-latest/boot/espressif/port/esp32c6/ld/
Dbootloader.ld2 * SPDX-FileCopyrightText: 2023 Espressif Systems (Shanghai) CO LTD
4 * SPDX-License-Identifier: Apache-2.0
10 * ESP32-C6 ROM static data usage is as follows:
11 * - 0x4086ad08 - 0x4087c610: Shared buffers, used in UART/USB/SPI download mode only
12 * - 0x4087c610 - 0x4087e610: PRO CPU stack, can be reclaimed as heap after RTOS startup
13 * - 0x4087e610 - 0x40880000: ROM .bss and .data (not easily reclaimable)
31 bootloader_dram_seg_end = bootloader_usable_dram_end - bootloader_stack_overhead; /* 0x4087c610 - 0…
32 bootloader_dram_seg_start = bootloader_dram_seg_end - bootloader_dram_seg_len; /* 0x4087a610 - 0x50…
33 …r_iram_loader_seg_start = bootloader_dram_seg_start - bootloader_iram_loader_seg_len; /* 0x4087561…
34 …ader_iram_seg_start = bootloader_iram_loader_seg_start - bootloader_iram_seg_len; /* 0x4086e610 -
[all …]
/mcuboot-latest/boot/espressif/port/esp32h2/ld/
Dbootloader.ld2 * SPDX-FileCopyrightText: 2023 Espressif Systems (Shanghai) CO LTD
4 * SPDX-License-Identifier: Apache-2.0
10 * ESP32-H2 ROM static data usage is as follows:
11 * - 0x4083ba78 - 0x4084d380: Shared buffers, used in UART/USB/SPI download mode only
12 * - 0x4084d380 - 0x4084f380: PRO CPU stack, can be reclaimed as heap after RTOS startup
13 …* - 0x4084f380 - 0x4084fee0: ROM .bss and .data used in startup code or nonos/early boot (can be …
14 …* - 0x4084fee0 - 0x40850000: ROM .bss and .data used in startup code and when IDF runs (cannot be…
32 bootloader_dram_seg_end = bootloader_usable_dram_end - bootloader_stack_overhead;
33 bootloader_dram_seg_start = bootloader_dram_seg_end - bootloader_dram_seg_len;
34 bootloader_iram_loader_seg_start = bootloader_dram_seg_start - bootloader_iram_loader_seg_len;
[all …]
/mcuboot-latest/boot/espressif/port/esp32c2/ld/
Dbootloader.ld2 * SPDX-FileCopyrightText: 2023 Espressif Systems (Shanghai) CO LTD
4 * SPDX-License-Identifier: Apache-2.0
10 * ESP32-C2 ROM static data usage is as follows:
11 * - 0x3fccb264 - 0x3fcdcb70: Shared buffers, used in UART/USB/SPI download mode only
12 * - 0x3fcdcb70 - 0x3fcdeb70: PRO CPU stack, can be reclaimed as heap after RTOS startup
13 * - 0x3fcdeb70 - 0x3fce0000: ROM .bss and .data (not easily reclaimable)
34 bootloader_dram_seg_end = bootloader_usable_dram_end - bootloader_stack_overhead;
35 bootloader_dram_seg_start = bootloader_dram_seg_end - bootloader_dram_seg_len;
36 bootloader_iram_loader_seg_start = bootloader_dram_seg_start - bootloader_iram_loader_seg_len + ira…
37 bootloader_iram_seg_start = bootloader_iram_loader_seg_start - bootloader_iram_seg_len;
[all …]

12345