/hal_espressif-2.7.6/components/wpa_supplicant/src/crypto/ |
D | crypto_internal.c | 42 mbedtls_sha256_context sha256; member 44 struct sha256_state sha256; member 77 mbedtls_sha256_init(&ctx->u.sha256); in crypto_hash_init() 78 mbedtls_sha256_starts_ret(&ctx->u.sha256, 0); in crypto_hash_init() 80 sha256_init(&ctx->u.sha256); in crypto_hash_init() 126 mbedtls_sha256_init(&ctx->u.sha256); in crypto_hash_init() 127 mbedtls_sha256_starts_ret(&ctx->u.sha256, 0); in crypto_hash_init() 128 mbedtls_sha256_update_ret(&ctx->u.sha256, key, key_len); in crypto_hash_init() 129 mbedtls_sha256_finish_ret(&ctx->u.sha256, tk); in crypto_hash_init() 130 mbedtls_sha256_free(&ctx->u.sha256); in crypto_hash_init() [all …]
|
/hal_espressif-2.7.6/components/spi_flash/test/ |
D | test_partitions.c | 74 uint8_t sha256[32] = { 0 }; in s_test_nonzero_sha_of_partition() local 78 esp_err_t err = esp_partition_get_sha256(part, sha256); in s_test_nonzero_sha_of_partition() 88 ESP_LOG_BUFFER_HEX("sha", sha256, sizeof(sha256)); in s_test_nonzero_sha_of_partition() 90 for (int i = 0; i < sizeof(sha256); i++) { in s_test_nonzero_sha_of_partition() 91 if (sha256[i] != 0) { in s_test_nonzero_sha_of_partition() 131 uint8_t sha256[32] = { 0 }; variable 143 ESP_ERROR_CHECK(esp_partition_get_sha256(&partition, sha256)); 144 ESP_LOG_BUFFER_HEX("sha", sha256, sizeof(sha256));
|
/hal_espressif-2.7.6/components/mbedtls/test/ |
D | test_mbedtls_sha.c | 63 unsigned char sha1[20], sha256[32], sha512[64]; variable 80 TEST_ASSERT_EQUAL(0, mbedtls_sha256_finish_ret(&sha256_ctx, sha256)); 88 TEST_ASSERT_EQUAL_MEMORY_MESSAGE(sha256_thousand_as, sha256, 32, "SHA256 calculation"); 115 unsigned char sha256[32]; in tskRunSHA256Test() local 123 TEST_ASSERT_EQUAL(0, mbedtls_sha256_finish_ret(&sha256_ctx, sha256)); in tskRunSHA256Test() 125 TEST_ASSERT_EQUAL_MEMORY_MESSAGE(sha256_thousand_bs, sha256, 32, "SHA256 calculation"); in tskRunSHA256Test() 259 unsigned char sha256[64]; variable 273 TEST_ASSERT_EQUAL(0, mbedtls_sha256_finish_ret(&ctx, sha256)); 276 TEST_ASSERT_EQUAL_MEMORY_MESSAGE(sha256_thousand_as, sha256, 32, "SHA256 original calculation"); 278 TEST_ASSERT_EQUAL(0, mbedtls_sha256_finish_ret(&clone, sha256)); [all …]
|
D | test_sha_perf.c | 20 unsigned char sha256[32]; variable 33 TEST_ASSERT_EQUAL(0, mbedtls_sha256_finish_ret(&sha256_ctx, sha256)); 43 char hash_str[sizeof(sha256) * 2 + 1]; 44 sodium_bin2hex(hash_str, sizeof(hash_str), sha256, sizeof(sha256));
|
D | test_aes_sha_parallel.c | 26 unsigned char sha256[32]; in tskRunSHA256Test() local 35 TEST_ASSERT_EQUAL(0, mbedtls_sha256_finish_ret(&sha256_ctx, sha256)); in tskRunSHA256Test() 37 TEST_ASSERT_EQUAL_MEMORY_MESSAGE(sha256_thousand_bs, sha256, 32, "SHA256 calculation"); in tskRunSHA256Test()
|
/hal_espressif-2.7.6/components/mbedtls/port/sha/ |
D | esp_sha.c | 41 mbedtls_sha256_context sha256; in esp_sha() member 66 mbedtls_sha256_init(&ctx.sha256); in esp_sha() 67 mbedtls_sha256_starts_ret(&ctx.sha256, 0); in esp_sha() 68 ret = mbedtls_sha256_update_ret(&ctx.sha256, input, ilen); in esp_sha() 70 ret = mbedtls_sha256_finish_ret(&ctx.sha256, output); in esp_sha() 72 mbedtls_sha256_free(&ctx.sha256); in esp_sha()
|
/hal_espressif-2.7.6/examples/get-started/blink/ |
D | example_test.py | 15 sha256 = hashlib.sha256() 17 sha256.update(f.read()) 18 sha256_expected = sha256.hexdigest()
|
/hal_espressif-2.7.6/components/wpa_supplicant/ |
D | CMakeLists.txt | 12 "src/crypto/sha256-kdf.c" 21 "src/crypto/sha256-tlsprf.c" 44 "src/crypto/sha256-internal.c" 45 "src/crypto/sha256.c" 47 "src/crypto/sha256-tlsprf.c" 49 "src/crypto/sha256-prf.c"
|
/hal_espressif-2.7.6/components/espcoredump/corefile/ |
D | elf.py | 222 def sha256(self): member in ElfFile 226 sha256 = hashlib.sha256() 227 sha256.update(self._struct.build(self._model)) 228 return sha256.digest()
|
D | loader.py | 213 … data_sha256 = hashlib.sha256(EspCoreDumpV2Header.build(self.core_src.header) + self.core_src.data) 254 app_sha256 = binascii.hexlify(exe_elf.sha256) 260 if coredump_sha256.sha256 != app_sha256:
|
/hal_espressif-2.7.6/zephyr/esp32/ |
D | CMakeLists.txt | 182 "../../components/wpa_supplicant/src/crypto/sha256-kdf.c" 183 "../../components/wpa_supplicant/src/crypto/sha256-prf.c" 193 "../../components/wpa_supplicant/src/crypto/sha256-tlsprf.c" 214 "../../components/wpa_supplicant/src/crypto/sha256-internal.c" 215 "../../components/wpa_supplicant/src/crypto/sha256.c"
|
/hal_espressif-2.7.6/tools/windows/tool_setup/ |
D | sign_installer.sh | 42 -h sha256 \
|
/hal_espressif-2.7.6/components/libsodium/ |
D | component.mk | 28 $(LSRC)/crypto_hash/sha256 \ 65 $(LSRC)/crypto_hash/sha256/cp \
|
D | CMakeLists.txt | 30 "${SRC}/crypto_hash/sha256/hash_sha256.c" 31 "${SRC}/crypto_hash/sha256/cp/hash_sha256_cp.c" 50 "${SRC}/crypto_pwhash/scryptsalsa208sha256/pbkdf2-sha256.c" 125 "${SRC}/crypto_hash/sha256/cp/hash_sha256_cp.c"
|
/hal_espressif-2.7.6/components/esp32s2/test/ |
D | gen_digital_signature_tests.py | 82 aes_key = hmac.HMAC(hmac_keys[hmac_key_idx], b'\xFF' * 32, hashlib.sha256).digest() 120 md = hashlib.sha256(md_in).digest()
|
/hal_espressif-2.7.6/components/espcoredump/ |
D | linker.lf | 27 sha256 (noflash_text)
|
/hal_espressif-2.7.6/tools/ |
D | idf_tools.py | 270 sha256 = hashlib.sha256() 274 sha256.update(block) 276 return size, sha256.hexdigest() 424 def __init__(self, platform_name, url, size, sha256): argument 428 self.sha256 = sha256 457 def add_download(self, platform_name, url, size, sha256): argument 458 self.downloads[platform_name] = IDFToolDownload(platform_name, url, size, sha256) 728 expected_sha256 = download_obj.sha256 891 'sha256': download.sha256 1543 """.strip('\n').format(platform_name, install_type_str, download_obj.url, download_obj.sha256))
|
/hal_espressif-2.7.6/docs/_static/ |
D | theme_overrides.css | 54 .tool-sha256 {
|
/hal_espressif-2.7.6/tools/ci/python_packages/ttfw_idf/ |
D | IDFApp.py | 429 sha256 = hashlib.sha256() 431 sha256.update(f.read()) 432 self._elf_file_sha256 = sha256.hexdigest()
|
/hal_espressif-2.7.6/examples/protocols/mqtt/ssl_ds/ |
D | configure_ds.py | 125 aes_key = hmac.HMAC(hmac_key, b'\xFF' * 32, hashlib.sha256).digest() 136 md = hashlib.sha256(md_in).digest()
|
/hal_espressif-2.7.6/examples/protocols/esp_local_ctrl/ |
D | README.md | 86 openssl req -new -x509 -subj "/CN=root" -days 3650 -sha256 -out rootCA.pem -keyout rootkey.pem 98 … -in server.csr -CA rootCA.pem -CAkey rootkey.pem -CAcreateserial -out cacert.pem -days 500 -sha256
|
/hal_espressif-2.7.6/components/esptool_py/ |
D | Makefile.projbuild | 53 ESPTOOL_ELF2IMAGE_OPTIONS += --elf-sha256-offset 0xb0
|
D | project_include.cmake | 29 set(esptool_elf2image_args --elf-sha256-offset 0xb0)
|
/hal_espressif-2.7.6/docs/en/api-reference/system/ |
D | app_image_format.rst | 86 * ``app_elf_sha256`` - contains sha256 for the elf application file.
|
/hal_espressif-2.7.6/components/bt/ |
D | CMakeLists.txt | 379 "esp_ble_mesh/mesh_common/tinycrypt/src/sha256.c" 456 "host/nimble/nimble/ext/tinycrypt/src/sha256.c"
|