Home
last modified time | relevance | path

Searched refs:bin (Results 1 – 25 of 56) sorted by relevance

123

/hal_espressif-latest/components/wpa_supplicant/src/utils/
Duuid.c14 int uuid_str2bin(const char *str, u8 *bin) in uuid_str2bin() argument
20 opos = bin; in uuid_str2bin()
49 int uuid_bin2str(const u8 *bin, char *str, size_t max_len) in uuid_bin2str() argument
54 bin[0], bin[1], bin[2], bin[3], in uuid_bin2str()
55 bin[4], bin[5], bin[6], bin[7], in uuid_bin2str()
56 bin[8], bin[9], bin[10], bin[11], in uuid_bin2str()
57 bin[12], bin[13], bin[14], bin[15]); in uuid_bin2str()
Duuid.h14 int uuid_str2bin(const char *str, u8 *bin);
15 int uuid_bin2str(const u8 *bin, char *str, size_t max_len);
Djson.c69 u8 bin[2]; in json_parse_string() local
128 hexstr2bin(pos + 1, bin, 2) < 0 || in json_parse_string()
129 bin[1] == 0x00) { in json_parse_string()
134 if (bin[0] == 0x00) { in json_parse_string()
135 *spos++ = bin[1]; in json_parse_string()
137 *spos++ = bin[0]; in json_parse_string()
138 *spos++ = bin[1]; in json_parse_string()
Dcommon.c474 void bin_clear_free(void *bin, size_t len) in bin_clear_free() argument
476 if (bin) { in bin_clear_free()
477 forced_memzero(bin, len); in bin_clear_free()
478 os_free(bin); in bin_clear_free()
/hal_espressif-latest/tools/esptool_py/docs/en/espefuse/
Ddump-cmd.rst16 …``--file_name`` argument. Example: "--file_name /path/blk.bin", blk0.bin, blk1.bin ... blkN.bin. U…
92 …`/chip1/blk.bin``, it will create files in the given directory (the directory must exist): /chip1/…
96 > espefuse.py dump --format split --file_name backup/chip1/blk.bin
99 backup/chip1/blk0.bin
100 backup/chip1/blk1.bin
101 backup/chip1/blk2.bin
102 backup/chip1/blk3.bin
103 backup/chip1/blk4.bin
104 backup/chip1/blk5.bin
105 backup/chip1/blk6.bin
[all …]
Dburn-block-data-cmd.rst15 It can be list of blocks and datafiles (like BLOCK1 datafile1.bin BLOCK2 datafile2.bin etc.).
22 **Example:** Write to eFuse BLOCK3 from binary file ``device_id.bin``, starting at eFuse byte offse…
26 > espefuse.py -p PORT burn_block_data --offset 6 BLOCK3 device_id.bin
Dburn-key-cmd.rst27 It can be list of key blocks and keyfiles (like BLOCK1 file1.bin BLOCK2 file2.bin etc.).
31 …y blocks and keyfiles and key purposes (like BLOCK_KEY1 file1.bin USER BLOCK_KEY2 file2.bin USER e…
149 espefuse.py burn_key secure_boot_v1 secure_boot_key_v1.bin
169 > espefuse.py burn_key flash_encryption 256bit_fe_key.bin
202 …r for flash encryption key is reversed. Content of flash encryption key file ("256bit_fe_key.bin"):
212 > espefuse.py burn_key flash_encryption 256bit_fe_key.bin --no-protect-key
250 Content of flash encryption key file (``512bits_0.bin``):
259 …> espefuse.py burn_key BLOCK_KEY0 ~/esp/tests/efuse/512bits_0.bin XTS_AES_256_KEY --no-read-prote…
313 … burn_key BLOCK_KEY0 images/efuse/128bit_key.bin XTS_AES_128_KEY_DERIVED_FROM_128_EFUSE_BITS
Dexecute-scripts-cmd.rst50 if os.path.exists("flash_encryption_key.bin"):
51 espefuse(esp, efuses, args, "burn_key flash_encryption flash_encryption_key.bin")
53 …raise esptool.FatalError("The 'flash_encryption_key.bin' file is missing in the project directory")
/hal_espressif-latest/tools/esptool_py/docs/en/esptool/
Dflashing-firmware.rst32 …app binary can be found in ``.../esp-idf/examples/get-started/hello_world/build/hello_world.bin``.
50 …FFSET} build/bootloader/bootloader.bin 0x8000 build/partition_table/partition-table.bin 0x10000 bu…
65bin/python2.7” “.../.platformio/packages/tool-esptoolpy/esptool.py” --chip {IDF_TARGET_PATH_NAME} …
75 …FFSET} build/bootloader/bootloader.bin 0x8000 build/partition_table/partition-table.bin 0x10000 bu…
Dbasic-commands.rst13 esptool.py --port COM4 write_flash 0x1000 my_app-0x01000.bin
19 esptool.py --port COM4 write_flash 0x00000 my_app.elf-0x00000.bin 0x40000 my_app.elf-0x40000.bin
45 …ort /dev/ttyUSB0 write_flash --flash_mode qio --flash_size 32m 0x0 bootloader.bin 0x1000 my_app.bin
47 …often needed as the default is to keep the flash mode and size from the ``.bin`` image file. See t…
106 esptool.py -p PORT -b 460800 read_flash 0 0x200000 flash_contents.bin
113 esptool.py -p PORT -b 460800 read_flash 0 ALL flash_contents.bin
201 …IDF_TARGET_NAME} is two binary files: ``my_app.elf-0x00000.bin`` and ``my_app.elf-0x40000.bin``. Y…
207 esptool.py --chip {IDF_TARGET_NAME} elf2image --version=2 -o my_app-ota.bin my_app.elf
211 … "image file". By default this has the same name as the .elf file, with a .bin extension. For exam…
217 In the above example, the output image file would be called ``my_esp_app.bin``.
[all …]
Dadvanced-commands.rst23 esptool.py verify_flash --diff yes 0x40000 my_app.elf-0x40000.bin
44 esptool.py dump_mem 0x40000000 65536 iram0.bin
51 …Command also supports ``.hex`` file created by ``merge_bin`` command from supported ``.bin`` files.
55 esptool.py --no-stub load_ram ./test/images/helloworld-esp8266.bin
159 …sp8266 make_image -f app.text.bin -a 0x40100000 -f app.data.bin -a 0x3ffe8000 -f app.rodata.bin -a…
165 …the ELF, by using objcopy or other tools) and then use ``elf2image`` to generate the ``.bin`` file.
Dscripting.rst12 command = ['--baud', '460800', 'read_flash', '0', '0x200000', 'flash_contents.bin']
Dflash-modes.rst22 esptool.py --port /dev/ttyUSB1 write_flash --flash_mode dio --flash_size 4MB 0x0 bootloader.bin
75 …rgument is passed when flashing a bootloader, the value in the bootloader .bin file header is kept…
/hal_espressif-latest/components/esp_phy/
DCMakeLists.txt31 if(NOT EXISTS "${build_dir}/phy_multiple_init_data.bin")
32 …file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/${idf_target}/phy_multiple_init_data.bin DESTINATION "${buil…
37 set(embed_files "${build_dir}/phy_multiple_init_data.bin")
92 set(phy_init_data_bin "${build_dir}/phy_multiple_init_data.bin")
94 set(COMPONENT_EMBED_FILES "${build_dir}/phy_multiple_init_data.bin")
97 set(phy_init_data_bin "${build_dir}/phy_init_data.bin")
99 # To get the phy_init_data.bin file, compile phy_init_data.h as a C file and then objcopy
DKconfig47 bool "Support multiple PHY init data bin"
52 according to the country code. China's PHY init data bin is used by default.
62 bool "Support embedded multiple phy init data bin to app bin"
66 If enabled, multiple phy init data bin will embedded into app bin
67 …If not enabled, multiple phy init data bin will still leave alone, and need to be flashed by users.
/hal_espressif-latest/components/bootloader/subproject/
DCMakeLists.txt85 "bootloader-reflash-digest.bin"
89 "secure-bootloader-key-${key_digest_len}.bin"
119 -o "${bootloader_digest_bin}" "${CMAKE_BINARY_DIR}/bootloader.bin"
140 set(bootloader_unsigned_bin "bootloader-unsigned.bin")
171 "\t${esptoolpy_write_flash} ${BOOTLOADER_OFFSET} ${CMAKE_BINARY_DIR}/bootloader.bin"
190 "\t${esptoolpy_write_flash} ${BOOTLOADER_OFFSET} ${CMAKE_BINARY_DIR}/bootloader.bin"
215 --append_signatures -o signed_bootloader.bin build/bootloader/bootloader.bin"
219 "\t${esptoolpy_write_flash} ${BOOTLOADER_OFFSET} ${CMAKE_BINARY_DIR}/bootloader.bin"
233 "\t${esptoolpy_write_flash} ${BOOTLOADER_OFFSET} ${CMAKE_BINARY_DIR}/bootloader.bin"
/hal_espressif-latest/components/bootloader/
DCMakeLists.txt18 "${BOOTLOADER_BUILD_DIR}/bootloader.bin")
24 "${BOOTLOADER_BUILD_DIR}/bootloader.bin")
Dproject_include.cmake17 "${BOOTLOADER_BUILD_DIR}/bootloader.bin"
49 "${BOOTLOADER_BUILD_DIR}/bootloader-reflash-digest.bin"
50 "${BOOTLOADER_BUILD_DIR}/secure-bootloader-key-192.bin"
51 "${BOOTLOADER_BUILD_DIR}/secure-bootloader-key-256.bin"
/hal_espressif-latest/components/wpa_supplicant/src/common/
Dsae.c563 u8 *bin; in debug_print_bignum() local
565 bin = os_malloc(prime_len); in debug_print_bignum()
566 if (bin && crypto_bignum_to_bin(a, bin, prime_len, prime_len) >= 0) in debug_print_bignum()
567 wpa_hexdump_key(MSG_DEBUG, title, bin, prime_len); in debug_print_bignum()
570 bin_clear_free(bin, prime_len); in debug_print_bignum()
584 u8 bin[SAE_MAX_ECC_PRIME_LEN]; in sswu() local
667 const_time_select_bin(m_is_zero, bin1, bin2, prime_len, bin); in sswu()
668 x1 = crypto_bignum_init_set(bin, prime_len); in sswu()
709 const_time_select_bin(is_qr, bin1, bin2, prime_len, bin); in sswu()
710 v = crypto_bignum_init_set(bin, prime_len); in sswu()
[all …]
/hal_espressif-latest/tools/esptool_py/espefuse/efuse/
Dutil.py17 return len([x for x in bin(b) if x == "1"])
/hal_espressif-latest/tools/esptool_py/test/elf2image/esp32-too-many-sections/
DMakefile8 BASH=/bin/bash
/hal_espressif-latest/components/wpa_supplicant/src/tls/
Dasn1.c506 u8 bin[4]; in asn1_put_integer() local
509 WPA_PUT_BE32(bin, val); in asn1_put_integer()
511 while (zeros < 3 && bin[zeros] == 0) in asn1_put_integer()
515 wpabuf_put_data(buf, &bin[zeros], 4 - zeros); in asn1_put_integer()
/hal_espressif-latest/components/bootloader_support/
DCMakeLists.txt122 "signature_verification_key.bin"
147 set(secure_boot_verification_key "${CMAKE_BINARY_DIR}/signature_verification_key.bin")
/hal_espressif-latest/tools/esptool_py/espefuse/efuse/esp32/
Demulate_efuse_controller.py126 mul_res += (i + 1) * bin(byte_data).count("1")
/hal_espressif-latest/components/esp_system/ld/esp32c2/
Dmemory.ld.in42 * Flash cache has 64KB pages. The .bin file which is flashed to the chip

123