Home
last modified time | relevance | path

Searched +full:sha +full:- +full:1 (Results 1 – 25 of 182) sorted by relevance

12345678

/Linux-v6.1/arch/arm/crypto/
DKconfig1 # SPDX-License-Identifier: GPL-2.0
14 - NEON (Advanced SIMD) extensions
23 GCM GHASH function (NIST SP800-38D)
26 - PMULL (Polynomial Multiply Long) instructions
27 - NEON (Advanced SIMD) extensions
28 - ARMv8 Crypto Extensions
43 - NEON (Advanced SIMD) extensions
53 - NEON (Advanced SIMD) extensions
76 - NEON (Advanced SIMD) extensions
81 much faster than the SHA-2 family and slightly faster than
[all …]
/Linux-v6.1/drivers/scsi/mvsas/
Dmv_init.c1 // SPDX-License-Identifier: GPL-2.0-only
7 * Copyright 2009-2011 Marvell. <yuxiangl@marvell.com>
17 [chip_6320] = { 1, 2, 0x400, 17, 16, 6, 9, &mvs_64xx_dispatch, },
18 [chip_6440] = { 1, 4, 0x400, 17, 16, 6, 9, &mvs_64xx_dispatch, },
19 [chip_6485] = { 1, 8, 0x800, 33, 32, 6, 10, &mvs_64xx_dispatch, },
22 [chip_9445] = { 1, 4, 0x800, 17, 64, 8, 11, &mvs_94xx_dispatch, },
24 [chip_1300] = { 1, 4, 0x400, 17, 16, 6, 9, &mvs_64xx_dispatch, },
43 .can_queue = 1,
44 .this_id = -1,
56 .track_queue_depth = 1,
[all …]
Dmv_sas.c1 // SPDX-License-Identifier: GPL-2.0-only
7 * Copyright 2009-2011 Marvell. <yuxiangl@marvell.com>
14 if (task->lldd_task) { in mvs_find_tag()
16 slot = task->lldd_task; in mvs_find_tag()
17 *tag = slot->slot_tag; in mvs_find_tag()
18 return 1; in mvs_find_tag()
25 void *bitmap = mvi->tags; in mvs_tag_clear()
36 void *bitmap = mvi->tags; in mvs_tag_set()
43 void *bitmap = mvi->tags; in mvs_tag_alloc()
45 index = find_first_zero_bit(bitmap, mvi->tags_num); in mvs_tag_alloc()
[all …]
/Linux-v6.1/drivers/crypto/ccp/
Dccp-crypto-sha.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * AMD Cryptographic Coprocessor (CCP) SHA crypto API support
25 #include "ccp-crypto.h"
37 if (rctx->hash_rem) { in ccp_sha_complete()
39 unsigned int offset = rctx->nbytes - rctx->hash_rem; in ccp_sha_complete()
41 scatterwalk_map_and_copy(rctx->buf, rctx->src, in ccp_sha_complete()
42 offset, rctx->hash_rem, 0); in ccp_sha_complete()
43 rctx->buf_count = rctx->hash_rem; in ccp_sha_complete()
45 rctx->buf_count = 0; in ccp_sha_complete()
49 if (req->result && rctx->final) in ccp_sha_complete()
[all …]
Dccp-ops.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2013-2019 Advanced Micro Devices, Inc.
11 #include <linux/dma-mapping.h>
19 #include "ccp-dev.h"
21 /* SHA initial context values */
56 #define CCP_NEW_JOBID(ccp) ((ccp->vdata->version == CCP_VERSION(3, 0)) ? \
61 return atomic_inc_return(&ccp->current_id) & CCP_JOBID_MASK; in ccp_gen_jobid()
66 if (wa->dma_count) in ccp_sg_free()
67 dma_unmap_sg(wa->dma_dev, wa->dma_sg_head, wa->nents, wa->dma_dir); in ccp_sg_free()
69 wa->dma_count = 0; in ccp_sg_free()
[all …]
/Linux-v6.1/arch/mips/crypto/
DKconfig1 # SPDX-License-Identifier: GPL-2.0
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)
69 Length-preserving ciphers: ChaCha20, XChaCha20, and XChaCha12
/Linux-v6.1/arch/sparc/crypto/
DKconfig1 # SPDX-License-Identifier: GPL-2.0
12 Block cipher: DES (FIPS 46-2) cipher algorithm
13 Block cipher: Triple DES EDE (FIPS 46-3) cipher algorithm
14 Length-preserving ciphers: DES with ECB and CBC modes
15 Length-preserving ciphers: Tripe DES EDE with ECB and CBC modes
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"
[all …]
Dsha512_glue.c1 // SPDX-License-Identifier: GPL-2.0-only
6 * Copyright (c) Jean-Luc Cooke <jlcooke@certainkey.com>
34 if ((sctx->count[0] += len) < len) in __sha512_sparc64_update()
35 sctx->count[1]++; in __sha512_sparc64_update()
37 done = SHA512_BLOCK_SIZE - partial; in __sha512_sparc64_update()
38 memcpy(sctx->buf + partial, data, done); in __sha512_sparc64_update()
39 sha512_sparc64_transform(sctx->state, sctx->buf, 1); in __sha512_sparc64_update()
41 if (len - done >= SHA512_BLOCK_SIZE) { in __sha512_sparc64_update()
42 const unsigned int rounds = (len - done) / SHA512_BLOCK_SIZE; in __sha512_sparc64_update()
44 sha512_sparc64_transform(sctx->state, data + done, rounds); in __sha512_sparc64_update()
[all …]
/Linux-v6.1/arch/arm64/crypto/
DKconfig1 # SPDX-License-Identifier: GPL-2.0
13 GCM GHASH function (NIST SP800-38D)
16 - ARMv8 Crypto Extensions
26 - NEON (Advanced SIMD) extensions
37 - NEON (Advanced SIMD) extensions
40 tristate "Hash functions: SHA-1 (ARMv8 Crypto Extensions)"
45 SHA-1 secure hash algorithm (FIPS 180)
48 - ARMv8 Crypto Extensions
51 tristate "Hash functions: SHA-224 and SHA-256"
54 SHA-224 and SHA-256 secure hash algorithms (FIPS 180)
[all …]
/Linux-v6.1/arch/powerpc/crypto/
DKconfig1 # SPDX-License-Identifier: GPL-2.0
14 - AltiVec extensions
26 - AltiVec extensions
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)
62 - SPE (Signal Processing Engine) extensions
65 tristate "Hash functions: SHA-224 and SHA-256 (SPE)"
70 SHA-224 and SHA-256 secure hash algorithms (FIPS 180)
[all …]
/Linux-v6.1/arch/s390/crypto/
DKconfig1 # SPDX-License-Identifier: GPL-2.0
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)
51 tristate "Hash functions: SHA3-224 and SHA3-256"
55 SHA3-224 and SHA3-256 secure hash algorithms (FIPS 202)
62 tristate "Hash functions: SHA3-384 and SHA3-512"
[all …]
/Linux-v6.1/drivers/scsi/pm8001/
Dpm8001_ctl.c2 * PMC-Sierra 8001/8081/8088/8089 SAS/SATA based host adapters driver
4 * Copyright (c) 2008-2009 USI Co., Ltd.
10 * 1. Redistributions of source code must retain the above copyright
18 * 3. Neither the names of the above-listed copyright holders nor the names
49 * pm8001_ctl_mpi_interface_rev_show - MPI interface revision number
54 * A sysfs 'read-only' shost attribute.
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()
63 if (pm8001_ha->chip_id == chip_8001) { in pm8001_ctl_mpi_interface_rev_show()
65 pm8001_ha->main_cfg_tbl.pm8001_tbl.interface_rev); in pm8001_ctl_mpi_interface_rev_show()
[all …]
Dpm8001_init.c2 * PMC-Sierra PM8001/8081/8088/8089 SAS/SATA based host adapters driver
4 * Copyright (c) 2008-2009 USI Co., Ltd.
10 * 1. Redistributions of source code must retain the above copyright
18 * 3. Neither the names of the above-listed copyright holders nor the names
53 " 1: Link rate 1.5G\n"
68 [chip_8009] = {1, 8, &pm8001_80xx_dispatch,},
70 [chip_8019] = {1, 16, &pm8001_80xx_dispatch,},
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()
88 struct blk_mq_queue_map *qmap = &shost->tag_set.map[HCTX_TYPE_DEFAULT]; in pm8001_map_queues()
[all …]
/Linux-v6.1/include/crypto/
Dsha1.h1 /* SPDX-License-Identifier: GPL-2.0 */
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/
Datmel,at91sam9g46-sha.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 ---
5 $id: http://devicetree.org/schemas/crypto/atmel,at91sam9g46-sha.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: Atmel Secure Hash Algorithm (SHA) HW cryptographic accelerator
11 - Tudor Ambarus <tudor.ambarus@microchip.com>
15 const: atmel,at91sam9g46-sha
18 maxItems: 1
21 maxItems: 1
24 maxItems: 1
[all …]
Dsamsung-slimsss.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/crypto/samsung-slimsss.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Krzysztof Kozlowski <krzk@kernel.org>
14 -- Feeder (FeedCtrl)
15 -- Advanced Encryption Standard (AES) with ECB,CBC,CTR,XTS and (CBC/XTS)/CTS
16 -- SHA-1/SHA-256 and (SHA-1/SHA-256)/HMAC
21 - const: samsung,exynos5433-slim-sss
24 maxItems: 1
[all …]
Dsamsung-sss.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/crypto/samsung-sss.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Krzysztof Kozlowski <krzk@kernel.org>
14 -- Feeder (FeedCtrl)
15 -- Advanced Encryption Standard (AES)
16 -- Data Encryption Standard (DES)/3DES
17 -- Public Key Accelerator (PKA)
18 -- SHA-1/SHA-256/MD5/HMAC (SHA-1/SHA-256/MD5)/PRNG
[all …]
/Linux-v6.1/arch/x86/crypto/
DKconfig1 # SPDX-License-Identifier: GPL-2.0
14 - ADX (large integer arithmetic)
17 tristate "Ciphers: AES, modes: ECB, CBC, CTS, CTR, XTR, XTS, GCM (AES-NI)"
27 Length-preserving ciphers: AES with ECB, CBC, CTS, CTR, XTR, XTS
29 Architecture: x86 (32-bit and 64-bit) using:
30 - AES-NI (AES new instructions)
40 Length-preserving ciphers: Blowfish with ECB and CBC modes
51 Length-preserving ciphers: Camellia with ECB and CBC modes
56 tristate "Ciphers: Camellia with modes: ECB, CBC (AES-NI/AVX)"
63 Length-preserving ciphers: Camellia with ECB and CBC modes
[all …]
/Linux-v6.1/net/netfilter/
Dnf_conntrack_proto_sctp.c1 // SPDX-License-Identifier: GPL-2.0-only
6 * Copyright (c) 2004-2012 Patrick McHardy <kaber@trash.net>
31 closely. They're more complex. --RR
33 And so for me for SCTP :D -Kiran */
65 #define SCTP_FLAG_HEARTBEAT_VTAG_FAILED 1
76 #define sHA SCTP_CONNTRACK_HEARTBEAT_ACKED macro
85 point. Please note the subtleties. -Kiran
87 NONE - Nothing so far.
88 COOKIE WAIT - We have seen an INIT chunk in the original direction, or also
90 COOKIE ECHOED - We have seen a COOKIE_ECHO chunk in the original direction.
[all …]
/Linux-v6.1/drivers/crypto/aspeed/
DKconfig32 SHA-1, SHA-224, SHA-256, SHA-384, SHA-512, and so on.
47 Supports AES/DES symmetric-key encryption and decryption
/Linux-v6.1/include/linux/
Dccp.h1 /* SPDX-License-Identifier: GPL-2.0-only */
27 * ccp_present - check if a CCP device is present
29 * Returns zero if a CCP device is present, -ENODEV otherwise.
34 #define CCP_VMASK ((unsigned int)((1 << CCP_VSIZE) - 1))
39 * ccp_version - get the version of the CCP
46 * ccp_enqueue_cmd - queue an operation for processing by the CCP
55 * result in a return code of -EBUSY.
61 * will be -EINPROGRESS. Any other "err" value during callback is
65 * the return code is -EINPROGRESS or
66 * the return code is -EBUSY and CCP_CMD_MAY_BACKLOG flag is set
[all …]
/Linux-v6.1/Documentation/admin-guide/
Dmodule-signing.rst2 ------------------------------
6 .. - Overview.
7 .. - Configuring module signing.
8 .. - Generating signing keys.
9 .. - Public keys in the kernel.
10 .. - Manually signing modules.
11 .. - Signed modules and stripping.
12 .. - Loading signed modules.
13 .. - Non-valid signatures and unsigned modules.
14 .. - Administering/protecting the private key.
[all …]
/Linux-v6.1/arch/s390/purgatory/
Dhead.S1 /* SPDX-License-Identifier: GPL-2.0 */
11 #include <asm/asm-offsets.h>
24 * sha digest. So if the crash kernel got corrupted the old kernel can try
25 * to trigger a stand-alone dumper. And once to actually load the crash kernel.
34 #define bufsz purgatory_end-stack
69 lg %r4,kernel_entry-\base(%r13)
70 lg %r5,load_psw_mask-\base(%r13)
85 lhi %r1,1
96 larl %r15,purgatory_end-STACK_FRAME_OVERHEAD
100 * checksum verification only (%r2 = 0 -> verification only).
[all …]
/Linux-v6.1/crypto/
DKconfig1 # SPDX-License-Identifier: GPL-2.0
162 bool "Disable run-time self tests"
165 Disable run-time self tests that normally take place at
169 bool "Enable extra run-time crypto self tests"
172 Enable extra run-time self tests of registered crypto algorithms,
241 menu "Public-key cryptography"
244 tristate "RSA (Rivest-Shamir-Adleman)"
250 RSA (Rivest-Shamir-Adleman) public key algorithm (RFC8017)
253 tristate "DH (Diffie-Hellman)"
257 DH (Diffie-Hellman) key exchange algorithm
[all …]
/Linux-v6.1/drivers/scsi/hisi_sas/
Dhisi_sas_main.c1 // SPDX-License-Identifier: GPL-2.0-or-later
11 ((!dev) || (dev->dev_type == SAS_PHY_UNUSED))
26 switch (fis->command) { in hisi_sas_get_ata_protocol()
79 switch (fis->features) { in hisi_sas_get_ata_protocol()
105 struct task_status_struct *ts = &task->task_status; in hisi_sas_sata_done()
106 struct ata_task_resp *resp = (struct ata_task_resp *)ts->buf; in hisi_sas_sata_done()
109 u8 *iu = &status_buf->iu[0]; in hisi_sas_sata_done()
112 resp->frame_len = sizeof(struct dev_to_host_fis); in hisi_sas_sata_done()
113 memcpy(&resp->ending_fis[0], d2h, sizeof(struct dev_to_host_fis)); in hisi_sas_sata_done()
115 ts->buf_valid_size = sizeof(*resp); in hisi_sas_sata_done()
[all …]

12345678