/Linux-v6.1/drivers/crypto/ccp/ |
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 …]
|
D | ccp-ops.c | 21 /* SHA initial context values */ 1488 struct ccp_sha_engine *sha = &cmd->u.sha; in ccp_run_sha_cmd() local 1500 switch (sha->type) { in ccp_run_sha_cmd() 1502 if (sha->ctx_len < SHA1_DIGEST_SIZE) in ccp_run_sha_cmd() 1507 if (sha->ctx_len < SHA224_DIGEST_SIZE) in ccp_run_sha_cmd() 1512 if (sha->ctx_len < SHA256_DIGEST_SIZE) in ccp_run_sha_cmd() 1518 || sha->ctx_len < SHA384_DIGEST_SIZE) in ccp_run_sha_cmd() 1524 || sha->ctx_len < SHA512_DIGEST_SIZE) in ccp_run_sha_cmd() 1532 if (!sha->ctx) in ccp_run_sha_cmd() 1535 if (!sha->final && (sha->src_len & (block_size - 1))) in ccp_run_sha_cmd() [all …]
|
/Linux-v6.1/arch/arm/crypto/ |
D | Kconfig | 81 much faster than the SHA-2 family and slightly faster than 82 SHA-1. 85 tristate "Hash functions: SHA-1" 89 SHA-1 secure hash algorithm (FIPS 180) 94 tristate "Hash functions: SHA-1 (NEON)" 100 SHA-1 secure hash algorithm (FIPS 180) 106 tristate "Hash functions: SHA-1 (ARMv8 Crypto Extensions)" 111 SHA-1 secure hash algorithm (FIPS 180) 116 tristate "Hash functions: SHA-224 and SHA-256 (ARMv8 Crypto Extensions)" 121 SHA-224 and SHA-256 secure hash algorithms (FIPS 180) [all …]
|
/Linux-v6.1/arch/arm64/crypto/ |
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 …]
|
/Linux-v6.1/arch/mips/crypto/ |
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)
|
/Linux-v6.1/drivers/scsi/mvsas/ |
D | mv_init.c | 156 struct sas_ha_struct *sha = (struct sas_ha_struct *)opaque; in mvs_tasklet() local 158 core_nr = ((struct mvs_prv_info *)sha->lldd_ha)->n_host; in mvs_tasklet() 159 mvi = ((struct mvs_prv_info *)sha->lldd_ha)->mvi[0]; in mvs_tasklet() 169 mvi = ((struct mvs_prv_info *)sha->lldd_ha)->mvi[i]; in mvs_tasklet() 182 struct sas_ha_struct *sha = opaque; in mvs_interrupt() local 187 core_nr = ((struct mvs_prv_info *)sha->lldd_ha)->n_host; in mvs_interrupt() 190 mvi = ((struct mvs_prv_info *)sha->lldd_ha)->mvi[0]; in mvs_interrupt() 207 tasklet_schedule(&((struct mvs_prv_info *)sha->lldd_ha)->mv_tasklet); in mvs_interrupt() 210 mvi = ((struct mvs_prv_info *)sha->lldd_ha)->mvi[i]; in mvs_interrupt() 351 struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost); in mvs_pci_alloc() local [all …]
|
/Linux-v6.1/arch/sparc/crypto/ |
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)
|
/Linux-v6.1/tools/perf/pmu-events/arch/s390/cf_zec12/ |
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 …]
|
/Linux-v6.1/tools/perf/pmu-events/arch/s390/cf_z10/ |
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 …]
|
/Linux-v6.1/tools/perf/pmu-events/arch/s390/cf_z13/ |
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 …]
|
/Linux-v6.1/tools/perf/pmu-events/arch/s390/cf_z14/ |
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 …]
|
/Linux-v6.1/tools/perf/pmu-events/arch/s390/cf_z196/ |
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 …]
|
/Linux-v6.1/drivers/scsi/pm8001/ |
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 …]
|
D | pm8001_init.c | 86 struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost); in pm8001_map_queues() local 87 struct pm8001_hba_info *pm8001_ha = sha->lldd_ha; in pm8001_map_queues() 262 struct sas_ha_struct *sha = dev_id; in pm8001_interrupt_handler_intx() local 263 pm8001_ha = sha->lldd_ha; in pm8001_interrupt_handler_intx() 524 struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost); in pm8001_pci_alloc() local 527 pm8001_ha = sha->lldd_ha; in pm8001_pci_alloc() 536 pm8001_ha->sas = sha; in pm8001_pci_alloc() 605 struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost); in pm8001_prep_sas_ha_init() local 609 memset(sha, 0x00, sizeof(*sha)); in pm8001_prep_sas_ha_init() 617 sha->sas_phy = arr_phy; in pm8001_prep_sas_ha_init() [all …]
|
/Linux-v6.1/tools/perf/pmu-events/arch/s390/cf_z16/ |
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 …]
|
/Linux-v6.1/tools/perf/pmu-events/arch/s390/cf_z15/ |
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 …]
|
/Linux-v6.1/arch/s390/crypto/ |
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)
|
/Linux-v6.1/arch/powerpc/crypto/ |
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)
|
/Linux-v6.1/arch/x86/crypto/ |
D | Kconfig | 389 tristate "Hash functions: SHA-1 (SSSE3/AVX/AVX2/SHA-NI)" 394 SHA-1 secure hash algorithm (FIPS 180) 400 - SHA-NI (SHA Extensions New Instructions) 403 tristate "Hash functions: SHA-224 and SHA-256 (SSSE3/AVX/AVX2/SHA-NI)" 408 SHA-224 and SHA-256 secure hash algorithms (FIPS 180) 414 - SHA-NI (SHA Extensions New Instructions) 417 tristate "Hash functions: SHA-384 and SHA-512 (SSSE3/AVX/AVX2)" 422 SHA-384 and SHA-512 secure hash algorithms (FIPS 180)
|
/Linux-v6.1/drivers/crypto/aspeed/ |
D | Kconfig | 32 SHA-1, SHA-224, SHA-256, SHA-384, SHA-512, and so on.
|
/Linux-v6.1/include/crypto/ |
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).
|
/Linux-v6.1/Documentation/devicetree/bindings/crypto/ |
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";
|
D | samsung-slimsss.yaml | 16 -- SHA-1/SHA-256 and (SHA-1/SHA-256)/HMAC
|
/Linux-v6.1/include/linux/ |
D | ccp.h | 248 /***** SHA engine *****/ 250 * ccp_sha_type - type of SHA operation 252 * @CCP_SHA_TYPE_1: SHA-1 operation 253 * @CCP_SHA_TYPE_224: SHA-224 operation 254 * @CCP_SHA_TYPE_256: SHA-256 operation 266 * struct ccp_sha_engine - CCP SHA operation 267 * @type: Type of SHA operation 274 * @first: indicates first SHA operation 275 * @final: indicates final SHA operation 276 * @msg_bits: total length of the message in bits used in final SHA operation [all …]
|
/Linux-v6.1/net/netfilter/ |
D | nf_conntrack_proto_sctp.c | 76 #define sHA SCTP_CONNTRACK_HEARTBEAT_ACKED macro 118 /* sNO, sCL, sCW, sCE, sES, sSS, sSR, sSA, sHS, sHA */ 119 /* init */ {sCL, sCL, sCW, sCE, sES, sSS, sSR, sSA, sCW, sHA}, 120 /* init_ack */ {sCL, sCL, sCW, sCE, sES, sSS, sSR, sSA, sCL, sHA}, 123 /* shutdown_ack */ {sSA, sCL, sCW, sCE, sES, sSA, sSA, sSA, sSA, sHA}, 124 /* error */ {sCL, sCL, sCW, sCE, sES, sSS, sSR, sSA, sCL, sHA},/* Can't have Stale cookie*/ 125 /* cookie_echo */ {sCL, sCL, sCE, sCE, sES, sSS, sSR, sSA, sCL, sHA},/* 5.2.4 - Big TODO */ 126 /* cookie_ack */ {sCL, sCL, sCW, sCE, sES, sSS, sSR, sSA, sCL, sHA},/* Can't come in orig dir */ 127 /* shutdown_comp*/ {sCL, sCL, sCW, sCE, sES, sSS, sSR, sCL, sCL, sHA}, 128 /* heartbeat */ {sHS, sCL, sCW, sCE, sES, sSS, sSR, sSA, sHS, sHA}, [all …]
|