Home
last modified time | relevance | path

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

1234567891011

/hal_espressif-3.7.0/components/bt/host/bluedroid/stack/smp/
Dp_256_multprecision.c30 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-3.7.0/zephyr/esp32s2/
DCMakeLists.txt126 ../../components/bootloader_support/src/flash_encrypt.c
127 ../../components/esp_hw_support/esp_gpio_reserve.c
128 ../../components/hal/spi_flash_encrypt_hal_iram.c
129 ../../components/hal/spi_flash_hal.c
130 ../../components/hal/spi_flash_hal_iram.c
131 ../../components/hal/spi_flash_hal_gpspi.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
135 ../../components/spi_flash/flash_ops.c
[all …]
/hal_espressif-3.7.0/zephyr/esp32c3/
DCMakeLists.txt120 ../../components/hal/spi_hal.c
121 ../../components/hal/spi_hal_iram.c
122 ../../components/soc/lldesc.c
123 ../../components/soc/${CONFIG_SOC_SERIES}/spi_periph.c
124 ../../components/hal/gdma_hal.c
129 ../../components/spi_flash/flash_ops.c
130 ../../components/spi_flash/esp_flash_api.c
131 ../../components/spi_flash/flash_mmap.c
132 ../../components/esp_mm/esp_mmu_map.c
133 ../../components/bootloader_support/src/flash_encrypt.c
[all …]
/hal_espressif-3.7.0/zephyr/esp32s3/
DCMakeLists.txt130 ../../components/bootloader_support/bootloader_flash/src/flash_qio_mode.c
131 ../../components/bootloader_support/bootloader_flash/src/bootloader_flash.c
132 ../../components/bootloader_support/src/flash_encrypt.c
133 ../../components/esp_hw_support/esp_gpio_reserve.c
134 ../../components/hal/cache_hal.c
135 ../../components/hal/mmu_hal.c
136 ../../components/hal/spi_flash_encrypt_hal_iram.c
137 ../../components/hal/spi_flash_hal.c
138 ../../components/hal/spi_flash_hal_iram.c
139 ../../components/hal/spi_flash_hal_gpspi.c
[all …]
/hal_espressif-3.7.0/components/wpa_supplicant/
DCMakeLists.txt1 set(srcs "port/os_xtensa.c"
2 "port/eloop.c"
3 "src/ap/ap_config.c"
4 "src/ap/ieee802_1x.c"
5 "src/ap/wpa_auth.c"
6 "src/ap/wpa_auth_ie.c"
7 "src/ap/pmksa_cache_auth.c"
8 "src/ap/sta_info.c"
9 "src/ap/ieee802_11.c"
10 "src/ap/comeback_token.c"
[all …]
/hal_espressif-3.7.0/components/bt/
DCMakeLists.txt7 list(APPEND srcs "controller/esp32/bt.c"
8 "controller/esp32/hli_api.c"
13 list(APPEND srcs "controller/esp32c3/bt.c")
17 list(APPEND srcs "controller/esp32c3/bt.c")
21 list(APPEND srcs "controller/esp32c2/bt.c")
25 list(APPEND srcs "controller/esp32c6/bt.c")
29 list(APPEND srcs "controller/esp32h2/bt.c")
49 list(APPEND srcs "common/btc/core/btc_alarm.c"
50 "common/api/esp_blufi_api.c"
51 "common/btc/core/btc_manage.c"
[all …]
/hal_espressif-3.7.0/zephyr/esp32/
DCMakeLists.txt132 ../../components/spi_flash/flash_ops.c
133 ../../components/spi_flash/esp_flash_api.c
134 ../../components/bootloader_support/src/flash_encrypt.c
135 ../../components/esp_hw_support/esp_gpio_reserve.c
136 ../../components/esp_mm/cache_esp32.c
137 ../../components/hal/mmu_hal.c
138 ../../components/hal/spi_flash_encrypt_hal_iram.c
139 ../../components/hal/spi_flash_hal.c
140 ../../components/hal/spi_flash_hal_iram.c
141 ../../components/spi_flash/esp_flash_api.c
[all …]
/hal_espressif-3.7.0/components/hal/
DCMakeLists.txt9 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")
25 list(APPEND srcs "cache_hal.c")
29 list(APPEND srcs "lp_timer_hal.c")
34 "rtc_io_hal.c"
35 "gpio_hal.c"
36 "uart_hal.c"
[all …]
/hal_espressif-3.7.0/zephyr/esp32c6/
DCMakeLists.txt97 ../../components/hal/spi_hal.c
98 ../../components/hal/spi_hal_iram.c
99 ../../components/soc/lldesc.c
100 ../../components/soc/${CONFIG_SOC_SERIES}/spi_periph.c
101 ../../components/hal/gdma_hal.c
106 ../../components/esp_mm/esp_mmu_map.c
107 ../../components/esp_mm/port/${CONFIG_SOC_SERIES}/ext_mem_layout.c
108 ../../components/bootloader_support/src/flash_encrypt.c
109 ../../components/esp_hw_support/esp_gpio_reserve.c
110 ../../components/hal/cache_hal.c
[all …]
/hal_espressif-3.7.0/components/esp_rom/linux/
Desp_rom_sys.c15 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 …]
Desp_rom_md5.c166 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-3.7.0/components/wpa_supplicant/src/crypto/
Dsha1-internal.c178 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 …]
Dmd5-internal.c210 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 …]
Dmd4-internal.c200 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-3.7.0/components/esp_hw_support/
DCMakeLists.txt5 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" "esp_memory_utils.c" "port/${IDF_TARGET}/cpu_region_protect.c")
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-3.7.0/components/spi_flash/
DCMakeLists.txt7 set(srcs "spi_flash_wrap.c")
10 set(srcs "flash_brownout_hook.c")
13 list(APPEND srcs "${target}/spi_flash_oct_flash_init.c")
18 "spi_flash_hpm_enable.c")
23 "spi_flash_chip_drivers.c"
24 "spi_flash_chip_generic.c"
25 "spi_flash_chip_issi.c"
26 "spi_flash_chip_mxic.c"
27 "spi_flash_chip_gd.c"
28 "spi_flash_chip_winbond.c"
[all …]
/hal_espressif-3.7.0/components/bt/porting/ext/tinycrypt/src/
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 …]
/hal_espressif-3.7.0/components/bt/esp_ble_mesh/mesh_common/tinycrypt/src/
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 …]
/hal_espressif-3.7.0/components/bootloader_support/
DCMakeLists.txt2 "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-3.7.0/components/soc/
DCMakeLists.txt5 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-3.7.0/components/esp_hw_support/port/esp32c6/
DCMakeLists.txt1 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-3.7.0/components/heap/test_apps/heap_tests/main/
DCMakeLists.txt1 set(src_test "test_heap_main.c"
2 "test_aligned_alloc_caps.c"
3 "test_allocator_timings.c"
4 "test_corruption_check.c"
5 "test_diram.c"
6 "test_heap_trace.c"
7 "test_malloc_caps.c"
8 "test_malloc.c"
9 "test_realloc.c"
10 "test_runtime_heap_reg.c")
/hal_espressif-3.7.0/tools/idf_monitor/idf_monitor_base/
Dconsole_parser.py44 '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-3.7.0/components/newlib/test_apps/newlib/main/
DCMakeLists.txt2 "test_app_main.c"
3 "test_atomic.c"
4 "test_file.c"
5 "test_locks.c"
6 "test_misc.c"
7 "test_newlib.c"
8 "test_setjmp.c"
9 "test_shared_stack_printf.c"
10 "test_stdatomic.c"
11 "test_time.c"
/hal_espressif-3.7.0/components/bt/host/bluedroid/stack/smp/include/
Dp_256_multprecision.h41 void multiprecision_init(DWORD *c, uint32_t keyLength);
42 void multiprecision_copy(DWORD *c, DWORD *a, uint32_t keyLength);
47 DWORD multiprecision_add(DWORD *c, DWORD *a, DWORD *b, uint32_t keyLength); // c=a+b
48 void multiprecision_add_mod(DWORD *c, DWORD *a, DWORD *b, uint32_t keyLength);
49 DWORD multiprecision_sub(DWORD *c, DWORD *a, DWORD *b, uint32_t keyLength); // c=a-b
50 void multiprecision_sub_mod(DWORD *c, DWORD *a, DWORD *b, uint32_t keyLength);
51 void multiprecision_rshift(DWORD *c, DWORD *a, uint32_t keyLength); // c=a>>1, return carrier
52 void multiprecision_lshift_mod(DWORD *c, DWORD *a, uint32_t keyLength); // c=a<<b, return carrier
53 DWORD multiprecision_lshift(DWORD *c, DWORD *a, uint32_t keyLength); // c=a<<b, return carrier
54 void multiprecision_mult(DWORD *c, DWORD *a, DWORD *b, uint32_t keyLength); // c=a*b
[all …]

1234567891011