Home
last modified time | relevance | path

Searched refs:c (Results 1 – 25 of 87) sorted by relevance

1234

/mcuboot-latest/boot/bootutil/
DCMakeLists.txt2 # Copyright (c) 2020-2023, Arm Limited. All rights reserved.
19 src/boot_record.c
20 src/bootutil_misc.c
21 src/bootutil_public.c
22 src/caps.c
23 src/encrypted.c
24 src/fault_injection_hardening.c
25 src/fault_injection_hardening_delay_rng_mbedtls.c
26 src/image_ecdsa.c
27 src/image_ed25519.c
[all …]
/mcuboot-latest/ext/tinycrypt/lib/source/
Dccm_mode.c39 int tc_ccm_config(TCCcmMode_t c, TCAesKeySched_t sched, uint8_t *nonce, in tc_ccm_config() argument
44 if (c == (TCCcmMode_t) 0 || in tc_ccm_config()
54 c->mlen = mlen; in tc_ccm_config()
55 c->sched = sched; in tc_ccm_config()
56 c->nonce = nonce; in tc_ccm_config()
140 unsigned int plen, TCCcmMode_t c) in tc_ccm_generation_encryption() argument
145 (c == (TCCcmMode_t) 0) || in tc_ccm_generation_encryption()
150 (olen < (plen + c->mlen))) { /* invalid output buffer size */ in tc_ccm_generation_encryption()
161 b[0] = ((alen > 0) ? 0x40:0) | (((c->mlen - 2) / 2 << 3)) | (1); in tc_ccm_generation_encryption()
163 b[i] = c->nonce[i - 1]; in tc_ccm_generation_encryption()
[all …]
Dsha256.c167 #define Ch(a, b, c)(((a) & (b)) ^ ((~(a)) & (c))) argument
168 #define Maj(a, b, c)(((a) & (b)) ^ ((a) & (c)) ^ ((b) & (c))) argument
170 static inline unsigned int BigEndian(const uint8_t **c) in BigEndian() argument
174 n = (((unsigned int)(*((*c)++))) << 24); in BigEndian()
175 n |= ((unsigned int)(*((*c)++)) << 16); in BigEndian()
176 n |= ((unsigned int)(*((*c)++)) << 8); in BigEndian()
177 n |= ((unsigned int)(*((*c)++))); in BigEndian()
183 unsigned int a, b, c, d, e, f, g, h; in compress() local
190 a = iv[0]; b = iv[1]; c = iv[2]; d = iv[3]; in compress()
197 t2 = Sigma0(a) + Maj(a, b, c); in compress()
[all …]
/mcuboot-latest/boot/espressif/hal/
DCMakeLists.txt57 … ${esp_hal_dir}/components/bootloader_support/src/${MCUBOOT_TARGET}/bootloader_${MCUBOOT_TARGET}.c
58 ${esp_hal_dir}/components/bootloader_support/src/bootloader_init.c
59 ${esp_hal_dir}/components/bootloader_support/src/bootloader_common.c
60 ${esp_hal_dir}/components/bootloader_support/src/bootloader_common_loader.c
61 ${esp_hal_dir}/components/bootloader_support/src/bootloader_console.c
62 ${esp_hal_dir}/components/bootloader_support/src/bootloader_console_loader.c
63 ${esp_hal_dir}/components/bootloader_support/bootloader_flash/src/bootloader_flash.c
64 …dir}/components/bootloader_support/bootloader_flash/src/bootloader_flash_config_${MCUBOOT_TARGET}.c
65 ${esp_hal_dir}/components/bootloader_support/src/bootloader_clock_init.c
66 ${esp_hal_dir}/components/bootloader_support/src/bootloader_clock_loader.c
[all …]
/mcuboot-latest/boot/espressif/include/crypto_config/
Drsa.cmake1 # Copyright (c) 2021 Espressif Systems (Shanghai) Co., Ltd.
11 ${ESPRESSIF_PORT_DIR}/keys.c
12 ${MBEDTLS_DIR}/library/platform.c
13 ${MBEDTLS_DIR}/library/platform_util.c
14 ${MBEDTLS_DIR}/library/sha256.c
15 ${MBEDTLS_DIR}/library/rsa.c
16 ${MBEDTLS_DIR}/library/bignum.c
17 ${MBEDTLS_DIR}/library/asn1parse.c
18 ${MBEDTLS_DIR}/library/md.c
19 ${MBEDTLS_DIR}/library/memory_buffer_alloc.c
Dec256.cmake1 # Copyright (c) 2021 Espressif Systems (Shanghai) Co., Ltd.
11 ${MBEDTLS_ASN1_DIR}/src/asn1parse.c
12 ${MBEDTLS_ASN1_DIR}/src/platform_util.c
23 ${ESPRESSIF_PORT_DIR}/keys.c
24 ${TINYCRYPT_DIR}/source/utils.c
25 ${TINYCRYPT_DIR}/source/sha256.c
26 ${TINYCRYPT_DIR}/source/ecc.c
27 ${TINYCRYPT_DIR}/source/ecc_dsa.c
Ded25519.cmake1 # Copyright (c) 2021 Espressif Systems (Shanghai) Co., Ltd.
11 ${MBEDTLS_ASN1_DIR}/src/asn1parse.c
12 ${MBEDTLS_ASN1_DIR}/src/platform_util.c
25 ${ESPRESSIF_PORT_DIR}/keys.c
26 ${TINYCRYPT_DIR}/source/utils.c
27 ${TINYCRYPT_DIR}/source/sha256.c
28 ${TINYCRYPT512_DIR}/source/sha512.c
29 ${MCUBOOT_ROOT_DIR}/ext/fiat/src/curve25519.c
/mcuboot-latest/boot/espressif/hal/include/esp32c6/
Desp32c6.cmake10 ${esp_hal_dir}/components/hal/cache_hal.c
11 ${esp_hal_dir}/components/hal/lp_timer_hal.c
12 ${esp_hal_dir}/components/efuse/src/efuse_controller/keys/with_key_purposes/esp_efuse_api_key.c
13 ${esp_hal_dir}/components/esp_rom/patches/esp_rom_hp_regi2c_${MCUBOOT_TARGET}.c
14 ${esp_hal_dir}/components/esp_hw_support/port/${MCUBOOT_TARGET}/pmu_param.c
19 ${src_dir}/${MCUBOOT_TARGET}/console_uart_custom.c
28 ${esp_hal_dir}/components/bootloader_support/src/esp_image_format.c
29 ${esp_hal_dir}/components/bootloader_support/bootloader_flash/src/bootloader_flash.c
30 …dir}/components/bootloader_support/bootloader_flash/src/bootloader_flash_config_${MCUBOOT_TARGET}.c
31 ${esp_hal_dir}/components/hal/mmu_hal.c
[all …]
/mcuboot-latest/boot/espressif/hal/include/esp32h2/
Desp32h2.cmake10 ${esp_hal_dir}/components/hal/cache_hal.c
11 ${esp_hal_dir}/components/hal/lp_timer_hal.c
12 ${esp_hal_dir}/components/efuse/src/efuse_controller/keys/with_key_purposes/esp_efuse_api_key.c
13 ${esp_hal_dir}/components/esp_rom/patches/esp_rom_regi2c_${MCUBOOT_TARGET}.c
14 ${esp_hal_dir}/components/esp_hw_support/port/${MCUBOOT_TARGET}/pmu_param.c
19 ${src_dir}/${MCUBOOT_TARGET}/console_uart_custom.c
28 ${esp_hal_dir}/components/bootloader_support/src/esp_image_format.c
29 ${esp_hal_dir}/components/bootloader_support/bootloader_flash/src/bootloader_flash.c
30 …dir}/components/bootloader_support/bootloader_flash/src/bootloader_flash_config_${MCUBOOT_TARGET}.c
31 ${esp_hal_dir}/components/hal/mmu_hal.c
[all …]
/mcuboot-latest/boot/espressif/hal/include/esp32c2/
Desp32c2.cmake6 ${esp_hal_dir}/components/esp_hw_support/port/${MCUBOOT_TARGET}/rtc_init.c
7 ${esp_hal_dir}/components/hal/cache_hal.c
8 ${esp_hal_dir}/components/efuse/${MCUBOOT_TARGET}/esp_efuse_table.c
9 …}/components/efuse/src/efuse_controller/keys/without_key_purposes/one_key_block/esp_efuse_api_key.c
14 ${src_dir}/${MCUBOOT_TARGET}/console_uart_custom.c
23 ${esp_hal_dir}/components/bootloader_support/src/esp_image_format.c
24 ${esp_hal_dir}/components/bootloader_support/bootloader_flash/src/bootloader_flash.c
25 …dir}/components/bootloader_support/bootloader_flash/src/bootloader_flash_config_${MCUBOOT_TARGET}.c
26 ${esp_hal_dir}/components/hal/mmu_hal.c
27 ${esp_hal_dir}/components/hal/cache_hal.c
/mcuboot-latest/ext/tinycrypt-sha512/lib/source/
Dsha512.c180 #define Ch(a, b, c)(((a) & (b)) ^ ((~(a)) & (c))) argument
181 #define Maj(a, b, c)(((a) & (b)) ^ ((a) & (c)) ^ ((b) & (c))) argument
183 static inline uint64_t BigEndian(const uint8_t **c) in BigEndian() argument
187 n = (uint64_t)(*((*c)++)) << 56; in BigEndian()
188 n |= (uint64_t)(*((*c)++)) << 48; in BigEndian()
189 n |= (uint64_t)(*((*c)++)) << 40; in BigEndian()
190 n |= (uint64_t)(*((*c)++)) << 32; in BigEndian()
191 n |= (uint64_t)(*((*c)++)) << 24; in BigEndian()
192 n |= (uint64_t)(*((*c)++)) << 16; in BigEndian()
193 n |= (uint64_t)(*((*c)++)) << 8; in BigEndian()
[all …]
/mcuboot-latest/boot/espressif/hal/include/esp32/
Desp32.cmake6 ${esp_hal_dir}/components/esp_hw_support/port/${MCUBOOT_TARGET}/rtc_init.c
7 …omponents/efuse/src/efuse_controller/keys/without_key_purposes/three_key_blocks/esp_efuse_api_key.c
12 ${src_dir}/${MCUBOOT_TARGET}/app_cpu_start.c
13 ${esp_hal_dir}/components/esp_hw_support/cpu.c
19 ${src_dir}/${MCUBOOT_TARGET}/console_uart_custom.c
29 ${esp_hal_dir}/components/bootloader_support/src/esp32/bootloader_esp32.c
30 ${esp_hal_dir}/components/bootloader_support/bootloader_flash/src/bootloader_flash.c
/mcuboot-latest/boot/espressif/hal/include/esp32s3/
Desp32s3.cmake6 ${esp_hal_dir}/components/esp_hw_support/port/${MCUBOOT_TARGET}/rtc_init.c
7 ${esp_hal_dir}/components/hal/cache_hal.c
8 ${esp_hal_dir}/components/efuse/src/efuse_controller/keys/with_key_purposes/esp_efuse_api_key.c
13 ${src_dir}/${MCUBOOT_TARGET}/app_cpu_start.c
14 ${esp_hal_dir}/components/esp_hw_support/cpu.c
23 ${esp_hal_dir}/components/bootloader_support/src/esp32s3/bootloader_esp32s3.c
/mcuboot-latest/boot/espressif/hal/include/esp32s2/
Desp32s2.cmake6 ${esp_hal_dir}/components/esp_hw_support/port/${MCUBOOT_TARGET}/rtc_init.c
7 ${esp_hal_dir}/components/hal/cache_hal.c
8 ${esp_hal_dir}/components/efuse/src/efuse_controller/keys/with_key_purposes/esp_efuse_api_key.c
9 ${esp_hal_dir}/components/esp_rom/patches/esp_rom_crc.c
10 ${esp_hal_dir}/components/esp_rom/patches/esp_rom_regi2c_esp32s2.c
20 ${esp_hal_dir}/components/bootloader_support/src/esp32s2/bootloader_esp32s2.c
/mcuboot-latest/boot/cypress/MCUBootApp/
Dlibs.mk35 SOURCES_PLATFORM += $(wildcard $(PRJ_DIR)/platforms/*.c)
36 SOURCES_WATCHDOG := $(wildcard $(THIS_APP_PATH)/watchdog/*.c)
39 SOURCES_RETARGET_IO_PDL += $(wildcard $(THIS_APP_PATH)/retarget_io_pdl/*.c)
45 SOURCES_HAL += $(THIS_APP_PATH)/psoc6hal/COMPONENT_PSOC6HAL/source/cyhal_crypto_common.c
46 SOURCES_HAL += $(THIS_APP_PATH)/psoc6hal/COMPONENT_PSOC6HAL/source/cyhal_hwmgr.c
49 SOURCES_MBEDTLS := $(wildcard $(MBEDTLS_PATH)/mbedtls/library/*.c)
90 …URCES_MBEDTLS_MXCRYPTO := $(wildcard $(THIS_APP_PATH)/cy-mbedtls-acceleration/mbedtls_MXCRYPTO/*.c)
DMCUBootApp.mk74 SOURCES_MCUBOOT := $(wildcard $(CURDIR)/../bootutil/src/*.c)
76 SOURCES_APP_SRC := $(wildcard $(CUR_APP_PATH)/*.c)
79 SOURCES_FLASH_PORT := $(wildcard $(CURDIR)/cy_flash_pal/*.c)
80 SOURCES_FLASH_PORT += $(wildcard $(CURDIR)/cy_flash_pal/flash_qspi/*.c)
110 LINKER_SCRIPT := $(subst /cygdrive/c,c:,$(CUR_APP_PATH)/$(APP_NAME).ld)
/mcuboot-latest/boot/cypress/BlinkyApp/
Dlibs.mk34 SOURCES_RETARGET_IO := $(wildcard $(CUR_LIBS_PATH)/retarget-io/*.c)
35 SOURCES_WATCHDOG := $(wildcard $(CUR_LIBS_PATH)/watchdog/*.c)
38 SOURCES_HAL := $(wildcard $(CUR_LIBS_PATH)/psoc6hal/COMPONENT_PSOC6HAL/source/*.c)
39 SOURCES_HAL += $(wildcard $(CUR_LIBS_PATH)/psoc6hal/COMPONENT_PSOC6HAL/source/triggers/*.c)
40 SOURCES_HAL += $(wildcard $(CUR_LIBS_PATH)/psoc6hal/COMPONENT_PSOC6HAL/source/pin_packages/*.c)
/mcuboot-latest/boot/bootutil/include/bootutil/crypto/
Daes_ctr.h64 …es_ctr_context *ctx, uint8_t *counter, const uint8_t *m, uint32_t mlen, size_t blk_off, uint8_t *c) in bootutil_aes_ctr_encrypt() argument
67 return mbedtls_aes_crypt_ctr(ctx, mlen, &blk_off, counter, stream_block, m, c); in bootutil_aes_ctr_encrypt()
70 …ctr_decrypt(bootutil_aes_ctr_context *ctx, uint8_t *counter, const uint8_t *c, uint32_t clen, size… in bootutil_aes_ctr_decrypt() argument
73 return mbedtls_aes_crypt_ctr(ctx, clen, &blk_off, counter, stream_block, c, m); in bootutil_aes_ctr_decrypt()
109 …_ctr_context *ctx, uint8_t *counter, const uint8_t *m, uint32_t mlen, uint32_t blk_off, uint8_t *c) in bootutil_aes_ctr_encrypt() argument
111 return _bootutil_aes_ctr_crypt(ctx, counter, m, mlen, blk_off, c); in bootutil_aes_ctr_encrypt()
114 …ctr_decrypt(bootutil_aes_ctr_context *ctx, uint8_t *counter, const uint8_t *c, uint32_t clen, uint… in bootutil_aes_ctr_decrypt() argument
116 return _bootutil_aes_ctr_crypt(ctx, counter, c, clen, blk_off, m); in bootutil_aes_ctr_decrypt()
/mcuboot-latest/boot/zephyr/
DCMakeLists.txt3 # Copyright (c) 2017 Open Source Foundries Limited
4 # Copyright (c) 2023 Nordic Semiconductor ASA
63 main.c
64 io.c
65 flash_map_extended.c
66 os.c
67 keys.c
72 boot_serial_extensions.c
82 boot_serial_extension_zephyr_basic.c
89 flash_map_legacy.c
[all …]
/mcuboot-latest/boot/espressif/hal/include/esp32c3/
Desp32c3.cmake6 ${esp_hal_dir}/components/esp_hw_support/port/${MCUBOOT_TARGET}/rtc_init.c
7 ${esp_hal_dir}/components/hal/cache_hal.c
8 ${esp_hal_dir}/components/efuse/src/efuse_controller/keys/with_key_purposes/esp_efuse_api_key.c
13 ${src_dir}/${MCUBOOT_TARGET}/console_uart_custom.c
/mcuboot-latest/boot/zcbor/
Dadd_zcbor_copy_version.sh17 add_copy_notice src/zcbor_decode.c "copied"
18 add_copy_notice src/zcbor_encode.c "copied"
19 add_copy_notice src/zcbor_common.c "copied"
/mcuboot-latest/boot/mbed/
DCMakeLists.txt1 # Copyright (c) 2021 ARM Limited. All rights reserved.
25 app_enc_keys.c
40 mcuboot_generate_signing_keys_file(${CMAKE_CURRENT_BINARY_DIR}/signing_keys.c)
41 target_sources(${LIB_TARGET} PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/signing_keys.c)
44 mcuboot_generate_encryption_key_file(${CMAKE_CURRENT_BINARY_DIR}/enc_keys.c)
45 target_sources(${LIB_TARGET} PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/enc_keys.c)
/mcuboot-latest/boot/espressif/
DCMakeLists.txt210 ${TINYCRYPT_DIR}/source/sha256.c
211 ${TINYCRYPT_DIR}/source/utils.c
223 set(GENERATED_PUBKEY ${CMAKE_CURRENT_BINARY_DIR}/autogen-pubkey.c)
238 ${BOOTUTIL_DIR}/src/boot_record.c
239 ${BOOTUTIL_DIR}/src/bootutil_misc.c
240 ${BOOTUTIL_DIR}/src/bootutil_public.c
241 ${BOOTUTIL_DIR}/src/caps.c
242 ${BOOTUTIL_DIR}/src/encrypted.c
243 ${BOOTUTIL_DIR}/src/fault_injection_hardening.c
244 ${BOOTUTIL_DIR}/src/fault_injection_hardening_delay_rng_mbedtls.c
[all …]
/mcuboot-latest/ext/tinycrypt/
Dconfig.mk12 vpath %.c ../lib/source/
16 %.o: %.c
17 $(COMPILE.c) $(OUTPUT_OPTION) $<
/mcuboot-latest/ext/tinycrypt/lib/include/tinycrypt/
Dccm_mode.h111 int tc_ccm_config(TCCcmMode_t c, TCAesKeySched_t sched, uint8_t *nonce,
159 unsigned int plen, TCCcmMode_t c);
205 TCCcmMode_t c);

1234