cryptodev: avoid untrusted user pointers
authorKonduri Praveen <kondurip@nvidia.com>
Tue, 1 Aug 2017 12:05:58 +0000 (17:05 +0530)
committerWinnie Hsu <whsu@nvidia.com>
Wed, 31 Jan 2018 22:20:57 +0000 (14:20 -0800)
commitb210c724aea24160a5fdcec5ee9b8f9c86c8540d
treef3b0d9bce637f9c830792df14dafc6938c44f267
parentbc078fb62c6d3c80bcba2c63cb57ad06e8b419e4
cryptodev: avoid untrusted user pointers

add algo variable for avoid the usage of
user space pointers

Bug 200286426

Change-Id: I7e208b45ba11348e7b89a429d457ae51ac29bde0
Signed-off-by: Konduri Praveen <kondurip@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1530560
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Tested-by: Bibek Basu <bbasu@nvidia.com>
drivers/misc/tegra-cryptodev.c