smb: Use arc4 library instead of duplicate arc4 code
fs/smb/common/cifs_arc4.c has an implementation of ARC4, but a copy of this same code is also present in lib/crypto/arc4.c to serve the other users of this legacy algorithm in the kernel. Remove the duplicate implementation in fs/smb/, which seems to have been added because of a misunderstanding, and just use the lib/crypto/ one. Signed-off-by:Eric Biggers <ebiggers@kernel.org> Reviewed-by:
Paulo Alcantara (Red Hat) <pc@manguebit.org> Signed-off-by:
Steve French <stfrench@microsoft.com>
Loading
Please sign in to comment