Home
last modified time | relevance | path

Searched full:sha (Results 1 – 25 of 217) sorted by relevance

123456789

/Linux-v6.1/drivers/crypto/ccp/
Dccp-crypto-sha.c3 * 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 …]
Dccp-ops.c21 /* 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/
DKconfig81 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/
DKconfig40 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/
DKconfig34 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/
Dmv_init.c156 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/
DKconfig40 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/
Dcrypto.json14 …"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/
Dcrypto.json14 …"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/
Dcrypto.json14 …"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/
Dcrypto.json14 …"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/
Dcrypto.json14 …"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/
Dpm8001_ctl.c60 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 …]
Dpm8001_init.c86 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/
Dcrypto6.json14 …"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/
Dcrypto6.json14 …"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/
DKconfig18 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/
DKconfig48 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/
DKconfig389 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/
DKconfig32 SHA-1, SHA-224, SHA-256, SHA-384, SHA-512, and so on.
/Linux-v6.1/include/crypto/
Dsha1.h3 * 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/
Datmel,at91sam9g46-sha.yaml5 $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";
Dsamsung-slimsss.yaml16 -- SHA-1/SHA-256 and (SHA-1/SHA-256)/HMAC
/Linux-v6.1/include/linux/
Dccp.h248 /***** 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/
Dnf_conntrack_proto_sctp.c76 #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 …]

123456789