Home
last modified time | relevance | path

Searched full:md5 (Results 1 – 25 of 287) sorted by relevance

12345678910>>...12

/kernel/linux/linux-6.6/arch/sparc/crypto/
Dmd5_glue.c2 /* Glue code for MD5 hashing optimized for sparc64 crypto opcodes.
5 * and crypto/md5.c which are:
22 #include <crypto/md5.h>
145 .cra_name = "md5",
146 .cra_driver_name= "md5-sparc64",
170 pr_info("Using sparc64 md5 opcode optimized MD5 implementation\n"); in md5_sparc64_mod_init()
173 pr_info("sparc64 md5 opcode not available.\n"); in md5_sparc64_mod_init()
186 MODULE_DESCRIPTION("MD5 Message Digest Algorithm, sparc64 md5 opcode accelerated");
188 MODULE_ALIAS_CRYPTO("md5");
DMakefile9 obj-$(CONFIG_CRYPTO_MD5_SPARC64) += md5-sparc64.o
20 md5-sparc64-y := md5_asm.o md5_glue.o
/kernel/linux/linux-5.10/arch/sparc/crypto/
Dmd5_glue.c2 /* Glue code for MD5 hashing optimized for sparc64 crypto opcodes.
5 * and crypto/md5.c which are:
22 #include <crypto/md5.h>
144 .cra_name = "md5",
145 .cra_driver_name= "md5-sparc64",
169 pr_info("Using sparc64 md5 opcode optimized MD5 implementation\n"); in md5_sparc64_mod_init()
172 pr_info("sparc64 md5 opcode not available.\n"); in md5_sparc64_mod_init()
185 MODULE_DESCRIPTION("MD5 Message Digest Algorithm, sparc64 md5 opcode accelerated");
187 MODULE_ALIAS_CRYPTO("md5");
DMakefile9 obj-$(CONFIG_CRYPTO_MD5_SPARC64) += md5-sparc64.o
20 md5-sparc64-y := md5_asm.o md5_glue.o
/kernel/linux/linux-5.10/kernel/
Dgen_kheaders.sh43 # Ignore them for md5 calculation to avoid pointless regeneration.
52 if [ -f kernel/kheaders.md5 ] &&
53 [ "$(head -n 1 kernel/kheaders.md5)" = "$headers_md5" ] &&
54 [ "$(head -n 2 kernel/kheaders.md5 | tail -n 1)" = "$this_file_md5" ] &&
55 [ "$(tail -n 1 kernel/kheaders.md5)" = "$tarfile_md5" ]; then
93 echo $headers_md5 > kernel/kheaders.md5
94 echo "$this_file_md5" >> kernel/kheaders.md5
95 echo "$(md5sum $tarfile | cut -d ' ' -f1)" >> kernel/kheaders.md5
/kernel/linux/linux-6.6/kernel/
Dgen_kheaders.sh50 # Ignore them for md5 calculation to avoid pointless regeneration.
59 if [ -f kernel/kheaders.md5 ] &&
60 [ "$(head -n 1 kernel/kheaders.md5)" = "$headers_md5" ] &&
61 [ "$(head -n 2 kernel/kheaders.md5 | tail -n 1)" = "$this_file_md5" ] &&
62 [ "$(tail -n 1 kernel/kheaders.md5)" = "$tarfile_md5" ]; then
96 echo $headers_md5 > kernel/kheaders.md5
97 echo "$this_file_md5" >> kernel/kheaders.md5
98 echo "$(md5sum $tarfile | cut -d ' ' -f1)" >> kernel/kheaders.md5
/kernel/linux/linux-6.6/net/sctp/
DKconfig57 when in doubt select 'md5'
60 bool "Enable optional MD5 hmac cookie generation"
62 Enable optional MD5 hmac based SCTP cookie generation
79 bool "Enable optional MD5 hmac cookie generation"
81 Enable optional MD5 hmac based SCTP cookie generation
/kernel/linux/linux-5.10/net/sctp/
DKconfig56 when in doubt select 'md5'
59 bool "Enable optional MD5 hmac cookie generation"
61 Enable optional MD5 hmac based SCTP cookie generation
78 bool "Enable optional MD5 hmac cookie generation"
80 Enable optional MD5 hmac based SCTP cookie generation
/kernel/linux/linux-6.6/arch/powerpc/crypto/
Dmd5-glue.c3 * Glue code for MD5 implementation for PPC assembler
15 #include <crypto/md5.h>
133 .cra_name = "md5",
134 .cra_driver_name= "md5-ppc",
155 MODULE_DESCRIPTION("MD5 Secure Hash Algorithm, PPC assembler");
157 MODULE_ALIAS_CRYPTO("md5");
158 MODULE_ALIAS_CRYPTO("md5-ppc");
DMakefile9 obj-$(CONFIG_CRYPTO_MD5_PPC) += md5-ppc.o
21 md5-ppc-y := md5-asm.o md5-glue.o
/kernel/linux/linux-5.10/arch/powerpc/crypto/
Dmd5-glue.c3 * Glue code for MD5 implementation for PPC assembler
15 #include <crypto/md5.h>
133 .cra_name = "md5",
134 .cra_driver_name= "md5-ppc",
155 MODULE_DESCRIPTION("MD5 Secure Hash Algorithm, PPC assembler");
157 MODULE_ALIAS_CRYPTO("md5");
158 MODULE_ALIAS_CRYPTO("md5-ppc");
DMakefile9 obj-$(CONFIG_CRYPTO_MD5_PPC) += md5-ppc.o
18 md5-ppc-y := md5-asm.o md5-glue.o
/kernel/linux/linux-5.10/arch/mips/cavium-octeon/crypto/
Docteon-md5.c4 * MD5 Message Digest Algorithm (RFC1321).
8 * Based on crypto/md5.c, which is:
22 #include <crypto/md5.h>
181 .cra_name = "md5",
182 .cra_driver_name= "octeon-md5",
205 MODULE_DESCRIPTION("MD5 Message Digest 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).
/kernel/linux/linux-6.6/arch/mips/cavium-octeon/crypto/
Docteon-md5.c4 * MD5 Message Digest Algorithm (RFC1321).
8 * Based on crypto/md5.c, which is:
22 #include <crypto/md5.h>
183 .cra_name = "md5",
184 .cra_driver_name= "octeon-md5",
207 MODULE_DESCRIPTION("MD5 Message Digest 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).
/kernel/linux/linux-5.10/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,
/kernel/linux/linux-6.6/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,
/kernel/linux/linux-6.6/tools/testing/selftests/net/
Dfcnal-test.sh857 # MD5 tests without VRF
870 log_test $? 0 "MD5: Single address config"
872 # client sends MD5, server not configured
874 show_hint "Should timeout due to MD5 mismatch"
878 log_test $? 2 "MD5: Server no config, client uses password"
886 log_test $? 2 "MD5: Client uses wrong password"
890 show_hint "Should timeout due to MD5 mismatch"
894 log_test $? 2 "MD5: Client address does not match address configured with password"
897 # MD5 extension - prefix length
905 log_test $? 0 "MD5: Prefix config"
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/net/
Dfcnal-test.sh820 # MD5 tests without VRF
833 log_test $? 0 "MD5: Single address config"
835 # client sends MD5, server not configured
837 show_hint "Should timeout due to MD5 mismatch"
841 log_test $? 2 "MD5: Server no config, client uses password"
849 log_test $? 2 "MD5: Client uses wrong password"
853 show_hint "Should timeout due to MD5 mismatch"
857 log_test $? 2 "MD5: Client address does not match address configured with password"
860 # MD5 extension - prefix length
868 log_test $? 0 "MD5: Prefix config"
[all …]
/kernel/linux/linux-6.6/fs/smb/client/
Dcifsencrypt.c234 rc = cifs_alloc_hash("md5", &server->secmech.md5); in cifs_calc_signature()
238 rc = crypto_shash_init(server->secmech.md5); in cifs_calc_signature()
240 cifs_dbg(VFS, "%s: Could not init md5\n", __func__); in cifs_calc_signature()
244 rc = crypto_shash_update(server->secmech.md5, in cifs_calc_signature()
251 return __cifs_calc_signature(rqst, server, signature, server->secmech.md5); in cifs_calc_signature()
631 cifs_dbg(VFS, "%s: Could not generate md5 hash\n", __func__); in calc_ntlmv2_hash()
644 /* The MD5 hash starts at challenge_key.key */ in CalcNTLMv2_response()
680 /* Note that the MD5 digest over writes anon.challenge_key.key */ in CalcNTLMv2_response()
684 cifs_dbg(VFS, "%s: Could not generate md5 hash\n", __func__); in CalcNTLMv2_response()
757 rc = cifs_alloc_hash("hmac(md5)", &ses->server->secmech.hmacmd5); in setup_ntlmv2_rsp()
[all …]
Dlink.c41 struct shash_desc *md5 = NULL; in symlink_hash() local
43 rc = cifs_alloc_hash("md5", &md5); in symlink_hash()
47 rc = crypto_shash_digest(md5, link_str, link_len, md5_hash); in symlink_hash()
49 cifs_dbg(VFS, "%s: Could not generate md5 hash\n", __func__); in symlink_hash()
50 cifs_free_hash(&md5); in symlink_hash()
80 cifs_dbg(FYI, "%s: MD5 hash failure: %d\n", __func__, rc); in parse_mf_symlink()
119 cifs_dbg(FYI, "%s: MD5 hash failure: %d\n", __func__, rc); in format_mf_symlink()
/kernel/linux/linux-5.10/fs/cifs/
Dcifsencrypt.c120 rc = cifs_alloc_hash("md5", &server->secmech.md5, in cifs_calc_signature()
127 cifs_dbg(VFS, "%s: Could not init md5\n", __func__); in cifs_calc_signature()
595 cifs_dbg(VFS, "%s: Could not generate md5 hash\n", __func__); in calc_ntlmv2_hash()
608 /* The MD5 hash starts at challenge_key.key */ in CalcNTLMv2_response()
644 /* Note that the MD5 digest over writes anon.challenge_key.key */ in CalcNTLMv2_response()
648 cifs_dbg(VFS, "%s: Could not generate md5 hash\n", __func__); in CalcNTLMv2_response()
716 rc = cifs_alloc_hash("hmac(md5)", in setup_ntlmv2_rsp()
763 cifs_dbg(VFS, "%s: Could not generate md5 hash\n", __func__); in setup_ntlmv2_rsp()
817 if (server->secmech.md5) { in cifs_crypto_secmech_release()
818 crypto_free_shash(server->secmech.md5); in cifs_crypto_secmech_release()
[all …]
/kernel/linux/linux-6.6/arch/mips/crypto/
DKconfig24 tristate "Digests: MD5 (OCTEON)"
29 MD5 message digest algorithm (RFC1321)
/kernel/linux/linux-5.10/crypto/
Dmd5.c4 * MD5 Message Digest Algorithm (RFC1321).
19 #include <crypto/md5.h>
228 .cra_name = "md5",
229 .cra_driver_name = "md5-generic",
249 MODULE_DESCRIPTION("MD5 Message Digest Algorithm");
250 MODULE_ALIAS_CRYPTO("md5");

12345678910>>...12