diff options
| author | Enzo Matsumiya <ematsumiya@suse.de> | 2024-11-13 17:42:31 -0300 |
|---|---|---|
| committer | Enzo Matsumiya <ematsumiya@suse.de> | 2024-11-13 17:56:34 -0300 |
| commit | 62b86e78e4a9e7201943a9c1870b35dcced8f08e (patch) | |
| tree | 40339dd7647914c8083c0e46f36f06f73360f9ec | |
| parent | 03112dbb54a34526f592d3fa5fa2054ca253d919 (diff) | |
| download | linux-62b86e78e4a9e7201943a9c1870b35dcced8f08e.tar.gz linux-62b86e78e4a9e7201943a9c1870b35dcced8f08e.tar.bz2 linux-62b86e78e4a9e7201943a9c1870b35dcced8f08e.zip | |
smb: client: remove md5 secmech (SMB1)
Signed-off-by: Enzo Matsumiya <ematsumiya@suse.de>
| -rw-r--r-- | fs/smb/client/cifsencrypt.c | 1 | ||||
| -rw-r--r-- | fs/smb/client/cifsglob.h | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/fs/smb/client/cifsencrypt.c b/fs/smb/client/cifsencrypt.c index b2d7df4dfbc8..c974b2b0ea6b 100644 --- a/fs/smb/client/cifsencrypt.c +++ b/fs/smb/client/cifsencrypt.c @@ -735,7 +735,6 @@ cifs_crypto_secmech_release(struct TCP_Server_Info *server) { cifs_free_hash(&server->secmech.aes_cmac); cifs_free_hash(&server->secmech.hmacsha256); - cifs_free_hash(&server->secmech.md5); cifs_free_hash(&server->secmech.sha512); cifs_free_hash(&server->secmech.hmacmd5); diff --git a/fs/smb/client/cifsglob.h b/fs/smb/client/cifsglob.h index 6a01b01ef8de..303074541cb3 100644 --- a/fs/smb/client/cifsglob.h +++ b/fs/smb/client/cifsglob.h @@ -179,7 +179,6 @@ struct session_key { /* crypto hashing related structure/fields, not specific to a sec mech */ struct cifs_secmech { struct shash_desc *hmacmd5; /* hmacmd5 hash function, for NTLMv2/CR1 hashes */ - struct shash_desc *md5; /* md5 hash function, for CIFS/SMB1 signatures */ struct shash_desc *hmacsha256; /* hmac-sha256 hash function, for SMB2 signatures */ struct shash_desc *sha512; /* sha512 hash function, for SMB3.1.1 preauth hash */ struct shash_desc *aes_cmac; /* block-cipher based MAC function, for SMB3 signatures */ |
