Home
last modified time | relevance | path

Searched full:sha1 (Results 1 – 25 of 254) sorted by relevance

1234567891011

/linux-6.14.4/arch/x86/crypto/
Dsha1_ssse3_glue.c5 * Glue code for the SHA1 Secure Hash Algorithm assembler implementations
25 #include <crypto/sha1.h>
51 * Make sure struct sha1_state begins directly with the SHA1 in sha1_update()
107 .cra_name = "sha1",
108 .cra_driver_name = "sha1-ssse3",
156 .cra_name = "sha1",
157 .cra_driver_name = "sha1-avx",
188 #define SHA1_AVX2_BLOCK_OPTSIZE 4 /* optimal 4*64 bytes of SHA1 blocks */
238 .cra_name = "sha1",
239 .cra_driver_name = "sha1-avx2",
[all …]
/linux-6.14.4/arch/arm/crypto/
DMakefile8 obj-$(CONFIG_CRYPTO_SHA1_ARM) += sha1-arm.o
9 obj-$(CONFIG_CRYPTO_SHA1_ARM_NEON) += sha1-arm-neon.o
20 obj-$(CONFIG_CRYPTO_SHA1_ARM_CE) += sha1-arm-ce.o
26 sha1-arm-y := sha1-armv4-large.o sha1_glue.o
27 sha1-arm-neon-y := sha1-armv7-neon.o sha1_neon_glue.o
34 sha1-arm-ce-y := sha1-ce-core.o sha1-ce-glue.o
Dsha1_glue.c4 * Glue code for the SHA1 Secure Hash Algorithm assembler implementation
18 #include <crypto/sha1.h>
22 #include "sha1.h"
59 .cra_name = "sha1",
60 .cra_driver_name= "sha1-asm",
84 MODULE_DESCRIPTION("SHA1 Secure Hash Algorithm (ARM)");
85 MODULE_ALIAS_CRYPTO("sha1");
Dsha1-ce-glue.c3 * sha1-ce-glue.c - SHA-1 secure hash using ARMv8 Crypto Extensions
10 #include <crypto/sha1.h>
20 #include "sha1.h"
22 MODULE_DESCRIPTION("SHA1 secure hash using ARMv8 Crypto Extensions");
73 .cra_name = "sha1",
74 .cra_driver_name = "sha1-ce",
91 module_cpu_feature_match(SHA1, sha1_ce_mod_init);
Dsha1_neon_glue.c3 * Glue code for the SHA1 Secure Hash Algorithm assembler implementation using
22 #include <crypto/sha1.h>
27 #include "sha1.h"
76 .cra_name = "sha1",
77 .cra_driver_name = "sha1-neon",
101 MODULE_DESCRIPTION("SHA1 Secure Hash Algorithm, NEON accelerated");
102 MODULE_ALIAS_CRYPTO("sha1");
/linux-6.14.4/arch/powerpc/crypto/
DMakefile10 obj-$(CONFIG_CRYPTO_SHA1_PPC) += sha1-powerpc.o
11 obj-$(CONFIG_CRYPTO_SHA1_PPC_SPE) += sha1-ppc-spe.o
21 sha1-powerpc-y := sha1-powerpc-asm.o sha1.o
22 sha1-ppc-spe-y := sha1-spe-asm.o sha1-spe-glue.o
Dsha1.c5 * powerpc implementation of the SHA1 Secure Hash Algorithm.
10 * Derived from "crypto/sha1.c"
20 #include <crypto/sha1.h>
115 .cra_name = "sha1",
116 .cra_driver_name= "sha1-powerpc",
136 MODULE_DESCRIPTION("SHA1 Secure Hash Algorithm");
138 MODULE_ALIAS_CRYPTO("sha1");
139 MODULE_ALIAS_CRYPTO("sha1-powerpc");
Dsha1-spe-glue.c15 #include <crypto/sha1.h>
23 * between preempt_disable() and preempt_enable(). SHA1 takes ~1000
166 .cra_name = "sha1",
167 .cra_driver_name= "sha1-ppc-spe",
188 MODULE_DESCRIPTION("SHA1 Secure Hash Algorithm, SPE optimized");
190 MODULE_ALIAS_CRYPTO("sha1");
191 MODULE_ALIAS_CRYPTO("sha1-ppc-spe");
/linux-6.14.4/crypto/
Dsha1_generic.c5 * SHA1 Secure Hash Algorithm.
19 #include <crypto/sha1.h>
71 .cra_name = "sha1",
72 .cra_driver_name= "sha1-generic",
93 MODULE_DESCRIPTION("SHA1 Secure Hash Algorithm");
95 MODULE_ALIAS_CRYPTO("sha1");
96 MODULE_ALIAS_CRYPTO("sha1-generic");
/linux-6.14.4/arch/sparc/crypto/
Dsha1_glue.c2 /* Glue code for SHA1 hashing optimized for sparc64 crypto opcodes.
19 #include <crypto/sha1.h>
129 .cra_name = "sha1",
130 .cra_driver_name= "sha1-sparc64",
154 pr_info("Using sparc64 sha1 opcode optimized SHA-1 implementation\n"); in sha1_sparc64_mod_init()
157 pr_info("sparc64 sha1 opcode not available.\n"); in sha1_sparc64_mod_init()
170 MODULE_DESCRIPTION("SHA1 Secure Hash Algorithm, sparc64 sha1 opcode accelerated");
172 MODULE_ALIAS_CRYPTO("sha1");
/linux-6.14.4/arch/arm64/crypto/
Dsha1-ce-glue.c3 * sha1-ce-glue.c - SHA-1 secure hash using ARMv8 Crypto Extensions
13 #include <crypto/sha1.h>
19 MODULE_DESCRIPTION("SHA1 secure hash using ARMv8 Crypto Extensions");
22 MODULE_ALIAS_CRYPTO("sha1");
129 .cra_name = "sha1",
130 .cra_driver_name = "sha1-ce",
147 module_cpu_feature_match(SHA1, sha1_ce_mod_init);
DMakefile8 obj-$(CONFIG_CRYPTO_SHA1_ARM64_CE) += sha1-ce.o
9 sha1-ce-y := sha1-ce-glue.o sha1-ce-core.o
Dsha1-ce-core.S3 * sha1-ce-core.S - SHA-1 secure hash using ARMv8 Crypto Extensions
39 sha1\op dg0q, \dg1, t0.4s
41 sha1\op dg0q, dg1s, t0.4s
48 sha1\op dg0q, dg2s, t1.4s
/linux-6.14.4/arch/s390/crypto/
Dsha1_s390.c5 * s390 implementation of the SHA1 Secure Hash Algorithm.
25 #include <crypto/sha1.h>
78 .cra_name = "sha1",
79 .cra_driver_name= "sha1-s390",
101 MODULE_ALIAS_CRYPTO("sha1");
103 MODULE_DESCRIPTION("SHA1 Secure Hash Algorithm");
/linux-6.14.4/drivers/net/ppp/
Dppp_mppe.c37 * Use Linux kernel 2.6 arc4 and sha1 routines rather than
93 struct shash_desc *sha1; member
133 crypto_shash_init(state->sha1); in get_new_key_from_sha()
134 crypto_shash_update(state->sha1, state->master_key, in get_new_key_from_sha()
136 crypto_shash_update(state->sha1, sha_pad->sha_pad1, in get_new_key_from_sha()
138 crypto_shash_update(state->sha1, state->session_key, in get_new_key_from_sha()
140 crypto_shash_update(state->sha1, sha_pad->sha_pad2, in get_new_key_from_sha()
142 crypto_shash_final(state->sha1, state->sha1_digest); in get_new_key_from_sha()
187 shash = crypto_alloc_shash("sha1", 0, 0); in mppe_alloc()
191 state->sha1 = kmalloc(sizeof(*state->sha1) + in mppe_alloc()
[all …]
/linux-6.14.4/drivers/crypto/
Dpadlock-sha.c12 #include <crypto/sha1.h>
234 .cra_name = "sha1",
235 .cra_driver_name = "sha1-padlock",
467 .cra_name = "sha1",
468 .cra_driver_name = "sha1-padlock-nano",
503 struct shash_alg *sha1; in padlock_init() local
512 sha1 = &sha1_alg; in padlock_init()
515 sha1 = &sha1_alg_nano; in padlock_init()
519 rc = crypto_register_shash(sha1); in padlock_init()
527 printk(KERN_NOTICE PFX "Using VIA PadLock ACE for SHA1/SHA256 algorithms.\n"); in padlock_init()
[all …]
DKconfig42 tristate "PadLock driver for SHA1 and SHA256 algorithms"
48 Use VIA PadLock for SHA1/SHA256 algorithms.
312 tristate "Support for OMAP MD5/SHA1/SHA2 hw accelerator"
321 OMAP processors have MD5/SHA1/SHA2 hw accelerator. Select this if you
322 want to use the OMAP module for MD5/SHA1/SHA2 algorithms.
397 Select this to offload Exynos from HASH MD5/SHA1/SHA256.
398 This will select software SHA1, MD5 and SHA256 as they are
460 Some Atmel processors have SHA1/SHA224/SHA256/SHA384/SHA512
463 SHA1/SHA224/SHA256/SHA384/SHA512 algorithms.
522 The Freescale i.MX23/i.MX28 has SHA1/SHA256 and AES128 CBC/ECB
[all …]
/linux-6.14.4/net/sctp/
DKconfig66 bool "Enable optional SHA1 hmac cookie generation"
68 Enable optional SHA1 hmac based SCTP cookie generation
86 bool "Enable optional SHA1 hmac cookie generation"
88 Enable optional SHA1 hmac based SCTP cookie generation
/linux-6.14.4/arch/mips/cavium-octeon/crypto/
Docteon-sha1.c5 * SHA1 Secure Hash Algorithm.
17 #include <crypto/sha1.h>
114 * Small updates never reach the crypto engine, so the generic sha1 is in octeon_sha1_update()
198 .cra_name = "sha1",
199 .cra_driver_name= "octeon-sha1",
222 MODULE_DESCRIPTION("SHA1 Secure Hash Algorithm (OCTEON)");
Docteon-crypto.h8 * MD5/SHA1/SHA256/SHA512 instruction definitions added by
25 * Macros needed to implement MD5/SHA1/SHA256:
29 * The index can be 0-1 (MD5) or 0-2 (SHA1), 0-3 (SHA256).
40 * The index can be 0-1 (MD5) or 0-2 (SHA1), 0-3 (SHA256).
/linux-6.14.4/drivers/crypto/caam/
Dkey_gen.h11 * @hash: Hashing algorithm selection, one of OP_ALG_ALGSEL_* - MD5, SHA1,
18 /* Sizes for MDHA pads (*not* keys): MD5, SHA1, 224, 256, 384, 512 */ in split_key_len()
29 * @hash: Hashing algorithm selection, one of OP_ALG_ALGSEL_* - MD5, SHA1,
/linux-6.14.4/lib/crypto/
Dsha1.c3 * SHA1 routine optimized to do word accesses rather than byte accesses,
6 * This was based on the git SHA1 implementation.
14 #include <crypto/sha1.h>
70 * sha1_transform - single block SHA1 transform (deprecated)
127 * sha1_init - initialize the vectors for a SHA1 digest
/linux-6.14.4/tools/testing/selftests/net/
Dvrf-xfrm-tests.sh262 auth-trunc 'hmac(sha1)' ${AUTH_1} 96 \
269 auth-trunc 'hmac(sha1)' ${AUTH_1} 96 \
277 auth-trunc 'hmac(sha1)' ${AUTH_2} 96 \
284 auth-trunc 'hmac(sha1)' ${AUTH_2} 96 \
292 auth-trunc 'hmac(sha1)' ${AUTH_1} 96 \
299 auth-trunc 'hmac(sha1)' ${AUTH_1} 96 \
307 auth-trunc 'hmac(sha1)' ${AUTH_2} 96 \
314 auth-trunc 'hmac(sha1)' ${AUTH_2} 96 \
/linux-6.14.4/arch/mips/generic/
Dboard-ocelot.its.S11 algo = "sha1";
22 algo = "sha1";
Dboard-jaguar2.its.S11 algo = "sha1";
21 algo = "sha1";

1234567891011