Home
last modified time | relevance | path

Searched refs:sha256 (Results 1 – 25 of 27) sorted by relevance

12

/hal_espressif-2.7.6/components/wpa_supplicant/src/crypto/
Dcrypto_internal.c42 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/
Dtest_partitions.c74 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/
Dtest_mbedtls_sha.c63 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 …]
Dtest_sha_perf.c20 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));
Dtest_aes_sha_parallel.c26 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/
Desp_sha.c41 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/
Dexample_test.py15 sha256 = hashlib.sha256()
17 sha256.update(f.read())
18 sha256_expected = sha256.hexdigest()
/hal_espressif-2.7.6/components/wpa_supplicant/
DCMakeLists.txt12 "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/
Delf.py222 def sha256(self): member in ElfFile
226 sha256 = hashlib.sha256()
227 sha256.update(self._struct.build(self._model))
228 return sha256.digest()
Dloader.py213 … 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/
DCMakeLists.txt182 "../../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/
Dsign_installer.sh42 -h sha256 \
/hal_espressif-2.7.6/components/libsodium/
Dcomponent.mk28 $(LSRC)/crypto_hash/sha256 \
65 $(LSRC)/crypto_hash/sha256/cp \
DCMakeLists.txt30 "${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/
Dgen_digital_signature_tests.py82 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/
Dlinker.lf27 sha256 (noflash_text)
/hal_espressif-2.7.6/tools/
Didf_tools.py270 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/
Dtheme_overrides.css54 .tool-sha256 {
/hal_espressif-2.7.6/tools/ci/python_packages/ttfw_idf/
DIDFApp.py429 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/
Dconfigure_ds.py125 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/
DREADME.md86 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/
DMakefile.projbuild53 ESPTOOL_ELF2IMAGE_OPTIONS += --elf-sha256-offset 0xb0
Dproject_include.cmake29 set(esptool_elf2image_args --elf-sha256-offset 0xb0)
/hal_espressif-2.7.6/docs/en/api-reference/system/
Dapp_image_format.rst86 * ``app_elf_sha256`` - contains sha256 for the elf application file.
/hal_espressif-2.7.6/components/bt/
DCMakeLists.txt379 "esp_ble_mesh/mesh_common/tinycrypt/src/sha256.c"
456 "host/nimble/nimble/ext/tinycrypt/src/sha256.c"

12