/hal_espressif-3.5.0/tools/test_idf_tools/ |
D | test_idf_tools.py | 110 def assert_tool_installed(self, output, tool, tool_version, tool_archive_name=None): argument 113 self.assertIn('Installing %s@' % tool + tool_version, output) 114 self.assertIn('Downloading %s' % tool_archive_name, output) 116 def assert_tool_not_installed(self, output, tool, tool_version, tool_archive_name=None): argument 119 self.assertNotIn('Installing %s@' % tool + tool_version, output) 120 self.assertNotIn('Downloading %s' % tool_archive_name, output) 126 output = output_stream.getvalue() 127 return output 130 output = self.run_idf_tools_with_action(['list']) 131 self.assertIn('* %s:' % ESP32ULP, output) [all …]
|
/hal_espressif-3.5.0/tools/test_idf_size/ |
D | test.sh | 6 && echo -e "\n***\nBuilding project for $1..." &>> $IDF_PATH/tools/test_idf_size/output \ 9 && echo -e "\n***\nRunning mem_test.py for $1..." &>> $IDF_PATH/tools/test_idf_size/output \ 12 …est_idf_size/mem_test.py size_output.json esptool_output &>> $IDF_PATH/tools/test_idf_size/output \ 17 echo -e "\n***\nProducing JSON output for $1..." &>> output \ 18 …size.py --json app_$1.map | python $IDF_PATH/tools/test_idf_size/json_validate_test.py &>> output \ 19 …son --archives app_$1.map | python $IDF_PATH/tools/test_idf_size/json_validate_test.py &>> output \ 20 …--json --files app_$1.map | python $IDF_PATH/tools/test_idf_size/json_validate_test.py &>> output \ 21 …ails libdriver.a app_$1.map | python $IDF_PATH/tools/test_idf_size/json_validate_test.py &>> output 25 && python -m coverage erase &> output \ 30 && echo -e "\n***\nRunning idf_size.py..." &>> output \ [all …]
|
/hal_espressif-3.5.0/tools/test_idf_py/ |
D | test_idf_py.py | 44 output = subprocess.check_output([sys.executable, idf_py_path, '--help'], 47 self.assertIn('--test-extension-option', output) 48 self.assertIn('test_subcommand', output) 49 self.assertIn('--some-extension-option', output) 50 self.assertIn('extra_subcommand', output) 58 output = subprocess.check_output( 61 self.assertIn('!!! From some global callback: awesome', output) 62 self.assertIn('!!! From some subcommand', output) 63 self.assertIn('!!! From test global callback: test', output) 64 self.assertIn('!!! From some subcommand', output) [all …]
|
/hal_espressif-3.5.0/components/mbedtls/port/aes/dma/ |
D | esp_aes.c | 106 static inline void esp_aes_wait_dma_done(lldesc_t *output) in esp_aes_wait_dma_done() argument 110 if ( esp_aes_dma_done(output) ) { in esp_aes_wait_dma_done() 232 …ess_dma(esp_aes_context *ctx, const unsigned char *input, unsigned char *output, size_t len, uint8… 240 …ext_ram(esp_aes_context *ctx, const unsigned char *input, unsigned char *output, size_t len, uint8… in esp_aes_process_dma_ext_ram() argument 269 output_buf = output; in esp_aes_process_dma_ext_ram() 289 memcpy(output + offset, output_buf, chunk_len); in esp_aes_process_dma_ext_ram() 291 output_buf = output + offset + chunk_len; in esp_aes_process_dma_ext_ram() 311 …ess_dma(esp_aes_context *ctx, const unsigned char *input, unsigned char *output, size_t len, uint8… in esp_aes_process_dma() argument 334 bzero(output, len); in esp_aes_process_dma() 344 if (esp_ptr_external_ram(output)) { in esp_aes_process_dma() [all …]
|
/hal_espressif-3.5.0/components/mbedtls/port/aes/block/ |
D | esp_aes.c | 77 static int esp_aes_block(esp_aes_context *ctx, const void *input, void *output) in esp_aes_block() argument 81 uint32_t *output_words = (uint32_t *)output; in esp_aes_block() 89 bzero(output, 16); in esp_aes_block() 97 aes_hal_transform_block(input, output); in esp_aes_block() 109 memset(output, 0, 16); in esp_aes_block() 110 mbedtls_platform_zeroize(output, 16); in esp_aes_block() 119 unsigned char output[16] ) in esp_aes_encrypt() 121 esp_internal_aes_encrypt(ctx, input, output); in esp_aes_encrypt() 129 unsigned char output[16] ) in esp_internal_aes_encrypt() 140 r = esp_aes_block(ctx, input, output); in esp_internal_aes_encrypt() [all …]
|
/hal_espressif-3.5.0/components/mbedtls/test/ |
D | test_aes_sha_rsa.c | 44 unsigned char output[16]; in aes_task() local 47 memset(output, 0, sizeof(output)); in aes_task() 48 memset(output, 0, sizeof(output2)); in aes_task() 49 esp_internal_aes_encrypt(&ctx, input, output); in aes_task() 50 esp_internal_aes_decrypt(&ctx, output, output2); in aes_task() 62 unsigned char output[64]; in sha_task() local 64 esp_sha(SHA2_512, (const unsigned char *)input, sizeof(input), output); in sha_task() 65 memcpy(output_origin, output, sizeof(output)); in sha_task() 67 memset(output, 0, sizeof(output)); in sha_task() 68 esp_sha(SHA2_512, (const unsigned char *)input, sizeof(input), output); in sha_task() [all …]
|
/hal_espressif-3.5.0/tools/esp_app_trace/test/sysview/ |
D | test.sh | 4 && coverage erase &> output \ 5 …_PATH/tools/esp_app_trace/sysviewtrace_proc.py -d -p -b test.elf cpu0.svdat cpu1.svdat &>> output \ 6 && diff output expected_output \ 11 && coverage erase &> output.json \ 12 …ATH/tools/esp_app_trace/sysviewtrace_proc.py -j -b test.elf cpu0.svdat cpu1.svdat &>> output.json \ 13 && diff output.json expected_output.json \ 18 && coverage erase &> output \ 19 …_trace/sysviewtrace_proc.py -d -p -b sysview_tracing_heap_log.elf heap_log_mcore.svdat &>> output \ 20 && diff output expected_output_mcore \ 25 && coverage erase &> output.json \ [all …]
|
/hal_espressif-3.5.0/components/expat/test/ |
D | test_expat.c | 21 char output[512]; member 29 TEST_ASSERT(sizeof(user_data->output) >= user_data->output_off); in insert_space() 30 user_data->output[user_data->output_off++] = '\n'; in insert_space() 34 TEST_ASSERT(sizeof(user_data->output) >= user_data->output_off); in insert_space() 35 user_data->output[user_data->output_off++] = align_str[j]; in insert_space() 46 const int ret = snprintf(user_data->output + user_data->output_off, in start_element() 47 sizeof(user_data->output) - user_data->output_off, in start_element() 61 …int ret = snprintf(user_data->output + user_data->output_off, sizeof(user_data->output) - user_dat… in end_element() 77 …int ret = snprintf(user_data->output + user_data->output_off, sizeof(user_data->output) - user_dat… in data_handler() 111 .output = { '\0' }, [all …]
|
/hal_espressif-3.5.0/examples/common_components/pid_ctrl/src/ |
D | pid_ctrl.c | 35 float output = 0; in pid_calc_positional() local 44 output = error * pid->Kp + in pid_calc_positional() 49 output = MIN(output, pid->max_output); in pid_calc_positional() 50 output = MAX(output, pid->min_output); in pid_calc_positional() 55 return output; in pid_calc_positional() 60 float output = 0; in pid_calc_incremental() local 65 output = (error - pid->previous_err1) * pid->Kp + in pid_calc_incremental() 71 output = MIN(output, pid->max_output); in pid_calc_incremental() 72 output = MAX(output, pid->min_output); in pid_calc_incremental() 79 pid->last_output = output; in pid_calc_incremental() [all …]
|
/hal_espressif-3.5.0/components/mbedtls/port/include/aes/ |
D | esp_aes.h | 135 …ypt_ecb( esp_aes_context *ctx, int mode, const unsigned char input[16], unsigned char output[16] ); 164 unsigned char *output ); 198 unsigned char *output ); 229 unsigned char *output ); 259 unsigned char *output ); 284 unsigned char *output ); 332 …ernal_aes_encrypt( esp_aes_context *ctx, const unsigned char input[16], unsigned char output[16] ); 343 …ernal_aes_decrypt( esp_aes_context *ctx, const unsigned char input[16], unsigned char output[16] ); 346 …e_t length, const unsigned char data_unit[16], const unsigned char *input, unsigned char *output ); 349 void esp_aes_decrypt( esp_aes_context *ctx, const unsigned char input[16], unsigned char output[16]… [all …]
|
/hal_espressif-3.5.0/components/esptool_py/esptool/flasher_stub/ |
D | compare_stubs.py | 24 output = "" 29 output += " Data start: New {:#x}, old {:#x} \n".format( 33 output += " Text start: New {:#x}, old {:#x} \n".format( 37 output += " Entrypoint: New {:#x}, old {:#x} \n".format(new.entry, old.entry) 44 output += " Data byte {:#x}: new {:#04x} old {:#04x} \n".format( 48 output += " Data length: New {} bytes, old {} bytes \n".format( 57 output += " Text byte {:#x}: new {:#04x} old {:#04x} \n".format( 61 output += " Text length: New {} bytes, old {} bytes \n".format( 64 return output 76 output = diff(new, old) variable [all …]
|
/hal_espressif-3.5.0/components/wpa_supplicant/src/utils/ |
D | wpa_debug.c | 62 char output[50]; in wpa_dump_mem() local 67 _wpa_snprintf_hex(output, 50, addr + i * 16, 16, 0, 1); in wpa_dump_mem() 68 wpa_printf(MSG_DEBUG, "%s", output); in wpa_dump_mem() 72 _wpa_snprintf_hex(output, 50, addr + bytes_printed, in wpa_dump_mem() 74 wpa_printf(MSG_DEBUG, "%s", output); in wpa_dump_mem() 92 char output[50]; in wpa_hexdump() local 102 _wpa_snprintf_hex(output, 50, buf + i * 16, 16, 0, 1); in wpa_hexdump() 103 wpa_printf(level, "%s", output); in wpa_hexdump() 107 _wpa_snprintf_hex(output, 50, buf + bytes_printed, in wpa_hexdump() 109 wpa_printf(level, "%s", output); in wpa_hexdump()
|
/hal_espressif-3.5.0/components/mbedtls/port/aes/ |
D | esp_aes_gcm.c | 213 unsigned char output[16] ) in gcm_mult() 246 PUT_UINT32_BE( zh >> 32, output, 0 ); in gcm_mult() 247 PUT_UINT32_BE( zh, output, 4 ); in gcm_mult() 248 PUT_UINT32_BE( zl >> 32, output, 8 ); in gcm_mult() 249 PUT_UINT32_BE( zl, output, 12 ); in gcm_mult() 410 unsigned char *output ) in esp_aes_gcm_update() argument 424 if (!output) { in esp_aes_gcm_update() 429 if ( output > input && (size_t) ( output - input ) < length ) { in esp_aes_gcm_update() 451 esp_aes_crypt_ctr(&ctx->aes_ctx, length, &nc_off, nonce_counter, stream, input, output); in esp_aes_gcm_update() 461 esp_gcm_ghash(ctx, output, length, ctx->ghash); in esp_aes_gcm_update() [all …]
|
/hal_espressif-3.5.0/examples/peripherals/wave_gen/ |
D | README.md | 10 Users can connect DAC output channel to their devices and use it as a simple analog signal output s… 20 Make sure the DAC output pin (which is the GPIO25 if channel 1 set, GPIO26 if channel 2 set) is con… 32 * Set the `Enable output voltage log` if you want to print the log in the terminal. 38 If you modify the frequency, you will change the number of DAC output points. This will affect the … 39 Each output point value is calculated by the DAC resolution of 8-bits (0~255). All of these raw val… 41 Based on the given frequency, the number of DAC output points for each cycle can be calculated thro… 44 For example, with high frequency, 20 kHz will generate only 10 output points; the curve will be edg… 46 On the other hand, 500 Hz, a relative low frequency, will result in many DAC output points and the … 48 Thus, there will be less output points per cycle in higher frequency, and more points in lower freq… 50 After the raw value calculation, the real output voltage can be converted through the following for… [all …]
|
/hal_espressif-3.5.0/tools/idf_monitor_base/ |
D | ansi_color_converter.py | 64 def __init__(self, output=None, decode_output=False): argument 66 self.output = output 68 … self.handle = GetStdHandle(STD_ERROR_HANDLE if self.output == sys.stderr else STD_OUTPUT_HANDLE) 74 self.output.write(data.decode()) # type: ignore 76 self.output.write(data) # type: ignore 87 self.output.write('?') # type: ignore 124 self.output.flush() # type: ignore
|
/hal_espressif-3.5.0/tools/ |
D | idf_size.py | 501 output = '' 504 output += get_summary(args.map_file.name, segments, sections, detected_target, 509 output += get_detailed_sizes(sections, 'archive', 'Archive File', args.json, sections_diff) 511 output += get_detailed_sizes(sections, 'file', 'Object File', args.json, sections_diff) 514 output += get_archive_symbols(sections, args.archive_details, args.json, sections_diff) 516 args.output_file.write(output) 726 output = format_json(collections.OrderedDict([('current', current_json_dic), 731 output = format_json(current_json_dic) 819 output = '' 821 output += print_in_columns('<CURRENT> MAP file: ' + path) [all …]
|
/hal_espressif-3.5.0/components/esp-tls/esp-tls-crypto/ |
D | esp_tls_crypto.c | 26 unsigned char output[20]) in esp_crypto_sha1_mbedtls() 28 int ret = mbedtls_sha1_ret(input, ilen, output); in esp_crypto_sha1_mbedtls() 45 unsigned char output[20]) in esp_crypto_sha1_wolfSSL() 47 unsigned char *ret = wolfSSL_SHA1(input, ilen, output); in esp_crypto_sha1_wolfSSL() 68 unsigned char output[20]) in esp_crypto_sha1() 70 return _esp_crypto_sha1(input, ilen, output); in esp_crypto_sha1()
|
/hal_espressif-3.5.0/components/lwip/weekend_test/ |
D | net_suite_test.py | 98 output = proc.stdout.read() 100 print(output) 104 output = proc.stdout.read() 105 print(output) 114 output = proc.stdout.read() 115 print(output) 118 verdict_stats = re.search('(Verdict statistics:.*)', output) 123 verdict = re.search('Overall verdict: pass', output)
|
/hal_espressif-3.5.0/tools/ci/python_packages/tiny_test_fw/Utility/ |
D | CaseConfig.py | 64 output = [_convert_to_lower_case_bytes(v) for v in item] 66 output = item.lower() 68 output = item.encode().lower() 70 output = item 71 return output 171 output = dict() 174 output[key] = module.__getattribute__(overwrite[key]['class']) 175 return output
|
/hal_espressif-3.5.0/tools/ldgen/ |
D | README.md | 13 - `generation.py` - contains bulk of the logic used to process fragments into output commands. 15 …ugments the input linker script template with output commands from generation process to produce t… 16 - `output_commands.py` - contains classes that represent the output commands in the output linker s… 37 From the parsed fragments, `generation.py` generates output commands defined in `output_commands.py… 40 `linker_script.py` writes the output linker script, replacing markers with output commands generate…
|
/hal_espressif-3.5.0/tools/ci/ |
D | test_autocomplete.py | 13 …with open(os.environ['IDF_PATH'] + '/fish' + str(sys.version_info.major) + '.out', 'wb') as output: 14 child.logfile = output 27 …with open(os.environ['IDF_PATH'] + '/bash' + str(sys.version_info.major) + '.out', 'wb') as output: 28 child.logfile = output 42 … with open(os.environ['IDF_PATH'] + '/zsh' + str(sys.version_info.major) + '.out', 'wb') as output: 43 child.logfile = output
|
/hal_espressif-3.5.0/components/mbedtls/port/sha/ |
D | esp_sha.c | 26 void esp_sha(esp_sha_type sha_type, const unsigned char *input, size_t ilen, unsigned char *output) in esp_sha() argument 41 assert(input != NULL && output != NULL); in esp_sha() 49 ret = mbedtls_sha1_finish_ret(&ctx.sha1, output); in esp_sha() 62 ret = mbedtls_sha256_finish_ret(&ctx.sha256, output); in esp_sha() 75 ret = mbedtls_sha512_finish_ret(&ctx.sha512, output); in esp_sha() 88 ret = mbedtls_sha512_finish_ret(&ctx.sha512, output); in esp_sha()
|
/hal_espressif-3.5.0/examples/bluetooth/esp_hid_device/main/ |
D | esp_hid_device_main.c | 358 …2u, Len: %d, Data:", param->output.map_index, esp_hid_usage_str(param->output.usage), param->outpu… in ble_hidd_event_callback() 359 ESP_LOG_BUFFER_HEX(TAG, param->output.data, param->output.length); in ble_hidd_event_callback() 542 …2u, Len: %d, Data:", param->output.map_index, esp_hid_usage_str(param->output.usage), param->outpu… in bt_hidd_event_callback() 543 ESP_LOG_BUFFER_HEX(TAG, param->output.data, param->output.length); in bt_hidd_event_callback()
|
/hal_espressif-3.5.0/components/bt/host/bluedroid/stack/smp/ |
D | smp_cmac.c | 95 static void leftshift_onebit(UINT8 *input, UINT8 *output) in leftshift_onebit() argument 102 output[i] = (input[i] << 1) | overflow; in leftshift_onebit() 135 tSMP_ENC output; in cmac_aes_k_calculate() local 145 …key, BT_OCTET16_LEN, &cmac_cb.text[(cmac_cb.round - i)*BT_OCTET16_LEN], BT_OCTET16_LEN, &output)) { in cmac_aes_k_calculate() 150 memcpy(x, output.param_buf, BT_OCTET16_LEN); in cmac_aes_k_calculate() 155 p_mac = output.param_buf + (BT_OCTET16_LEN - tlen); in cmac_aes_k_calculate() 254 tSMP_ENC output; in cmac_generate_subkey() local 257 if (SMP_Encrypt(key, BT_OCTET16_LEN, z, BT_OCTET16_LEN, &output)) { in cmac_generate_subkey() 258 cmac_subkey_cont(&output);; in cmac_generate_subkey()
|
/hal_espressif-3.5.0/components/esptool_py/esptool/espsecure/ |
D | __init__.py | 93 _check_output_is_not_input(args.keyfile, args.output) 94 _check_output_is_not_input(args.image, args.output) 95 _check_output_is_not_input(args.iv, args.output) 142 if args.output is None: 143 args.output = os.path.splitext(args.image.name)[0] + "-digest-0x0000.bin" 144 with open(args.output, "wb") as f: 151 print("digest+image written to %s" % args.output) 326 _check_output_is_not_input(args.keyfile, args.output) 327 _check_output_is_not_input(args.datafile, args.output) 365 if args.output is None or os.path.abspath(args.output) == os.path.abspath( [all …]
|