/linux/tools/testing/selftests/net/tcp_ao/ |
H A D | unsigned-md5.c | 139 try_accept("TCP-AO established: add TCP-MD5 key", (*port)++, NULL, 0, in server_add_fail_tests() 142 try_accept("TCP-MD5 established: add TCP-AO key", (*port)++, &addr_any, in server_add_fail_tests() 163 try_accept("[server] AO server (INADDR_ANY): MD5 client", port++, NULL, 0, in server_fn() 177 try_accept("[server] MD5 server (INADDR_ANY): AO client", port++, &addr_any, 0, in server_fn() 180 try_accept("[server] MD5 server (INADDR_ANY): MD5 client", port++, &addr_any, 0, in server_fn() 182 try_accept("[server] MD5 server (INADDR_ANY): no sign client", port++, &addr_any, in server_fn() 189 try_accept("[server] no sign server: MD5 client", port++, NULL, 0, in server_fn() 195 try_accept("[server] AO+MD5 server: AO client (matching)", port++, in server_fn() 198 try_accept("[server] AO+MD5 server: AO client (misconfig, matching MD5)", port++, in server_fn() 202 try_accept("[server] AO+MD5 server: AO client (misconfig, non-matching)", port++, in server_fn() [all …]
|
/linux/arch/sparc/crypto/ |
H A D | md5_glue.c | 2 /* Glue code for MD5 hashing optimized for sparc64 crypto opcodes. 5 * and crypto/md5.c which are: 21 #include <crypto/md5.h> 128 .cra_name = "md5", 129 .cra_driver_name= "md5-sparc64", 154 pr_info("Using sparc64 md5 opcode optimized MD5 implementation\n"); in md5_sparc64_mod_init() 157 pr_info("sparc64 md5 opcode not available.\n"); in md5_sparc64_mod_init() 170 MODULE_DESCRIPTION("MD5 Message Digest Algorithm, sparc64 md5 opcode accelerated"); 172 MODULE_ALIAS_CRYPTO("md5");
|
H A D | Makefile | 6 obj-$(CONFIG_CRYPTO_MD5_SPARC64) += md5-sparc64.o 12 md5-sparc64-y := md5_asm.o md5_glue.o
|
H A D | Kconfig | 20 tristate "Digests: MD5" 25 MD5 message digest algorithm (RFC1321)
|
H A D | md5_asm.S | 26 MD5 62 MD5
|
/linux/arch/powerpc/crypto/ |
H A D | md5-glue.c | 3 * Glue code for MD5 implementation for PPC assembler 11 #include <crypto/md5.h> 73 .cra_name = "md5", 74 .cra_driver_name= "md5-ppc", 96 MODULE_DESCRIPTION("MD5 Secure Hash Algorithm, PPC assembler"); 98 MODULE_ALIAS_CRYPTO("md5"); 99 MODULE_ALIAS_CRYPTO("md5-ppc");
|
H A D | Makefile | 9 obj-$(CONFIG_CRYPTO_MD5_PPC) += md5-ppc.o 15 md5-ppc-y := md5-asm.o md5-glue.o
|
H A D | Kconfig | 19 tristate "Digests: MD5" 22 MD5 message digest algorithm (RFC1321)
|
/linux/net/sctp/ |
H A D | Kconfig | 57 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
|
/linux/tools/testing/selftests/net/packetdrill/ |
H A D | tcp_md5_md5-only-on-client-ack.pkt | 2 // Test what happens when client does not provide MD5 on SYN, 15 // Ooh, weird: client provides MD5 option on the ACK: 16 +.01 < . 1:1(0) ack 1 win 514 <md5 000102030405060708090a0b0c0d0e0f,nop,nop> 17 +.01 < . 1:1(0) ack 1 win 514 <md5 000102030405060708090a0b0c0d0e0f,nop,nop>
|
/linux/fs/smb/client/ |
H A D | cifsencrypt.c | 120 rc = cifs_alloc_hash("md5", &server->secmech.md5); in cifs_calc_signature() 124 rc = crypto_shash_init(server->secmech.md5); in cifs_calc_signature() 126 cifs_dbg(VFS, "%s: Could not init md5\n", __func__); in cifs_calc_signature() 130 rc = crypto_shash_update(server->secmech.md5, in cifs_calc_signature() 137 return __cifs_calc_signature(rqst, server, signature, server->secmech.md5); in cifs_calc_signature() 428 cifs_dbg(VFS, "%s: Could not init HMAC-MD5, rc=%d\n", __func__, rc); in calc_ntlmv2_hash() 487 cifs_dbg(VFS, "%s: Could not generate MD5 hash, rc=%d\n", __func__, rc); in calc_ntlmv2_hash() 500 /* The MD5 hash starts at challenge_key.key */ in CalcNTLMv2_response() 512 cifs_dbg(VFS, "%s: Could not init HMAC-MD5, rc=%d\n", __func__, rc); in CalcNTLMv2_response() 527 /* Note that the MD5 digest over writes anon.challenge_key.key */ in CalcNTLMv2_response() [all …]
|
H A D | link.c | 43 struct shash_desc *md5 = NULL; in symlink_hash() local 45 rc = cifs_alloc_hash("md5", &md5); in symlink_hash() 49 rc = crypto_shash_digest(md5, link_str, link_len, md5_hash); in symlink_hash() 51 cifs_dbg(VFS, "%s: Could not generate md5 hash\n", __func__); in symlink_hash() 52 cifs_free_hash(&md5); in symlink_hash() 82 cifs_dbg(FYI, "%s: MD5 hash failure: %d\n", __func__, rc); in parse_mf_symlink() 121 cifs_dbg(FYI, "%s: MD5 hash failure: %d\n", __func__, rc); in format_mf_symlink()
|
/linux/arch/mips/cavium-octeon/crypto/ |
H A D | octeon-md5.c | 4 * MD5 Message Digest Algorithm (RFC1321). 8 * Based on crypto/md5.c, which is: 25 #include <crypto/md5.h> 188 .cra_name = "md5", 189 .cra_driver_name= "octeon-md5", 213 MODULE_DESCRIPTION("MD5 Message Digest Algorithm (OCTEON)");
|
/linux/tools/testing/selftests/net/ |
H A D | fcnal-test.sh | 867 # MD5 tests without VRF 880 log_test $? 0 "MD5: Single address config" 882 # client sends MD5, server not configured 884 show_hint "Should timeout due to MD5 mismatch" 888 log_test $? 2 "MD5: Server no config, client uses password" 896 log_test $? 2 "MD5: Client uses wrong password" 900 show_hint "Should timeout due to MD5 mismatch" 904 log_test $? 2 "MD5: Client address does not match address configured with password" 907 # MD5 extension - prefix length 915 log_test $? 0 "MD5: Prefix config" [all …]
|
/linux/drivers/crypto/caam/ |
H A D | key_gen.h | 11 * @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/Documentation/networking/ |
H A D | tcp_ao.rst | 11 The intent of TCP-AO is to deprecate TCP-MD5 providing better security, 17 .. table:: Short and Limited Comparison of TCP-AO and TCP-MD5 20 | | TCP-MD5 | TCP-AO | 22 |Supported hashing |MD5 |Must support HMAC-SHA1 | 205 Q: Can TCP-MD5 connection migrate to TCP-AO (and vice-versa): 209 TCP MD5-protected connections cannot be migrated to TCP-AO because TCP MD5 245 to TCP-MD5. It means that a userspace application that wants to use TCP-AO 255 ``setsockopt()s`` for TCP-MD5 support. 364 In contrast with an established TCP-MD5 connection which has just one key, 387 This is a similar "do-nothing" approach to TCP-MD5 from the kernel side and [all …]
|
/linux/arch/mips/crypto/ |
H A D | Kconfig | 6 tristate "Digests: MD5 (OCTEON)" 11 MD5 message digest algorithm (RFC1321)
|
/linux/arch/mips/include/asm/octeon/ |
H A D | crypto.h | 8 * 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/drivers/crypto/inside-secure/eip93/ |
H A D | eip93-aead.c | 15 #include <crypto/md5.h> 272 .cra_name = "authenc(hmac(md5),cbc(aes))", 274 "authenc(hmac(md5-eip93), cbc(aes-eip93))", 385 .cra_name = "authenc(hmac(md5),rfc3686(ctr(aes)))", 387 "authenc(hmac(md5-eip93),rfc3686(ctr(aes-eip93)))", 500 .cra_name = "authenc(hmac(md5),cbc(des))", 502 "authenc(hmac(md5-eip93),cbc(des-eip93))", 612 .cra_name = "authenc(hmac(md5),cbc(des3_ede))", 614 "authenc(hmac(md5-eip93),cbc(des3_ede-eip93))",
|
/linux/crypto/ |
H A D | md5.c | 4 * MD5 Message Digest Algorithm (RFC1321). 19 #include <crypto/md5.h> 201 .cra_name = "md5", 202 .cra_driver_name = "md5-generic", 223 MODULE_DESCRIPTION("MD5 Message Digest Algorithm"); 224 MODULE_ALIAS_CRYPTO("md5");
|
/linux/Documentation/devicetree/bindings/crypto/ |
H A D | samsung-sss.yaml | 18 -- SHA-1/SHA-256/MD5/HMAC (SHA-1/SHA-256/MD5)/PRNG
|
/linux/drivers/crypto/ccree/ |
H A D | cc_hash.h | 87 * @mode: The Hash mode. Supported modes: MD5/SHA1/SHA224/SHA256/SHA384/SHA512 99 * @mode: The Hash mode. Supported modes: MD5/SHA1/SHA224/SHA256/SHA384/SHA512
|
/linux/drivers/crypto/ |
H A D | Kconfig | 326 tristate "Support for OMAP MD5/SHA1/SHA2 hw accelerator" 335 OMAP processors have MD5/SHA1/SHA2 hw accelerator. Select this if you 336 want to use the OMAP module for MD5/SHA1/SHA2 algorithms. 411 Select this to offload Exynos from HASH MD5/SHA1/SHA256. 412 This will select software SHA1, MD5 and SHA256 as they are 687 hardware hash accelerator. Supporting MD5/SHA1/SHA224/SHA256
|
/linux/kernel/ |
H A D | Makefile | 175 …z: $(src)/gen_kheaders.sh $(obj)/kheaders-srclist $(obj)/kheaders-objlist $(obj)/kheaders.md5 FORCE 203 $(obj)/kheaders.md5: $(obj)/kheaders-srclist FORCE 206 clean-files := kheaders.md5 kheaders-srclist kheaders-objlist
|
H A D | .gitignore | 3 /kheaders.md5
|