/Zephyr-latest/drivers/crypto/ |
D | Kconfig.it8xxx2 | 11 This driver supports SHA256 hardware accelerator of the it8xxx2 series. 13 SHA256 hash. 22 This driver supports SHA256 hardware accelerator of the it82xx2 series. 24 SHA256 hash.
|
/Zephyr-latest/tests/crypto/tinycrypt/src/ |
D | sha256.c | 35 * This module tests the following SHA256 routines: 37 * - NIST SHA256 test vectors 40 #include <tinycrypt/sha256.h> 51 * NIST SHA256 test vector 1. 58 TC_PRINT("SHA256 test #1:\n"); in ZTEST() 77 zassert_false(result, "SHA256 test #1 failed."); in ZTEST() 81 * NIST SHA256 test vector 2. 87 TC_PRINT("SHA256 test #2:\n"); in ZTEST() 108 zassert_false(result, "SHA256 test #2 failed."); in ZTEST() 115 TC_PRINT("SHA256 test #3:\n"); in ZTEST() [all …]
|
/Zephyr-latest/subsys/mgmt/mcumgr/grp/fs_mgmt/src/ |
D | fs_mgmt_hash_checksum_sha256.c | 22 #include <mbedtls/sha256.h> 53 /* Read all data from file and add to SHA256 hash calculation */ in fs_mgmt_hash_checksum_sha256() 74 /* Finalise SHA256 hash calculation and store output in provided output buffer */ in fs_mgmt_hash_checksum_sha256() 85 static struct fs_mgmt_hash_checksum_group sha256 = { variable 86 .group_name = "sha256", 94 fs_mgmt_hash_checksum_register_group(&sha256); in fs_mgmt_hash_checksum_register_sha256() 99 fs_mgmt_hash_checksum_unregister_group(&sha256); in fs_mgmt_hash_checksum_unregister_sha256()
|
/Zephyr-latest/boards/microchip/mec172xevb_assy6906/support/ |
D | mec172x_remote_flasher.py | 60 Calculate a SHA256 of the SPI binary content plus current 66 sha256 = hashlib.sha256() 71 sha256.update(spi_data) 76 sha256.update(now.encode("utf-8")) 78 return sha256.hexdigest() 140 # Calculate a sha256 digest for SPI file. 144 sha256 = calc_sha256(spi_file_path) 148 remote_file_name = remote_tmp.joinpath(f"mec172x_{sha256}.bin")
|
/Zephyr-latest/subsys/mgmt/mcumgr/grp/fs_mgmt/include/mgmt/mcumgr/grp/fs_mgmt/ |
D | fs_mgmt_hash_checksum_sha256.h | 17 * @brief Registers the SHA256 hash mcumgr handler. 22 * @brief Un-registers the SHA256 hash mcumgr handler.
|
/Zephyr-latest/tests/subsys/mgmt/mcumgr/fs_mgmt_hash_supported/ |
D | testcase.yaml | 25 mgmt.mcumgr.fs.mgmt.hash.supported.sha256: 27 EXTRA_CONF_FILE="configuration/sha256.conf"
|
/Zephyr-latest/scripts/west_commands/zspdx/ |
D | util.py | 16 Returns: tuple of (SHA1, SHA256, MD5) hashes for filePath, or 20 hSHA256 = hashlib.sha256()
|
D | writer.py | 42 if bf.sha256 != "": 43 f.write(f"FileChecksum: SHA256: {bf.sha256}\n")
|
D | scanner.py | 33 # should we calculate SHA256 hashes for each Package's Files? 207 f.sha256 = hSHA256
|
/Zephyr-latest/samples/net/sockets/http_server/src/certs/ |
D | gen_server_cert.sh | 13 -sha256 \ 29 -sha256 \
|
/Zephyr-latest/tests/net/socket/tls_configurations/pytest/ |
D | test_app_vs_openssl.py | 22 "-cipher", "AES128-SHA256,AES256-SHA256"]) 28 "-cipher", "ECDHE-ECDSA-AES128-SHA256"])
|
/Zephyr-latest/subsys/jwt/ |
D | jwt_legacy_rsa.c | 16 #include <mbedtls/sha256.h> 45 * The '0' indicates to mbedtls to do a SHA256, instead of in jwt_sign_impl()
|
/Zephyr-latest/modules/ |
D | Kconfig.tinycrypt | 30 bool "HMAC (via SHA256) message auth support" 37 bool "PRNG (via HMAC-SHA256) support"
|
/Zephyr-latest/tests/crypto/tinycrypt_hmac_prng/ |
D | testcase.yaml | 6 - sha256
|
/Zephyr-latest/soc/ite/ec/it8xxx2/ |
D | Kconfig | 228 bool "HW SHA256 calculation" 230 IT8XXX2 HW support sha256 calculation, and its calculation is faster than FW. 231 We place SHA256 message, hash and key data (total 512bytes) in RAM. 232 If we enable this config, because HW limits, the sha256 data must place in
|
/Zephyr-latest/scripts/build/ |
D | llext_slidlib.py | 26 from hashlib import sha256 39 m = sha256()
|
/Zephyr-latest/subsys/mgmt/updatehub/ |
D | updatehub_integrity.h | 13 #include <mbedtls/sha256.h>
|
/Zephyr-latest/include/zephyr/mgmt/mcumgr/grp/img_mgmt/ |
D | img_mgmt_client.h | 49 /** Image SHA256 checksum */ 86 char sha256[IMG_MGMT_DATA_SHA_LEN]; member 135 * @param image_hash Pointer to HASH for image must be SHA256 hash of entire upload
|
/Zephyr-latest/samples/tfm_integration/psa_crypto/src/ |
D | psa_crypto.c | 97 * @brief Stores a new persistent secp256r1 key (usage: ecdsa-with-SHA256) 213 * @brief Generates a new permanent, persistent prime256v1 (ecdsa-with-SHA256) 367 /* prime256v1 (ecdsa-with-SHA256) private key. */ in crp_generate_csr() 394 /* Generate persistent prime256v1 (ecdsa-with-SHA256) key w/ID #1. */ in crp_generate_csr() 422 /* Generate persistent prime256v1 (ecdsa-with-SHA256) key w/ID #1. */ in crp_generate_csr() 531 * @brief Calculates the SHA256 hash for the supplied message. 637 * $ openssl dgst -sha256 -sign in crp_sign_hash() 789 /* NOTE: The same key generation, SHA256 hash, sign, and verify in crp_test() 812 * Hash the message with SHA256, and sign it with the private key: in crp_test() 815 * $ openssl dgst -sha256 -sign user.pem message.txt > signature.der in crp_test() [all …]
|
/Zephyr-latest/scripts/west_commands/ |
D | blobs.py | 54 - sha256: blob SHA256 hash in hex 126 status = zephyr_module.get_blob_status(blob['abspath'], blob['sha256'])
|
D | sdk.py | 287 minimal_sdk_asset = next(filter(lambda x: x["name"] == "sha256.sum", assets)) 292 self.inf("Fetching sha256...") 298 sha256 = self.minimal_sdk_sha256(resp.content.decode("UTF-8"), target_release) 324 # check sha256 hash 326 digest = hashlib.sha256(sha256file.read()).hexdigest() 327 if sha256 != digest: 328 raise Exception(f"sha256 mismatched: {sha256}:{digest}")
|
/Zephyr-latest/doc/_extensions/zephyr/ |
D | doxyrunner.py | 65 """Compute the hash (SHA256) of a file in text mode. 75 sha256 = hashlib.sha256(f.read().encode("utf-8")) 77 return sha256.hexdigest()
|
/Zephyr-latest/subsys/net/lib/wifi_credentials/ |
D | Kconfig | 113 bool "WPA2-PSK-SHA256"
|
/Zephyr-latest/subsys/mgmt/hawkbit/ |
D | hawkbit_priv.h | 98 const char *sha256; member
|
/Zephyr-latest/subsys/mgmt/mcumgr/grp/fs_mgmt/ |
D | Kconfig | 127 bool "SHA256 hash support" 131 Enable SHA256 hash support for MCUmgr.
|