/openbmc/u-boot/include/u-boot/ |
H A D | sha1.h | 5 * FIPS-180-1 compliant SHA-1 implementation 10 * The SHA-1 standard was published by NIST in 1993. 28 * \brief SHA-1 context structure 39 * \brief SHA-1 context setup 41 * \param ctx SHA-1 context to be initialized 46 * \brief SHA-1 process buffer 48 * \param ctx SHA-1 context 56 * \brief SHA-1 final digest 58 * \param ctx SHA-1 context 59 * \param output SHA-1 checksum result [all …]
|
/openbmc/linux/drivers/crypto/ccp/ |
H A D | ccp-crypto-sha.c | 3 * AMD Cryptographic Coprocessor (CCP) SHA crypto API support 136 rctx->cmd.u.sha.type = rctx->type; in ccp_do_sha_update() 137 rctx->cmd.u.sha.ctx = &rctx->ctx_sg; in ccp_do_sha_update() 141 rctx->cmd.u.sha.ctx_len = SHA1_DIGEST_SIZE; in ccp_do_sha_update() 144 rctx->cmd.u.sha.ctx_len = SHA224_DIGEST_SIZE; in ccp_do_sha_update() 147 rctx->cmd.u.sha.ctx_len = SHA256_DIGEST_SIZE; in ccp_do_sha_update() 150 rctx->cmd.u.sha.ctx_len = SHA384_DIGEST_SIZE; in ccp_do_sha_update() 153 rctx->cmd.u.sha.ctx_len = SHA512_DIGEST_SIZE; in ccp_do_sha_update() 160 rctx->cmd.u.sha.src = sg; in ccp_do_sha_update() 161 rctx->cmd.u.sha.src_len = rctx->hash_cnt; in ccp_do_sha_update() [all …]
|
/openbmc/linux/arch/arm/crypto/ |
H A D | Kconfig | 83 much faster than the SHA-2 family and slightly faster than 84 SHA-1. 87 tristate "Hash functions: SHA-1" 91 SHA-1 secure hash algorithm (FIPS 180) 96 tristate "Hash functions: SHA-1 (NEON)" 102 SHA-1 secure hash algorithm (FIPS 180) 108 tristate "Hash functions: SHA-1 (ARMv8 Crypto Extensions)" 113 SHA-1 secure hash algorithm (FIPS 180) 118 tristate "Hash functions: SHA-224 and SHA-256 (ARMv8 Crypto Extensions)" 123 SHA-224 and SHA-256 secure hash algorithms (FIPS 180) [all …]
|
/openbmc/linux/arch/mips/crypto/ |
H A D | Kconfig | 34 tristate "Hash functions: SHA-1 (OCTEON)" 39 SHA-1 secure hash algorithm (FIPS 180) 44 tristate "Hash functions: SHA-224 and SHA-256 (OCTEON)" 49 SHA-224 and SHA-256 secure hash algorithms (FIPS 180) 54 tristate "Hash functions: SHA-384 and SHA-512 (OCTEON)" 59 SHA-384 and SHA-512 secure hash algorithms (FIPS 180)
|
/openbmc/linux/arch/arm64/crypto/ |
H A D | Kconfig | 40 tristate "Hash functions: SHA-1 (ARMv8 Crypto Extensions)" 45 SHA-1 secure hash algorithm (FIPS 180) 51 tristate "Hash functions: SHA-224 and SHA-256" 54 SHA-224 and SHA-256 secure hash algorithms (FIPS 180) 59 tristate "Hash functions: SHA-224 and SHA-256 (ARMv8 Crypto Extensions)" 64 SHA-224 and SHA-256 secure hash algorithms (FIPS 180) 70 tristate "Hash functions: SHA-384 and SHA-512" 73 SHA-384 and SHA-512 secure hash algorithms (FIPS 180) 78 tristate "Hash functions: SHA-384 and SHA-512 (ARMv8 Crypto Extensions)" 83 SHA-384 and SHA-512 secure hash algorithms (FIPS 180) [all …]
|
/openbmc/linux/arch/sparc/crypto/ |
H A D | Kconfig | 40 tristate "Hash functions: SHA-1" 45 SHA-1 secure hash algorithm (FIPS 180) 50 tristate "Hash functions: SHA-224 and SHA-256" 55 SHA-224 and SHA-256 secure hash algorithms (FIPS 180) 60 tristate "Hash functions: SHA-384 and SHA-512" 65 SHA-384 and SHA-512 secure hash algorithms (FIPS 180)
|
/openbmc/linux/drivers/scsi/mvsas/ |
H A D | mv_init.c | 154 struct sas_ha_struct *sha = (struct sas_ha_struct *)opaque; in mvs_tasklet() local 156 core_nr = ((struct mvs_prv_info *)sha->lldd_ha)->n_host; in mvs_tasklet() 157 mvi = ((struct mvs_prv_info *)sha->lldd_ha)->mvi[0]; in mvs_tasklet() 167 mvi = ((struct mvs_prv_info *)sha->lldd_ha)->mvi[i]; in mvs_tasklet() 180 struct sas_ha_struct *sha = opaque; in mvs_interrupt() local 185 core_nr = ((struct mvs_prv_info *)sha->lldd_ha)->n_host; in mvs_interrupt() 188 mvi = ((struct mvs_prv_info *)sha->lldd_ha)->mvi[0]; in mvs_interrupt() 205 tasklet_schedule(&((struct mvs_prv_info *)sha->lldd_ha)->mv_tasklet); in mvs_interrupt() 208 mvi = ((struct mvs_prv_info *)sha->lldd_ha)->mvi[i]; in mvs_interrupt() 346 struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost); in mvs_pci_alloc() local [all …]
|
/openbmc/linux/tools/perf/pmu-events/arch/s390/cf_z196/ |
H A D | crypto.json | 14 …"PublicDescription": "This counter counts the total number of CPU cycles when the DEA/AES/SHA copr… 21 …n functions that are issued by the CPU and are blocked because the DEA/AES/SHA coprocessor is busy… 28 …dorandom-number-generation functions issued by the CPU because the DEA/AES/SHA coprocessor is busy… 34 "BriefDescription": "SHA Function Count", 35 …"PublicDescription": "This counter counts the total number of the SHA functions issued by the CPU." 41 "BriefDescription": "SHA Cycle Count", 42 …counter counts the total number of CPU cycles when the SHA coprocessor is busy performing the SHA … 48 "BriefDescription": "SHA Blocked Function Count", 49 … counter counts the total number of the SHA functions that are issued by the CPU and are blocked b… 55 "BriefDescription": "SHA Blocked Cycle Count", [all …]
|
/openbmc/linux/tools/perf/pmu-events/arch/s390/cf_z10/ |
H A D | crypto.json | 14 …"PublicDescription": "This counter counts the total number of CPU cycles when the DEA/AES/SHA copr… 21 …n functions that are issued by the CPU and are blocked because the DEA/AES/SHA coprocessor is busy… 28 …dorandom-number-generation functions issued by the CPU because the DEA/AES/SHA coprocessor is busy… 34 "BriefDescription": "SHA Function Count", 35 …"PublicDescription": "This counter counts the total number of the SHA functions issued by the CPU." 41 "BriefDescription": "SHA Cycle Count", 42 …counter counts the total number of CPU cycles when the SHA coprocessor is busy performing the SHA … 48 "BriefDescription": "SHA Blocked Function Count", 49 … counter counts the total number of the SHA functions that are issued by the CPU and are blocked b… 55 "BriefDescription": "SHA Blocked Cycle Count", [all …]
|
/openbmc/linux/tools/perf/pmu-events/arch/s390/cf_z14/ |
H A D | crypto.json | 14 …"PublicDescription": "This counter counts the total number of CPU cycles when the DEA/AES/SHA copr… 21 …n functions that are issued by the CPU and are blocked because the DEA/AES/SHA coprocessor is busy… 28 …dorandom-number-generation functions issued by the CPU because the DEA/AES/SHA coprocessor is busy… 34 "BriefDescription": "SHA Function Count", 35 …"PublicDescription": "This counter counts the total number of the SHA functions issued by the CPU." 41 "BriefDescription": "SHA Cycle Count", 42 …counter counts the total number of CPU cycles when the SHA coprocessor is busy performing the SHA … 48 "BriefDescription": "SHA Blocked Function Count", 49 … counter counts the total number of the SHA functions that are issued by the CPU and are blocked b… 55 "BriefDescription": "SHA Blocked Cycle Count", [all …]
|
/openbmc/linux/tools/perf/pmu-events/arch/s390/cf_z13/ |
H A D | crypto.json | 14 …"PublicDescription": "This counter counts the total number of CPU cycles when the DEA/AES/SHA copr… 21 …n functions that are issued by the CPU and are blocked because the DEA/AES/SHA coprocessor is busy… 28 …dorandom-number-generation functions issued by the CPU because the DEA/AES/SHA coprocessor is busy… 34 "BriefDescription": "SHA Function Count", 35 …"PublicDescription": "This counter counts the total number of the SHA functions issued by the CPU." 41 "BriefDescription": "SHA Cycle Count", 42 …counter counts the total number of CPU cycles when the SHA coprocessor is busy performing the SHA … 48 "BriefDescription": "SHA Blocked Function Count", 49 … counter counts the total number of the SHA functions that are issued by the CPU and are blocked b… 55 "BriefDescription": "SHA Blocked Cycle Count", [all …]
|
/openbmc/linux/tools/perf/pmu-events/arch/s390/cf_zec12/ |
H A D | crypto.json | 14 …"PublicDescription": "This counter counts the total number of CPU cycles when the DEA/AES/SHA copr… 21 …n functions that are issued by the CPU and are blocked because the DEA/AES/SHA coprocessor is busy… 28 …dorandom-number-generation functions issued by the CPU because the DEA/AES/SHA coprocessor is busy… 34 "BriefDescription": "SHA Function Count", 35 …"PublicDescription": "This counter counts the total number of the SHA functions issued by the CPU." 41 "BriefDescription": "SHA Cycle Count", 42 …counter counts the total number of CPU cycles when the SHA coprocessor is busy performing the SHA … 48 "BriefDescription": "SHA Blocked Function Count", 49 … counter counts the total number of the SHA functions that are issued by the CPU and are blocked b… 55 "BriefDescription": "SHA Blocked Cycle Count", [all …]
|
/openbmc/u-boot/lib/libavb/ |
H A D | avb_sha.h | 24 /* Block size in bytes of a SHA-256 digest. */ 28 /* Block size in bytes of a SHA-512 digest. */ 31 /* Data structure used for SHA-256. */ 40 /* Data structure used for SHA-512. */ 49 /* Initializes the SHA-256 context. */ 52 /* Updates the SHA-256 context with |len| bytes from |data|. */ 55 /* Returns the SHA-256 digest. */ 58 /* Initializes the SHA-512 context. */ 61 /* Updates the SHA-512 context with |len| bytes from |data|. */ 64 /* Returns the SHA-512 digest. */
|
/openbmc/linux/tools/perf/pmu-events/arch/s390/cf_z16/ |
H A D | crypto6.json | 14 …"PublicDescription": "This counter counts the total number of CPU cycles when the DEA/AES/SHA copr… 21 …n functions that are issued by the CPU and are blocked because the DEA/AES/SHA coprocessor is busy… 28 …dorandom-number-generation functions issued by the CPU because the DEA/AES/SHA coprocessor is busy… 34 "BriefDescription": "SHA Function Count", 35 …"PublicDescription": "This counter counts the total number of the SHA functions issued by the CPU." 41 "BriefDescription": "SHA Cycle Count", 42 …counter counts the total number of CPU cycles when the SHA coprocessor is busy performing the SHA … 48 "BriefDescription": "SHA Blocked Function Count", 49 … counter counts the total number of the SHA functions that are issued by the CPU and are blocked b… 55 "BriefDescription": "SHA Blocked Cycle Count", [all …]
|
/openbmc/linux/tools/perf/pmu-events/arch/s390/cf_z15/ |
H A D | crypto6.json | 14 …"PublicDescription": "This counter counts the total number of CPU cycles when the DEA/AES/SHA copr… 21 …n functions that are issued by the CPU and are blocked because the DEA/AES/SHA coprocessor is busy… 28 …dorandom-number-generation functions issued by the CPU because the DEA/AES/SHA coprocessor is busy… 34 "BriefDescription": "SHA Function Count", 35 …"PublicDescription": "This counter counts the total number of the SHA functions issued by the CPU." 41 "BriefDescription": "SHA Cycle Count", 42 …counter counts the total number of CPU cycles when the SHA coprocessor is busy performing the SHA … 48 "BriefDescription": "SHA Blocked Function Count", 49 … counter counts the total number of the SHA functions that are issued by the CPU and are blocked b… 55 "BriefDescription": "SHA Blocked Cycle Count", [all …]
|
/openbmc/linux/drivers/scsi/pm8001/ |
H A D | pm8001_ctl.c | 60 struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost); in pm8001_ctl_mpi_interface_rev_show() local 61 struct pm8001_hba_info *pm8001_ha = sha->lldd_ha; in pm8001_ctl_mpi_interface_rev_show() 86 struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost); in controller_fatal_error_show() local 87 struct pm8001_hba_info *pm8001_ha = sha->lldd_ha; in controller_fatal_error_show() 106 struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost); in pm8001_ctl_fw_version_show() local 107 struct pm8001_hba_info *pm8001_ha = sha->lldd_ha; in pm8001_ctl_fw_version_show() 137 struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost); in pm8001_ctl_ila_version_show() local 138 struct pm8001_hba_info *pm8001_ha = sha->lldd_ha; in pm8001_ctl_ila_version_show() 163 struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost); in pm8001_ctl_inactive_fw_version_show() local 164 struct pm8001_hba_info *pm8001_ha = sha->lldd_ha; in pm8001_ctl_inactive_fw_version_show() [all …]
|
/openbmc/linux/arch/s390/crypto/ |
H A D | Kconfig | 18 tristate "Hash functions: SHA-384 and SHA-512" 22 SHA-384 and SHA-512 secure hash algorithms (FIPS 180) 29 tristate "Hash functions: SHA-1" 33 SHA-1 secure hash algorithm (FIPS 180) 40 tristate "Hash functions: SHA-224 and SHA-256" 44 SHA-224 and SHA-256 secure hash algorithms (FIPS 180)
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/vk-gl-cts/files/ |
H A D | generate-srcuri.py | 13 # If it looks like a SHA, just return that 20 sha = ret.stdout.split(maxsplit=1)[0] 21 assert len(sha) == 40 22 return sha 30 # Resolve the commit reference to a SHA 31 sha = resolve_commit(repo_url, repo_ref) 33 return url + f";protocol={protocol};nobranch=1;destsuffix={destination};rev={sha}" 89 # Resolve the commit reference to a SHA 90 sha = resolve_commit(repo.url, repo.commit) 94 url += f";protocol={protocol};nobranch=1;destsuffix={destsuffix};rev={sha}"
|
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/python3-matplotlib/ |
H A D | matplotlib-disable-download.patch | 34 @@ -66,40 +66,7 @@ def get_from_cache_or_download(url, sha): 42 - data = (cache_dir / sha).read_bytes() 46 - if _get_hash(data) == sha: 58 - if file_sha != sha: 60 - f"The downloaded file does not match the expected sha. {url} was " 61 - f"expected to have {sha} but it had {file_sha}") 66 - with open(cache_dir / sha, "xb") as fout: 75 def get_and_extract_tarball(urls, sha, dirname):
|
/openbmc/u-boot/drivers/crypto/ |
H A D | Kconfig | 12 Select this option to enable a driver for using the SHA engine in 19 Enabling this allows the use of SHA operations in hardware without 20 requiring the SHA software implementations, saving code size. 29 Select this option to enable a driver for using the SHA engine in 32 Enabling this allows the use of SHA operations in hardware without requiring the 33 SHA software implementations, saving code size.
|
/openbmc/linux/arch/powerpc/crypto/ |
H A D | Kconfig | 48 tristate "Hash functions: SHA-1" 51 SHA-1 secure hash algorithm (FIPS 180) 56 tristate "Hash functions: SHA-1 (SPE)" 59 SHA-1 secure hash algorithm (FIPS 180) 65 tristate "Hash functions: SHA-224 and SHA-256 (SPE)" 70 SHA-224 and SHA-256 secure hash algorithms (FIPS 180)
|
/openbmc/linux/arch/x86/crypto/ |
H A D | Kconfig | 427 tristate "Hash functions: SHA-1 (SSSE3/AVX/AVX2/SHA-NI)" 432 SHA-1 secure hash algorithm (FIPS 180) 438 - SHA-NI (SHA Extensions New Instructions) 441 tristate "Hash functions: SHA-224 and SHA-256 (SSSE3/AVX/AVX2/SHA-NI)" 446 SHA-224 and SHA-256 secure hash algorithms (FIPS 180) 452 - SHA-NI (SHA Extensions New Instructions) 455 tristate "Hash functions: SHA-384 and SHA-512 (SSSE3/AVX/AVX2)" 460 SHA-384 and SHA-512 secure hash algorithms (FIPS 180)
|
/openbmc/qemu/scripts/ |
H A D | qemu-stamp.py | 8 sha = hashlib.sha1() variable 17 sha.update(chunk) 19 sha.update(os.fsencode(arg)) 20 sha.update(b'\n') 24 print("_" + sha.hexdigest())
|
/openbmc/linux/include/crypto/ |
H A D | sha1.h | 3 * Common values for SHA-1 algorithms 37 * An implementation of SHA-1's compression function. Don't use in new code! 38 * You shouldn't be using SHA-1, and even if you *have* to use SHA-1, this isn't 39 * the correct way to hash something with SHA-1 (use crypto_shash instead).
|
/openbmc/linux/Documentation/devicetree/bindings/crypto/ |
H A D | atmel,at91sam9g46-sha.yaml | 5 $id: http://devicetree.org/schemas/crypto/atmel,at91sam9g46-sha.yaml# 8 title: Atmel Secure Hash Algorithm (SHA) HW cryptographic accelerator 15 const: atmel,at91sam9g46-sha 52 sha: crypto@e1814000 { 53 compatible = "atmel,at91sam9g46-sha";
|