Home
last modified time | relevance | path

Searched full:sha256 (Results 1 – 25 of 111) sorted by relevance

12345

/hal_espressif-latest/zephyr/
Dmodule.yml9 sha256: 0c36854866180f6b264038c36eaf8045ee65c22642be322e30ce7696facaebc4
17 sha256: 211a008cb76623699e8aa69abdeab0ab453f228ec42beeaa19a7892b644cda50
25 sha256: 87e0043280d0157240b24cf82547d93b1f2fb531877fe042630751b1cd308356
33 sha256: f982adb48e484aa26faea8b2cdb006b33fb879411888e731a7d0d53c082fd278
41 sha256: adb30ef4c3717e730d27349836236ba26cd51b4303e8e74d69051e5f9acf4a1a
49 sha256: afebc15695cbde8a92b01ccc02798796f28c9a9daffa343231cb567dc766dd89
57 sha256: fe2c39923d5594fa993f747df74cd43116261c47076e0cf51a7b68844c242350
65 sha256: c8879060d35eab105db9d14b5992e4a0d9b9b061d0da37f671a52ee69a0c1efe
73 sha256: b4292d3a0a259f60b9c1c1f9cd9a32af56c3eec609e4812a1ea6e613825e63ab
81 sha256: 69e9e3b4756ebcb77b5945649447b24dc3fbc5293378672a8b0254ee324c3f8b
[all …]
/hal_espressif-latest/components/wpa_supplicant/src/crypto/
Dcrypto_internal.c25 struct sha256_state sha256; member
62 sha256_init(&ctx->u.sha256); in crypto_hash_init()
116 sha256_init(&ctx->u.sha256); in crypto_hash_init()
117 sha256_process(&ctx->u.sha256, key, key_len); in crypto_hash_init()
118 sha256_done(&ctx->u.sha256, tk); in crypto_hash_init()
130 sha256_init(&ctx->u.sha256); in crypto_hash_init()
131 sha256_process(&ctx->u.sha256, k_pad, sizeof(k_pad)); in crypto_hash_init()
160 sha256_process(&ctx->u.sha256, data, len); in crypto_hash_update()
219 sha256_done(&ctx->u.sha256, mac); in crypto_hash_finish()
293 sha256_done(&ctx->u.sha256, mac); in crypto_hash_finish()
[all …]
Dsha256.c12 #include "sha256.h"
17 * hmac_sha256_vector - HMAC-SHA256 over data vector (RFC 2104)
42 /* if key is longer than 64 bytes reset it to key = SHA256(key) */ in hmac_sha256_vector()
52 * SHA256(K XOR opad, SHA256(K XOR ipad, text)) in hmac_sha256_vector()
66 /* perform inner SHA256 */ in hmac_sha256_vector()
82 /* perform outer SHA256 */ in hmac_sha256_vector()
92 * hmac_sha256 - HMAC-SHA256 over data buffer (RFC 2104)
Dsha256-kdf.c2 * HMAC-SHA256 KDF (RFC 5295) and HKDF-Expand(SHA256) (RFC 5869)
12 #include "sha256.h"
16 * hmac_sha256_kdf - HMAC-SHA256 based KDF (RFC 5295)
Dsha256-prf.c2 * SHA256-based PRF (IEEE 802.11r)
12 #include "sha256.h"
17 * sha256_prf - SHA256-based Pseudo-Random Function (IEEE 802.11r, 8.5.1.5.2)
Dsha256-internal.c12 #include "sha256.h"
18 * sha256_vector - SHA256 hash for data vector
44 /* ===== start - public domain SHA256 implementation ===== */
46 /* This is based on SHA256 implementation in LibTomCrypt that was released into
229 /* ===== end - public domain SHA256 implementation ===== */
/hal_espressif-latest/components/mbedtls/port/sha/
Desp_sha.c15 #include <mbedtls/sha256.h>
35 mbedtls_sha256_context sha256; in esp_sha() member
60 mbedtls_sha256_init(&ctx.sha256); in esp_sha()
61 mbedtls_sha256_starts(&ctx.sha256, 0); in esp_sha()
62 ret = mbedtls_sha256_update(&ctx.sha256, input, ilen); in esp_sha()
64 ret = mbedtls_sha256_finish(&ctx.sha256, output); in esp_sha()
66 mbedtls_sha256_free(&ctx.sha256); in esp_sha()
/hal_espressif-latest/components/bt/porting/ext/tinycrypt/include/tinycrypt/
Dsha256.h1 /* sha256.h - TinyCrypt interface to a SHA-256 implementation */
81 * @brief SHA256 initialization procedure
85 * @param s Sha256 state struct
90 * @brief SHA256 update procedure
101 * @param s Sha256 state struct
108 * @brief SHA256 final procedure
121 * @param Sha256 state struct
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_common/tinycrypt/include/tinycrypt/
Dsha256.h1 /* sha256.h - TinyCrypt interface to a SHA-256 implementation */
81 * @brief SHA256 initialization procedure
85 * @param s Sha256 state struct
90 * @brief SHA256 update procedure
101 * @param s Sha256 state struct
108 * @brief SHA256 final procedure
121 * @param Sha256 state struct
/hal_espressif-latest/zephyr/scripts/blobs/
Desp_genblobs.py30 sha256: {SHA256}
72 result = hashlib.sha256(f_byte)
92 sha256 = get_file_sha256(path_in_str)
95 SHA256=sha256,
/hal_espressif-latest/components/bt/porting/ext/tinycrypt/documentation/
Dtinycrypt.rst25 * HMAC-SHA256:
35 * Requires: SHA-256 and HMAC-SHA256.
262 * Measurement of code, data structures, and other digital artifacts (SHA256);
264 * Generate commitments (SHA256);
266 * Construct keys (HMAC-SHA256);
268 * Extract entropy from strings containing some randomness (HMAC-SHA256);
270 * Construct random mappings (HMAC-SHA256);
274 * Authenticate using a shared secret (HMAC-SHA256);
276 * Create an authenticated, replay-protected session (HMAC-SHA256 + HMAC-PRNG);
344 * `RFC 2104 (HMAC-SHA256)`_
[all …]
/hal_espressif-latest/components/esp_app_format/include/
Desp_app_desc.h34 uint8_t app_elf_sha256[32]; /*!< sha256 of elf file */
52 …* @brief Fill the provided buffer with SHA256 of the ELF file, formatted as hexadecimal, null-te…
53 * If the buffer size is not sufficient to fit the entire SHA256 in hex plus a null terminator,
/hal_espressif-latest/components/wpa_supplicant/
DCMakeLists.txt26 "src/crypto/sha256-kdf.c"
34 "src/crypto/sha256-tlsprf.c"
36 "src/crypto/sha256-prf.c"
160 "src/crypto/sha256-internal.c"
161 "src/crypto/sha256.c"
164 "src/crypto/sha256.c")
/hal_espressif-latest/components/bootloader_support/private_include/
Dbootloader_sha.h8 /* Provide a SHA256 API for bootloader_support code,
12 Use mbedTLS APIs or include esp32/sha.h to calculate SHA256 in IDF apps.
/hal_espressif-latest/components/esp_rom/include/esp32c6/rom/
Dsha.h28 uint32_t state[16]; // For SHA1/SHA224/SHA256, used 8, other used 16
29 unsigned char buffer[128]; // For SHA1/SHA224/SHA256, used 64, other used 128
/hal_espressif-latest/components/esp_rom/include/esp32h2/rom/
Dsha.h28 uint32_t state[16]; // For SHA1/SHA224/SHA256, used 8, other used 16
29 unsigned char buffer[128]; // For SHA1/SHA224/SHA256, used 64, other used 128
/hal_espressif-latest/components/bootloader_support/src/esp32s2/
Dbootloader_sha.c16 // Words per SHA256 block
18 // Words in final SHA256 digest
/hal_espressif-latest/components/esp_rom/include/esp32c2/rom/
Dsha.h28 uint32_t state[16]; // For SHA1/SHA224/SHA256, used 8, other used 16
29 unsigned char buffer[128]; // For SHA1/SHA224/SHA256, used 64, other used 128
/hal_espressif-latest/tools/esptool_py/esptool/
Dbin_image.py250 If SHA256 digest of the ELF file needs to be inserted into this segment, do so.
259 # SHA256 digest needs to be patched into this binary segment,
268 "Cannot place SHA256 digest on segment boundary"
279 "Contents of segment at SHA256 digest offset 0x%x are not all zero."
686 calc_digest = hashlib.sha256()
897 # calculate the SHA256 of the whole file and append it
899 digest = hashlib.sha256()
1043 # calculate the SHA256 of the whole file and append it
1045 digest = hashlib.sha256()
1419 def sha256(self): member in ELFFile
[all …]
/hal_espressif-latest/components/esp_rom/include/esp32s3/rom/
Dsha.h40 uint32_t state[16]; // For SHA1/SHA224/SHA256, used 8, other used 16
41 unsigned char buffer[128]; // For SHA1/SHA224/SHA256, used 64, other used 128
/hal_espressif-latest/components/esp_rom/include/esp32c3/rom/
Dsha.h36 uint32_t state[16]; // For SHA1/SHA224/SHA256, used 8, other used 16
37 unsigned char buffer[128]; // For SHA1/SHA224/SHA256, used 64, other used 128
/hal_espressif-latest/tools/esptool_py/ci/
DSign-File.ps155 …gn", "/tr", 'http://timestamp.digicert.com', "/td", "SHA256", "/f", $CertificateFile, "/fd", "SHA2… in SignEsptool()
/hal_espressif-latest/components/esp_rom/include/esp32s2/rom/
Dsha.h49 uint32_t state[16]; // For SHA1/SHA224/SHA256, used 8, other used 16
50 unsigned char buffer[128]; // For SHA1/SHA224/SHA256, used 64, other used 128
/hal_espressif-latest/tools/esptool_py/espsecure/
D__init__.py71 128-bit keys will be extended to 256-bit using the SHA256 of the key
379 signature = sk.sign_deterministic(binary_content, hashlib.sha256)
384 vk.verify(signature, binary_content, hashlib.sha256) # throws exception on failure
575 padding.PSS(mgf=padding.MGF1(hashes.SHA256()), salt_length=32),
576 utils.Prehashed(hashes.SHA256()),
588 hash_type = hashes.SHA256()
593 hash_type = hashes.SHA256()
642 mgf=padding.MGF1(hashes.SHA256()),
645 utils.Prehashed(hashes.SHA256()),
656 hash_type = hashes.SHA256()
[all …]
/hal_espressif-latest/tools/esptool_py/test/
Dtest_imagegen.py136 ), "SHA256 should be valid"
448 extra_args=["--elf-sha256-offset", f"{self.SHA_OFFS:#x}"],
457 elf_computed_sha256 = hashlib.sha256(f.read()).digest()
473 extra_args=["--elf-sha256-offset", "0xb0"],
476 assert "SHA256" in output
502 # drop the last 32 bytes (SHA256 digest)

12345