Home
last modified time | relevance | path

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

12345678910>>...20

/kernel/linux/linux-5.10/drivers/crypto/mediatek/
Dmtk-sha.c9 * Some ideas are from atmel-sha.c and omap-sham.c drivers.
13 #include <crypto/sha.h>
26 /* SHA command token */
33 /* SHA transform information */
46 /* SHA flags */
275 /* Initialize basic transform information of SHA */
321 struct mtk_sha_rec *sha, in mtk_sha_info_update() argument
324 struct mtk_sha_reqctx *ctx = ahash_request_ctx(sha->req); in mtk_sha_info_update()
421 static int mtk_sha_xmit(struct mtk_cryp *cryp, struct mtk_sha_rec *sha, in mtk_sha_xmit() argument
425 struct mtk_sha_reqctx *ctx = ahash_request_ctx(sha->req); in mtk_sha_xmit()
[all …]
/kernel/linux/linux-5.10/drivers/crypto/ccp/
Dccp-crypto-sha.c3 * AMD Cryptographic Coprocessor (CCP) SHA crypto API support
20 #include <crypto/sha.h>
135 rctx->cmd.u.sha.type = rctx->type; in ccp_do_sha_update()
136 rctx->cmd.u.sha.ctx = &rctx->ctx_sg; in ccp_do_sha_update()
140 rctx->cmd.u.sha.ctx_len = SHA1_DIGEST_SIZE; in ccp_do_sha_update()
143 rctx->cmd.u.sha.ctx_len = SHA224_DIGEST_SIZE; in ccp_do_sha_update()
146 rctx->cmd.u.sha.ctx_len = SHA256_DIGEST_SIZE; in ccp_do_sha_update()
149 rctx->cmd.u.sha.ctx_len = SHA384_DIGEST_SIZE; in ccp_do_sha_update()
152 rctx->cmd.u.sha.ctx_len = SHA512_DIGEST_SIZE; in ccp_do_sha_update()
159 rctx->cmd.u.sha.src = sg; in ccp_do_sha_update()
[all …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-6.6/arch/arm/crypto/
DKconfig83 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 …]
/kernel/linux/linux-6.6/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)
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/drivers/scsi/mvsas/
Dmv_init.c157 struct sas_ha_struct *sha = (struct sas_ha_struct *)opaque; in mvs_tasklet() local
159 core_nr = ((struct mvs_prv_info *)sha->lldd_ha)->n_host; in mvs_tasklet()
160 mvi = ((struct mvs_prv_info *)sha->lldd_ha)->mvi[0]; in mvs_tasklet()
170 mvi = ((struct mvs_prv_info *)sha->lldd_ha)->mvi[i]; in mvs_tasklet()
183 struct sas_ha_struct *sha = opaque; in mvs_interrupt() local
188 core_nr = ((struct mvs_prv_info *)sha->lldd_ha)->n_host; in mvs_interrupt()
191 mvi = ((struct mvs_prv_info *)sha->lldd_ha)->mvi[0]; in mvs_interrupt()
208 tasklet_schedule(&((struct mvs_prv_info *)sha->lldd_ha)->mv_tasklet); in mvs_interrupt()
211 mvi = ((struct mvs_prv_info *)sha->lldd_ha)->mvi[i]; in mvs_interrupt()
352 struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost); in mvs_pci_alloc() local
[all …]
/kernel/linux/linux-6.6/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)
/kernel/linux/linux-6.6/drivers/scsi/mvsas/
Dmv_init.c154 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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-6.6/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)
/kernel/linux/linux-5.10/tools/perf/pmu-events/arch/s390/cf_z15/
Dcrypto.json34 "BriefDescription": "SHA Functions",
35 "PublicDescription": "Total number of SHA functions issued by the CPU"
41 "BriefDescription": "SHA Cycles",
42 …blicDescription": "Total number of CPU cycles when the SHA coprocessor is busy performing the SHA
48 "BriefDescription": "SHA Blocked Functions",
49 …ublicDescription": "Total number of the SHA functions that are issued by the CPU and are blocked b…
55 "BriefDescription": "SHA Bloced Cycles",
56 …iption": "Total number of CPU cycles blocked for the SHA functions issued by the CPU because the S…
/kernel/linux/linux-5.10/tools/perf/pmu-events/arch/s390/cf_z196/
Dcrypto.json34 "BriefDescription": "SHA Functions",
35 "PublicDescription": "Total number of SHA functions issued by the CPU"
41 "BriefDescription": "SHA Cycles",
42 …blicDescription": "Total number of CPU cycles when the SHA coprocessor is busy performing the SHA
48 "BriefDescription": "SHA Blocked Functions",
49 …ublicDescription": "Total number of the SHA functions that are issued by the CPU and are blocked b…
55 "BriefDescription": "SHA Bloced Cycles",
56 …iption": "Total number of CPU cycles blocked for the SHA functions issued by the CPU because the S…
/kernel/linux/linux-5.10/tools/perf/pmu-events/arch/s390/cf_z10/
Dcrypto.json34 "BriefDescription": "SHA Functions",
35 "PublicDescription": "Total number of SHA functions issued by the CPU"
41 "BriefDescription": "SHA Cycles",
42 …blicDescription": "Total number of CPU cycles when the SHA coprocessor is busy performing the SHA
48 "BriefDescription": "SHA Blocked Functions",
49 …ublicDescription": "Total number of the SHA functions that are issued by the CPU and are blocked b…
55 "BriefDescription": "SHA Bloced Cycles",
56 …iption": "Total number of CPU cycles blocked for the SHA functions issued by the CPU because the S…
/kernel/linux/linux-5.10/tools/perf/pmu-events/arch/s390/cf_z13/
Dcrypto.json34 "BriefDescription": "SHA Functions",
35 "PublicDescription": "Total number of SHA functions issued by the CPU"
41 "BriefDescription": "SHA Cycles",
42 …blicDescription": "Total number of CPU cycles when the SHA coprocessor is busy performing the SHA
48 "BriefDescription": "SHA Blocked Functions",
49 …ublicDescription": "Total number of the SHA functions that are issued by the CPU and are blocked b…
55 "BriefDescription": "SHA Bloced Cycles",
56 …iption": "Total number of CPU cycles blocked for the SHA functions issued by the CPU because the S…
/kernel/linux/linux-5.10/tools/perf/pmu-events/arch/s390/cf_zec12/
Dcrypto.json34 "BriefDescription": "SHA Functions",
35 "PublicDescription": "Total number of SHA functions issued by the CPU"
41 "BriefDescription": "SHA Cycles",
42 …blicDescription": "Total number of CPU cycles when the SHA coprocessor is busy performing the SHA
48 "BriefDescription": "SHA Blocked Functions",
49 …ublicDescription": "Total number of the SHA functions that are issued by the CPU and are blocked b…
55 "BriefDescription": "SHA Bloced Cycles",
56 …iption": "Total number of CPU cycles blocked for the SHA functions issued by the CPU because the S…
/kernel/linux/linux-5.10/tools/perf/pmu-events/arch/s390/cf_z14/
Dcrypto.json34 "BriefDescription": "SHA Functions",
35 "PublicDescription": "Total number of SHA functions issued by the CPU"
41 "BriefDescription": "SHA Cycles",
42 …blicDescription": "Total number of CPU cycles when the SHA coprocessor is busy performing the SHA
48 "BriefDescription": "SHA Blocked Functions",
49 …ublicDescription": "Total number of the SHA functions that are issued by the CPU and are blocked b…
55 "BriefDescription": "SHA Bloced Cycles",
56 …iption": "Total number of CPU cycles blocked for the SHA functions issued by the CPU because the S…
/kernel/linux/linux-5.10/arch/arm64/crypto/
DKconfig13 tristate "SHA-224/SHA-256 digest algorithm for arm64"
17 tristate "SHA-384/SHA-512 digest algorithm for arm64"
21 tristate "SHA-1 digest algorithm (ARMv8 Crypto Extensions)"
27 tristate "SHA-224/SHA-256 digest algorithm (ARMv8 Crypto Extensions)"
33 tristate "SHA-384/SHA-512 digest algorithm (ARMv8 Crypto Extensions)"

12345678910>>...20