/hal_espressif-2.7.6/tools/test_idf_size/ |
D | test.sh | 4 && coverage erase &> output \ 5 && echo -e "\n***\nRunning idf_size.py..." &>> output \ 6 && coverage run -a $IDF_PATH/tools/idf_size.py app.map &>> output \ 7 && echo -e "\n***\nRunning idf_size.py on bootloader..." &>> output \ 8 && coverage run -a $IDF_PATH/tools/idf_size.py bootloader.map &>> output \ 9 && echo -e "\n***\nRunning idf_size.py --archives..." &>> output \ 10 && coverage run -a $IDF_PATH/tools/idf_size.py --archives app.map &>> output \ 11 && echo -e "\n***\nRunning idf_size.py --files..." &>> output \ 12 && coverage run -a $IDF_PATH/tools/idf_size.py --files app.map &>> output \ 13 && echo -e "\n***\nRunning idf_size.py --archive_details..." &>> output \ [all …]
|
/hal_espressif-2.7.6/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-2.7.6/components/mbedtls/port/aes/dma/ |
D | esp_aes.c | 85 static inline void esp_aes_wait_dma_done(lldesc_t *output) in esp_aes_wait_dma_done() argument 89 if ( esp_aes_dma_done(output) ) { in esp_aes_wait_dma_done() 211 …ess_dma(esp_aes_context *ctx, const unsigned char *input, unsigned char *output, size_t len, uint8… 219 …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 248 output_buf = output; in esp_aes_process_dma_ext_ram() 268 memcpy(output + offset, output_buf, chunk_len); in esp_aes_process_dma_ext_ram() 270 output_buf = output + offset + chunk_len; in esp_aes_process_dma_ext_ram() 290 …ess_dma(esp_aes_context *ctx, const unsigned char *input, unsigned char *output, size_t len, uint8… in esp_aes_process_dma() argument 316 bzero(output, len); in esp_aes_process_dma() 326 if (esp_ptr_external_ram(output)) { in esp_aes_process_dma() [all …]
|
D | esp_aes_gdma_impl.c | 19 esp_err_t esp_aes_dma_start(const lldesc_t *input, const lldesc_t *output) in esp_aes_dma_start() argument 21 return esp_crypto_shared_gdma_start(input, output, GDMA_TRIG_PERIPH_AES); in esp_aes_dma_start() 24 bool esp_aes_dma_done(const lldesc_t *output) in esp_aes_dma_done() argument 26 return (output->owner == 0); in esp_aes_dma_done()
|
D | esp_aes_crypto_dma_impl.c | 23 esp_err_t esp_aes_dma_start(const lldesc_t *input, const lldesc_t *output) in esp_aes_dma_start() argument 30 crypto_dma_ll_inlink_set((uint32_t)output); in esp_aes_dma_start() 39 bool esp_aes_dma_done(const lldesc_t *output) in esp_aes_dma_done() argument 41 return (crypto_dma_ll_inlink_is_eof() && (output->owner == 0)); in esp_aes_dma_done()
|
/hal_espressif-2.7.6/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-2.7.6/tools/test_idf_tools/ |
D | test_idf_tools.py | 73 output = output_stream.getvalue() 78 self.assertIn('* xtensa-esp32-elf:', output) 79 self.assertIn('- %s (recommended)' % xtensa_esp32_elf_version, output) 80 self.assertIn('* esp32ulp-elf', output) 81 self.assertIn('- %s (recommended)' % esp32ulp_version, output) 86 output = output_stream.getvalue() 88 self.assertIn('Installing esp32ulp-elf@' + esp32ulp_version, output) 89 self.assertIn('Downloading binutils-esp32ulp', output) 90 self.assertIn('Installing xtensa-esp32-elf@' + xtensa_esp32_elf_version, output) 91 self.assertIn('Downloading xtensa-esp32-elf', output) [all …]
|
/hal_espressif-2.7.6/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-2.7.6/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-2.7.6/components/esp32/test/ |
D | test_aes_sha_rsa.c | 36 unsigned char output[16]; in aes_task() local 39 memset(output, 0, sizeof(output)); in aes_task() 40 memset(output, 0, sizeof(output2)); in aes_task() 41 esp_internal_aes_encrypt(&ctx, input, output); in aes_task() 42 esp_internal_aes_decrypt(&ctx, output, output2); in aes_task() 54 unsigned char output[64]; in sha_task() local 56 esp_sha(SHA2_512, (const unsigned char *)input, sizeof(input), output); in sha_task() 57 memcpy(output_origin, output, sizeof(output)); in sha_task() 59 memset(output, 0, sizeof(output)); in sha_task() 60 esp_sha(SHA2_512, (const unsigned char *)input, sizeof(input), output); in sha_task() [all …]
|
/hal_espressif-2.7.6/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-2.7.6/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-2.7.6/examples/peripherals/wave_gen/ |
D | README.md | 10 Users can connect DAC output channel to their devices and use it as an simple analog signal output … 21 Make sure DAC output pin which is GPIO25 if channel 1 set, GPIO26 if channel 2 set, be connected to… 54 … DAC output points. That will affect the smoothness of curve as well. Those output points are used… 56 Based on the given frequency, the number of DAC output points for each cycle can be caluculated by … 59 For example, with high frequency, 20kHz will results in generating only 10 output points, the curve… 61 On the contrary, 500 Hz, low frequency relatively, will results in many DAC output points and the a… 63 In short, there will be less output points per cycle in higher frequency, and more points in lower … 65 After got the raw value, the real output voltage can be calculated through following formula (VDD i… 71 #### Enable output voltage log 75 … will be shown in terminal. It's intuitive for debugging and testing. If output example is needed,… [all …]
|
/hal_espressif-2.7.6/tools/ |
D | idf_size.py | 410 output = '' 413 output += get_summary(args.map_file.name, mem_reg, memory_config, sections, 418 …output += get_detailed_sizes(mem_reg, sections, 'archive', 'Archive File', args.json, sections_dif… 420 … output += get_detailed_sizes(mem_reg, sections, 'file', 'Object File', args.json, sections_diff) 423 … output += get_archive_symbols(mem_reg, sections, args.archive_details, args.json, sections_diff) 425 args.output_file.write(output) 531 output = format_json(collections.OrderedDict([('current', current_json_dic), 536 output = format_json(current_json_dic) 639 output = os.linesep.join([lf.format(a.format(**f_dic), 645 … output += os.linesep # last line need to be terminated because it won't be printed otherwise [all …]
|
/hal_espressif-2.7.6/components/esp-tls/esp-tls-crypto/ |
D | esp_tls_crypto.c | 34 unsigned char output[20]) in esp_crypto_sha1_mbedtls() 36 int ret = mbedtls_sha1_ret(input, ilen, output); in esp_crypto_sha1_mbedtls() 53 unsigned char output[20]) in esp_crypto_sha1_wolfSSL() 55 unsigned char *ret = wolfSSL_SHA1(input, ilen, output); in esp_crypto_sha1_wolfSSL() 76 unsigned char output[20]) in esp_crypto_sha1() 78 return _esp_crypto_sha1(input, ilen, output); in esp_crypto_sha1()
|
/hal_espressif-2.7.6/components/mbedtls/port/aes/ |
D | esp_aes_gcm.c | 216 unsigned char output[16] ) in gcm_mult() 249 PUT_UINT32_BE( zh >> 32, output, 0 ); in gcm_mult() 250 PUT_UINT32_BE( zh, output, 4 ); in gcm_mult() 251 PUT_UINT32_BE( zl >> 32, output, 8 ); in gcm_mult() 252 PUT_UINT32_BE( zl, output, 12 ); in gcm_mult() 413 unsigned char *output ) in esp_aes_gcm_update() argument 427 if (!output) { in esp_aes_gcm_update() 432 if ( output > input && (size_t) ( output - input ) < length ) { in esp_aes_gcm_update() 454 esp_aes_crypt_ctr(&ctx->aes_ctx, length, &nc_off, nonce_counter, stream, input, output); in esp_aes_gcm_update() 464 esp_gcm_ghash(ctx, output, length, ctx->ghash); in esp_aes_gcm_update() [all …]
|
/hal_espressif-2.7.6/components/mbedtls/port/sha/ |
D | esp_sha.c | 34 void esp_sha(esp_sha_type sha_type, const unsigned char *input, size_t ilen, unsigned char *output) in esp_sha() argument 49 assert(input != NULL && output != NULL); in esp_sha() 57 ret = mbedtls_sha1_finish_ret(&ctx.sha1, output); in esp_sha() 70 ret = mbedtls_sha256_finish_ret(&ctx.sha256, output); in esp_sha() 83 ret = mbedtls_sha512_finish_ret(&ctx.sha512, output); in esp_sha() 96 ret = mbedtls_sha512_finish_ret(&ctx.sha512, output); in esp_sha()
|
/hal_espressif-2.7.6/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-2.7.6/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-2.7.6/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-2.7.6/components/mbedtls/port/md/ |
D | esp_md.c | 22 int esp_md5_finish_ret( mbedtls_md5_context *ctx, unsigned char output[16] ) in esp_md5_finish_ret() 24 esp_rom_md5_final(output, ctx); in esp_md5_finish_ret() 43 void esp_md5_finish( mbedtls_md5_context *ctx, unsigned char output[16] ) in esp_md5_finish() 45 esp_md5_finish_ret(ctx, output); in esp_md5_finish()
|
/hal_espressif-2.7.6/tools/cmake/ |
D | ldgen.cmake | 30 function(__ldgen_process_template template output) 66 OUTPUT ${output} 71 --output ${output} 80 get_filename_component(_name ${output} NAME) 81 add_custom_target(__ldgen_output_${_name} DEPENDS ${output}) 83 idf_build_set_property(__LINK_DEPENDS ${output} APPEND)
|
/hal_espressif-2.7.6/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-2.7.6/tools/esp_app_trace/test/logtrace/ |
D | test.sh | 4 && coverage erase &> output \ 5 …&& coverage run -a $IDF_PATH/tools/esp_app_trace/logtrace_proc.py adc_log.trc test.elf &>> output \ 6 && diff output expected_output \
|
/hal_espressif-2.7.6/examples/bluetooth/esp_ble_mesh/ble_mesh_console/main/ |
D | transaction.h | 45 void *output; member 62 …8_t type, uint32_t sub_type, EventBits_t wait_events, uint32_t timeout, void *input, void *output); 73 #define TRANSACTION_INIT(trans, type, sub_type, wait_events, timeout, input, output) \ argument 74 ESP_ERROR_CHECK(transaction_init(trans, type, sub_type, wait_events, timeout, input, output))
|