Skip to content

cifs NTLMv2/NTLMSSP - enable and sign using crypto apis

[email protected] linux-cifs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4cifs NTLMv2/NTLMSSP Change variable name mac_key to session key to reflect the key it holdsfs/cifs/cifsencrypt.c fs/cifs/cifsglob.h fs/cifs/cifsproto.h +2 more+23 -230 replies
2/4cifs NTLMv2/NTLMSSP ntlmv2 within ntlmssp autentication codefs/cifs/cifsencrypt.c fs/cifs/cifsglob.h fs/cifs/cifspdu.h +5 more+224 -534 replies
3/4cifs NTLMv2/NTLMSSP define crypto hash functions and create and send keys needed for key exchangefs/cifs/Kconfig fs/cifs/cifsencrypt.c fs/cifs/cifsglob.h +4 more+200 -100 replies
4/4cifs NTLMv2/NTLMSSP use kernel crypto apis to calculate hashes and signaturesfs/cifs/cifsencrypt.c fs/cifs/cifsproto.h fs/cifs/transport.c+179 -720 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH -v5 0/4] cifs NTLMv2/NTLMSSP - enable and sign using crypto apis

Three major functionality changes

--
Make NTLMv2 as a default authentication mechanism within NTLMSSP

Enable cifs/smb signing

Use Crypto sync hash APIs instead of cifs crypto functions to genereate various hashes such as arc4/rc4, md5, and hmac-md5 used during authentication and smb/cifs signature generation
--

These patches are split into mainly three pathes, roughly per functionality as mentioned above.
These are intended to fix the broken ntlmv2 functionality, enable signing and replace cifs crypto functions with kernel crypto fuctions. There still remains some clean-up to do, especially since exising crypto functions are used by auth mechs like NTLM which still get used. A follow-up patch should and would follow to do just that.