Home
last modified time | relevance | path

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

12345678

/linux/drivers/scsi/mvsas/
H A Dmv_init.c139 struct sas_ha_struct *sha = (struct sas_ha_struct *)opaque; in mvs_tasklet() local
141 core_nr = ((struct mvs_prv_info *)sha->lldd_ha)->n_host; in mvs_tasklet()
142 mvi = ((struct mvs_prv_info *)sha->lldd_ha)->mvi[0]; in mvs_tasklet()
152 mvi = ((struct mvs_prv_info *)sha->lldd_ha)->mvi[i]; in mvs_tasklet()
165 struct sas_ha_struct *sha = opaque; in mvs_interrupt() local
170 core_nr = ((struct mvs_prv_info *)sha->lldd_ha)->n_host; in mvs_interrupt()
173 mvi = ((struct mvs_prv_info *)sha->lldd_ha)->mvi[0]; in mvs_interrupt()
190 tasklet_schedule(&((struct mvs_prv_info *)sha->lldd_ha)->mv_tasklet); in mvs_interrupt()
193 mvi = ((struct mvs_prv_info *)sha->lldd_ha)->mvi[i]; in mvs_interrupt()
331 struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost); in mvs_pci_alloc() local
[all …]
H A Dmv_sas.c60 struct sas_ha_struct *sha = dev->port->ha; in mvs_find_dev_mvi() local
64 while (sha->sas_port[i]) { in mvs_find_dev_mvi()
65 if (sha->sas_port[i] == dev->port) { in mvs_find_dev_mvi()
66 spin_lock(&sha->sas_port[i]->phy_list_lock); in mvs_find_dev_mvi()
67 phy = container_of(sha->sas_port[i]->phy_list.next, in mvs_find_dev_mvi()
69 spin_unlock(&sha->sas_port[i]->phy_list_lock); in mvs_find_dev_mvi()
71 while (sha->sas_phy[j]) { in mvs_find_dev_mvi()
72 if (sha->sas_phy[j] == phy) in mvs_find_dev_mvi()
80 hi = j/((struct mvs_prv_info *)sha->lldd_ha)->n_phy; in mvs_find_dev_mvi()
81 mvi = ((struct mvs_prv_info *)sha->lldd_ha)->mvi[hi]; in mvs_find_dev_mvi()
[all …]
/linux/tools/perf/pmu-events/arch/s390/cf_z14/
H A 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/tools/perf/pmu-events/arch/s390/cf_z13/
H A 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/tools/perf/pmu-events/arch/s390/cf_z10/
H A 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/tools/perf/pmu-events/arch/s390/cf_zec12/
H A 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/tools/perf/pmu-events/arch/s390/cf_z196/
H A 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/tools/perf/pmu-events/arch/s390/cf_z16/
H A 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/tools/perf/pmu-events/arch/s390/cf_z15/
H A 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/tools/perf/pmu-events/arch/s390/cf_z17/
H A 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 …]
H A Dpai_crypto.json510 "BriefDescription": "KIMD SHA 1",
511 "PublicDescription": "KIMD-SHA-1 function ending with CC=0"
517 "BriefDescription": "KIMD SHA 256",
518 "PublicDescription": "KIMD-SHA-256 function ending with CC=0"
524 "BriefDescription": "KIMD SHA 512",
525 "PublicDescription": "KIMD-SHA-512 function ending with CC=0"
580 "BriefDescription": "KLMD SHA 1",
581 "PublicDescription": "KLMD-SHA-1 function ending with CC=0"
587 "BriefDescription": "KLMD SHA 256",
588 "PublicDescription": "KLMD-SHA-256 function ending with CC=0"
[all …]
/linux/include/crypto/
H A Dsha2.h3 * Common values for SHA-2 algorithms
117 /* State for the SHA-256 (and SHA-224) compression function */
123 * Context structure, shared by SHA-224 and SHA-256. The sha224_ctx and
125 * doesn't allow mixing the SHA-224 and SHA-256 functions arbitrarily.
151 * struct sha224_ctx - Context for hashing a message with SHA-224
159 * sha224_init() - Initialize a SHA-224 context for a new message
169 * sha224_update() - Update a SHA-224 context with message data
185 * sha224_final() - Finish computing a SHA-224 message digest
187 * @out: (output) the resulting SHA-224 message digest
196 * sha224() - Compute SHA-224 message digest in one shot
[all …]
/linux/Documentation/crypto/
H A Dlibcrypto-hash.rst60 SHA-1
63 This API provides support for the SHA-1 cryptographic hash function and
69 SHA-2
72 This API provides support for the SHA-2 family of cryptographic hash functions,
73 including SHA-224, SHA-256, SHA-384, and SHA-512. This also includes their
78 SHA-3
81 The SHA-3 API is documented in :ref:`sha3`.
/linux/arch/s390/crypto/
H A Dhmac_s390.c116 param.sha##x.h[0] = SHA##y ## _H0; \ in hash_data()
117 param.sha##x.h[1] = SHA##y ## _H1; \ in hash_data()
118 param.sha##x.h[2] = SHA##y ## _H2; \ in hash_data()
119 param.sha##x.h[3] = SHA##y ## _H3; \ in hash_data()
120 param.sha##x.h[4] = SHA##y ## _H4; \ in hash_data()
121 param.sha##x.h[5] = SHA##y ## _H5; \ in hash_data()
122 param.sha##x.h[6] = SHA##y ## _H6; \ in hash_data()
123 param.sha##x.h[7] = SHA##y ## _H7; \ in hash_data()
124 param.sha##x.mbl = (z) in hash_data()
351 .digestsize = SHA##x##_DIGEST_SIZE, \
[all …]
H A Dphmac_s390.c220 param.sha##x.h[0] = SHA##y ## _H0; \ in hash_key()
221 param.sha##x.h[1] = SHA##y ## _H1; \ in hash_key()
222 param.sha##x.h[2] = SHA##y ## _H2; \ in hash_key()
223 param.sha##x.h[3] = SHA##y ## _H3; \ in hash_key()
224 param.sha##x.h[4] = SHA##y ## _H4; \ in hash_key()
225 param.sha##x.h[5] = SHA##y ## _H5; \ in hash_key()
226 param.sha##x.h[6] = SHA##y ## _H6; \ in hash_key()
227 param.sha##x.h[7] = SHA##y ## _H7; \ in hash_key()
228 param.sha##x.mbl = (z) in hash_key()
950 .digestsize = SHA##x##_DIGEST_SIZE, \
[all …]
/linux/drivers/crypto/aspeed/
H A DKconfig32 SHA-1, SHA-224, SHA-256, SHA-384, SHA-512, and so on.
/linux/drivers/scsi/pm8001/
H A Dpm8001_init.c103 struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost); in pm8001_map_queues() local
104 struct pm8001_hba_info *pm8001_ha = sha->lldd_ha; in pm8001_map_queues()
298 struct sas_ha_struct *sha = dev_id; in pm8001_interrupt_handler_intx() local
299 struct pm8001_hba_info *pm8001_ha = sha->lldd_ha; in pm8001_interrupt_handler_intx()
539 struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost); in pm8001_pci_alloc() local
541 pm8001_ha = sha->lldd_ha; in pm8001_pci_alloc()
550 pm8001_ha->sas = sha; in pm8001_pci_alloc()
611 struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost); in pm8001_prep_sas_ha_init() local
615 memset(sha, 0x00, sizeof(*sha)); in pm8001_prep_sas_ha_init()
623 sha->sas_phy = arr_phy; in pm8001_prep_sas_ha_init()
[all …]
/linux/include/linux/
H A 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/drivers/crypto/ccp/
H A Dccp-ops.c22 /* SHA initial context values */
1501 struct ccp_sha_engine *sha = &cmd->u.sha; in ccp_run_sha_cmd() local
1513 switch (sha->type) { in ccp_run_sha_cmd()
1515 if (sha->ctx_len < SHA1_DIGEST_SIZE) in ccp_run_sha_cmd()
1520 if (sha->ctx_len < SHA224_DIGEST_SIZE) in ccp_run_sha_cmd()
1525 if (sha->ctx_len < SHA256_DIGEST_SIZE) in ccp_run_sha_cmd()
1531 || sha->ctx_len < SHA384_DIGEST_SIZE) in ccp_run_sha_cmd()
1537 || sha->ctx_len < SHA512_DIGEST_SIZE) in ccp_run_sha_cmd()
1545 if (!sha->ctx) in ccp_run_sha_cmd()
1548 if (!sha->final && (sha->src_len & (block_size - 1))) in ccp_run_sha_cmd()
[all …]
/linux/Documentation/devicetree/bindings/crypto/
H A Dsamsung-slimsss.yaml16 -- SHA-1/SHA-256 and (SHA-1/SHA-256)/HMAC
H A Dsamsung-sss.yaml18 -- SHA-1/SHA-256/MD5/HMAC (SHA-1/SHA-256/MD5)/PRNG
/linux/Documentation/ABI/testing/
H A Ddebugfs-pfo-nx-crypto36 The total number of bytes hashed by the hardware using SHA-256.
39 The total number of SHA-256 operations submitted to the hardware.
42 The total number of bytes hashed by the hardware using SHA-512.
45 The total number of SHA-512 operations submitted to the hardware.
/linux/tools/testing/selftests/bpf/progs/
H A Dverifier_map_ptr.c74 * struct bpf_map starts with the SHA256 hash sha[32] at offset 0 (a readable
101 * The sha byte array spans offsets 0..31 (mend 32). Reading a u32 at offset
102 * 30 starts inside sha but extends past its end, which the verifier rejects
106 __description("bpf_map_ptr: read beyond sha field rejected")
108 __msg("access beyond the end of member sha (mend:32) in struct bpf_map with off 30 size 4")
/linux/lib/crypto/x86/
H A Dsha1-ni-asm.S2 * Intel SHA Extensions optimized implementation of a SHA-1 update function
97 * Intel SHA Extensions optimized implementation of a SHA-1 block function
99 * This function takes a pointer to the current SHA-1 state, a pointer to the
/linux/Documentation/translations/zh_CN/admin-guide/
H A Dmodule-signing.rst37 用的可能的哈希算法是大小为 256、384 和 512 的 SHA-2 和 SHA-3(算法由签名中的
79 ``CONFIG_MODULE_SIG_SHA256`` :menuselection:`Sign modules with SHA-256`
80 ``CONFIG_MODULE_SIG_SHA384`` :menuselection:`Sign modules with SHA-384`
81 ``CONFIG_MODULE_SIG_SHA512`` :menuselection:`Sign modules with SHA-512`

12345678