/hal_espressif-latest/components/bt/host/bluedroid/stack/smp/ |
D | p_256_multprecision.c | 30 void multiprecision_init(DWORD *c, uint32_t keyLength) in multiprecision_init() argument 33 c[i] = 0; in multiprecision_init() 37 void multiprecision_copy(DWORD *c, DWORD *a, uint32_t keyLength) in multiprecision_copy() argument 40 c[i] = a[i]; in multiprecision_copy() 101 DWORD multiprecision_add(DWORD *c, DWORD *a, DWORD *b, uint32_t keyLength) in multiprecision_add() argument 112 c[i] = temp; in multiprecision_add() 119 DWORD multiprecision_sub(DWORD *c, DWORD *a, DWORD *b, uint32_t keyLength) in multiprecision_sub() argument 128 c[i] = temp - b[i]; in multiprecision_sub() 129 borrow |= (c[i] > temp); in multiprecision_sub() 136 void multiprecision_lshift_mod(DWORD *c, DWORD *a, uint32_t keyLength) in multiprecision_lshift_mod() argument [all …]
|
/hal_espressif-latest/zephyr/esp32s2/ |
D | CMakeLists.txt | 123 ../../components/bootloader_support/src/flash_encrypt.c 124 ../../components/esp_hw_support/esp_gpio_reserve.c 125 ../../components/hal/spi_flash_encrypt_hal_iram.c 126 ../../components/hal/spi_flash_hal.c 127 ../../components/hal/spi_flash_hal_iram.c 128 ../../components/hal/spi_flash_hal_gpspi.c 129 ../../components/spi_flash/esp_flash_api.c 130 ../../components/spi_flash/esp_flash_spi_init.c 131 ../../components/spi_flash/flash_mmap.c 132 ../../components/spi_flash/flash_ops.c [all …]
|
/hal_espressif-latest/zephyr/esp32s3/ |
D | CMakeLists.txt | 125 ../../components/bootloader_support/src/flash_encrypt.c 126 ../../components/esp_hw_support/esp_gpio_reserve.c 127 ../../components/hal/spi_flash_encrypt_hal_iram.c 128 ../../components/hal/spi_flash_hal.c 129 ../../components/hal/spi_flash_hal_iram.c 130 ../../components/hal/spi_flash_hal_gpspi.c 131 ../../components/spi_flash/${CONFIG_SOC_SERIES}/spi_flash_oct_flash_init.c 132 ../../components/spi_flash/esp_flash_api.c 133 ../../components/spi_flash/esp_flash_spi_init.c 134 ../../components/spi_flash/flash_mmap.c [all …]
|
/hal_espressif-latest/zephyr/esp32/ |
D | CMakeLists.txt | 130 ../../components/bootloader_support/src/flash_encrypt.c 131 ../../components/esp_hw_support/esp_gpio_reserve.c 132 ../../components/esp_mm/cache_esp32.c 133 ../../components/hal/mmu_hal.c 134 ../../components/hal/spi_flash_encrypt_hal_iram.c 135 ../../components/hal/spi_flash_hal.c 136 ../../components/hal/spi_flash_hal_iram.c 137 ../../components/hal/${CONFIG_SOC_SERIES}/cache_hal_esp32.c 138 ../../components/spi_flash/esp_flash_api.c 139 ../../components/spi_flash/esp_flash_spi_init.c [all …]
|
/hal_espressif-latest/zephyr/esp32c3/ |
D | CMakeLists.txt | 134 ../../components/hal/spi_hal.c 135 ../../components/hal/spi_hal_iram.c 136 ../../components/soc/lldesc.c 137 ../../components/hal/gdma_hal.c 142 ../../components/spi_flash/flash_ops.c 143 ../../components/spi_flash/esp_flash_api.c 144 ../../components/spi_flash/flash_mmap.c 145 ../../components/bootloader_support/src/flash_encrypt.c 146 ../../components/esp_hw_support/esp_gpio_reserve.c 147 ../../components/hal/cache_hal.c [all …]
|
/hal_espressif-latest/zephyr/esp32c6/ |
D | CMakeLists.txt | 127 ../../components/hal/spi_hal.c 128 ../../components/hal/spi_hal_iram.c 129 ../../components/soc/lldesc.c 130 ../../components/hal/gdma_hal.c 135 ../../components/esp_mm/esp_mmu_map.c 136 ../../components/esp_mm/port/${CONFIG_SOC_SERIES}/ext_mem_layout.c 137 ../../components/bootloader_support/src/flash_encrypt.c 138 ../../components/esp_hw_support/esp_gpio_reserve.c 139 ../../components/hal/cache_hal.c 140 ../../components/hal/mmu_hal.c [all …]
|
/hal_espressif-latest/zephyr/esp32c2/ |
D | CMakeLists.txt | 127 ../../components/hal/timer_hal.c 132 ../../components/hal/spi_hal.c 133 ../../components/hal/spi_hal_iram.c 134 ../../components/soc/lldesc.c 135 ../../components/hal/gdma_hal.c 140 ../../components/bootloader_support/src/flash_encrypt.c 141 ../../components/esp_hw_support/esp_gpio_reserve.c 142 ../../components/hal/cache_hal.c 143 ../../components/hal/mmu_hal.c 144 ../../components/hal/spi_flash_encrypt_hal_iram.c [all …]
|
/hal_espressif-latest/components/bt/ |
D | CMakeLists.txt | 8 list(APPEND srcs "controller/esp32/bt.c" 9 "controller/esp32/hli_api.c" 15 list(APPEND srcs "controller/esp32c3/bt.c") 20 list(APPEND srcs "controller/esp32c3/bt.c") 25 list(APPEND srcs "controller/esp32c2/bt.c") 28 list(APPEND srcs "controller/esp32c2/dummy.c") 33 list(APPEND srcs "controller/esp32c6/bt.c") 38 list(APPEND srcs "controller/esp32h2/bt.c") 64 list(APPEND srcs "common/btc/core/btc_alarm.c" 65 "common/api/esp_blufi_api.c" [all …]
|
/hal_espressif-latest/components/wpa_supplicant/ |
D | CMakeLists.txt | 11 set(srcs "port/os_xtensa.c" 12 "port/eloop.c" 13 "src/ap/ap_config.c" 14 "src/ap/ieee802_1x.c" 15 "src/ap/wpa_auth.c" 16 "src/ap/wpa_auth_ie.c" 17 "src/ap/pmksa_cache_auth.c" 18 "src/ap/sta_info.c" 19 "src/ap/ieee802_11.c" 20 "src/ap/comeback_token.c" [all …]
|
/hal_espressif-latest/components/hal/ |
D | CMakeLists.txt | 9 set(srcs "mpu_hal.c" 10 "efuse_hal.c" 11 "${target}/efuse_hal.c") 17 list(APPEND srcs "wdt_hal_iram.c") 21 list(APPEND srcs "mmu_hal.c") 24 # ESP32 cache structure / ROM APIs are different and we have a patch `cache_hal_esp32.c` for it. 26 list(APPEND srcs "esp32/cache_hal_esp32.c") 28 list(APPEND srcs "cache_hal.c") 33 list(APPEND srcs "lp_timer_hal.c") 38 "rtc_io_hal.c" [all …]
|
/hal_espressif-latest/components/esp_rom/linux/ |
D | esp_rom_sys.c | 15 static void call_linux_putc(char c); 17 static void (*s_esp_rom_putc)(char c) = call_linux_putc; 19 static void call_linux_putc(char c) { in call_linux_putc() argument 20 putc(c, stdout); in call_linux_putc() 23 #define is_digit(c) ((c >= '0') && (c <= '9')) argument 52 static int esp_rom_vprintf(void (*putc)(char c), const char *fmt, va_list ap) in esp_rom_vprintf() argument 60 char c, sign; in esp_rom_vprintf() local 67 while ((c = *fmt++) != '\0') { in esp_rom_vprintf() 68 if (c == '%') { in esp_rom_vprintf() 69 c = *fmt++; in esp_rom_vprintf() [all …]
|
D | esp_rom_md5.c | 166 register uint32_t a, b, c, d; in MD5Transform() local 170 c = buf[2]; in MD5Transform() 173 MD5STEP(F1, a, b, c, d, in[0] + 0xd76aa478, 7); in MD5Transform() 174 MD5STEP(F1, d, a, b, c, in[1] + 0xe8c7b756, 12); in MD5Transform() 175 MD5STEP(F1, c, d, a, b, in[2] + 0x242070db, 17); in MD5Transform() 176 MD5STEP(F1, b, c, d, a, in[3] + 0xc1bdceee, 22); in MD5Transform() 177 MD5STEP(F1, a, b, c, d, in[4] + 0xf57c0faf, 7); in MD5Transform() 178 MD5STEP(F1, d, a, b, c, in[5] + 0x4787c62a, 12); in MD5Transform() 179 MD5STEP(F1, c, d, a, b, in[6] + 0xa8304613, 17); in MD5Transform() 180 MD5STEP(F1, b, c, d, a, in[7] + 0xfd469501, 22); in MD5Transform() [all …]
|
/hal_espressif-latest/components/esp_hw_support/ |
D | CMakeLists.txt | 5 idf_component_register(SRCS "port/linux/esp_random.c" 6 "port/linux/chip_info.c" 12 # only esp_hw_support/adc_share_hw_ctrl.c requires efuse component 19 set(srcs "cpu.c" "port/${IDF_TARGET}/esp_cpu_intr.c" "esp_memory_utils.c" "port/${IDF_TARGET}/cpu_r… 21 list(APPEND srcs "esp_clk.c" 22 "clk_ctrl_os.c" 23 "hw_random.c" 24 "intr_alloc.c" 25 "mac_addr.c" 26 "periph_ctrl.c" [all …]
|
/hal_espressif-latest/components/wpa_supplicant/src/crypto/ |
D | sha1-internal.c | 178 u32 a, b, c, d, e; in SHA1Transform() local 180 unsigned char c[64]; in SHA1Transform() member 194 c = state[2]; in SHA1Transform() 198 R0(a,b,c,d,e, 0); R0(e,a,b,c,d, 1); R0(d,e,a,b,c, 2); R0(c,d,e,a,b, 3); in SHA1Transform() 199 R0(b,c,d,e,a, 4); R0(a,b,c,d,e, 5); R0(e,a,b,c,d, 6); R0(d,e,a,b,c, 7); in SHA1Transform() 200 R0(c,d,e,a,b, 8); R0(b,c,d,e,a, 9); R0(a,b,c,d,e,10); R0(e,a,b,c,d,11); in SHA1Transform() 201 R0(d,e,a,b,c,12); R0(c,d,e,a,b,13); R0(b,c,d,e,a,14); R0(a,b,c,d,e,15); in SHA1Transform() 202 R1(e,a,b,c,d,16); R1(d,e,a,b,c,17); R1(c,d,e,a,b,18); R1(b,c,d,e,a,19); in SHA1Transform() 203 R2(a,b,c,d,e,20); R2(e,a,b,c,d,21); R2(d,e,a,b,c,22); R2(c,d,e,a,b,23); in SHA1Transform() 204 R2(b,c,d,e,a,24); R2(a,b,c,d,e,25); R2(e,a,b,c,d,26); R2(d,e,a,b,c,27); in SHA1Transform() [all …]
|
D | md5-internal.c | 210 register u32 a, b, c, d; in MD5Transform() local 214 c = buf[2]; in MD5Transform() 217 MD5STEP(F1, a, b, c, d, in[0] + 0xd76aa478, 7); in MD5Transform() 218 MD5STEP(F1, d, a, b, c, in[1] + 0xe8c7b756, 12); in MD5Transform() 219 MD5STEP(F1, c, d, a, b, in[2] + 0x242070db, 17); in MD5Transform() 220 MD5STEP(F1, b, c, d, a, in[3] + 0xc1bdceee, 22); in MD5Transform() 221 MD5STEP(F1, a, b, c, d, in[4] + 0xf57c0faf, 7); in MD5Transform() 222 MD5STEP(F1, d, a, b, c, in[5] + 0x4787c62a, 12); in MD5Transform() 223 MD5STEP(F1, c, d, a, b, in[6] + 0xa8304613, 17); in MD5Transform() 224 MD5STEP(F1, b, c, d, a, in[7] + 0xfd469501, 22); in MD5Transform() [all …]
|
D | md4-internal.c | 200 u32 a, b, c, d, in[MD4_BLOCK_LENGTH / 4]; in MD4Transform() local 216 c = state[2]; in MD4Transform() 219 MD4STEP(F1, a, b, c, d, in[ 0], 3); in MD4Transform() 220 MD4STEP(F1, d, a, b, c, in[ 1], 7); in MD4Transform() 221 MD4STEP(F1, c, d, a, b, in[ 2], 11); in MD4Transform() 222 MD4STEP(F1, b, c, d, a, in[ 3], 19); in MD4Transform() 223 MD4STEP(F1, a, b, c, d, in[ 4], 3); in MD4Transform() 224 MD4STEP(F1, d, a, b, c, in[ 5], 7); in MD4Transform() 225 MD4STEP(F1, c, d, a, b, in[ 6], 11); in MD4Transform() 226 MD4STEP(F1, b, c, d, a, in[ 7], 19); in MD4Transform() [all …]
|
/hal_espressif-latest/components/bt/porting/ext/tinycrypt/src/ |
D | ccm_mode.c | 39 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 …]
|
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_common/tinycrypt/src/ |
D | ccm_mode.c | 39 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 …]
|
/hal_espressif-latest/components/spi_flash/ |
D | CMakeLists.txt | 9 set(srcs "spi_flash_wrap.c") 12 set(srcs "flash_brownout_hook.c") 15 list(APPEND srcs "${target}/spi_flash_oct_flash_init.c") 20 "spi_flash_hpm_enable.c") 25 "spi_flash_chip_drivers.c" 26 "spi_flash_chip_generic.c" 27 "spi_flash_chip_issi.c" 28 "spi_flash_chip_mxic.c" 29 "spi_flash_chip_gd.c" 30 "spi_flash_chip_winbond.c" [all …]
|
/hal_espressif-latest/components/bootloader_support/ |
D | CMakeLists.txt | 2 "src/bootloader_common.c" 3 "src/bootloader_common_loader.c" 4 "src/bootloader_clock_init.c" 5 "src/bootloader_mem.c" 6 "src/bootloader_random.c" 7 "src/bootloader_random_${IDF_TARGET}.c" 8 "src/bootloader_efuse.c" 9 "src/flash_encrypt.c" 10 "src/secure_boot.c" 15 "bootloader_flash/src/bootloader_flash.c" [all …]
|
/hal_espressif-latest/components/esp_hw_support/port/esp32c6/ |
D | CMakeLists.txt | 1 set(srcs "rtc_clk_init.c" 2 "rtc_clk.c" 3 "pmu_param.c" 4 "pmu_init.c" 5 "pmu_sleep.c" 6 "rtc_time.c" 7 "chip_info.c" 8 "ocode_init.c" 12 list(APPEND srcs "sar_periph_ctrl.c" 13 "esp_crypto_lock.c") [all …]
|
/hal_espressif-latest/components/soc/ |
D | CMakeLists.txt | 5 set(srcs "lldesc.c" 6 "dport_access_common.c" 7 "${target}/interrupts.c" 8 "${target}/gpio_periph.c" 9 "${target}/uart_periph.c") 19 list(APPEND srcs "${target}/dport_access.c") 23 list(APPEND srcs "${target}/adc_periph.c") 27 list(APPEND srcs "${target}/ana_cmpr_periph.c") 31 list(APPEND srcs "${target}/dedic_gpio_periph.c") 35 list(APPEND srcs "${target}/gdma_periph.c") [all …]
|
/hal_espressif-latest/tools/idf_monitor/idf_monitor_base/ |
D | console_parser.py | 44 'CRLF': lambda c: c.replace('\n', '\r\n'), 45 'CR': lambda c: c.replace('\n', '\r'), 46 'LF': lambda c: c.replace('\r', '\n'), 66 def _handle_menu_key(self, c): # type: (str) -> Optional[tuple] argument 68 if c == self.exit_key or c == self.menu_key: # send verbatim 69 ret = (TAG_KEY, c) 70 elif c in [CTRL_H, 'h', 'H', '?']: 72 elif c == CTRL_R: # Reset device via RTS 74 elif c == CTRL_F: # Recompile & upload 76 elif c in [CTRL_A, 'a', 'A']: # Recompile & upload app only [all …]
|
/hal_espressif-latest/components/esp_hw_support/port/esp32c3/ |
D | CMakeLists.txt | 1 set(srcs "rtc_clk_init.c" 2 "rtc_clk.c" 3 "rtc_init.c" 4 "rtc_sleep.c" 5 "rtc_time.c" 6 "chip_info.c" 10 list(APPEND srcs "esp_crypto_lock.c" 11 "sar_periph_ctrl.c") 14 list(APPEND srcs "adc2_init_cal.c") 17 list(APPEND srcs "esp_memprot.c" "../esp_memprot_conv.c")
|
/hal_espressif-latest/components/esp_adc/ |
D | CMakeLists.txt | 5 set(srcs "adc_cali.c" 6 "adc_cali_curve_fitting.c" 7 "adc_oneshot.c" 8 "adc_common.c" 9 "deprecated/esp_adc_cal_common_legacy.c") 12 list(APPEND srcs "adc_continuous.c") 16 list(APPEND srcs "adc_filter.c") 20 if(EXISTS "${CMAKE_CURRENT_LIST_DIR}/${target}/adc_cali_line_fitting.c") 21 list(APPEND srcs "${target}/adc_cali_line_fitting.c") 25 if(EXISTS "${CMAKE_CURRENT_LIST_DIR}/${target}/curve_fitting_coefficients.c") [all …]
|