crypto: tegra-aes: reclaim key slot in cra_exit
authorVarun Wadekar <vwadekar@nvidia.com>
Tue, 29 Mar 2011 10:53:23 +0000 (15:53 +0530)
committerDan Willemsen <dwillemsen@nvidia.com>
Thu, 22 Mar 2012 08:17:15 +0000 (01:17 -0700)
commit783783eefc81804c641b718168c432cf57a6c741
treefdf2049bcbfed972b8197029bb33e4335de4d6ca
parent980b4f6c99f057cf335c68e7cd935e555aed71bf
crypto: tegra-aes: reclaim key slot in cra_exit

clients call the algorithm's close api, which
results in the algo's cra_exit getting called, when
they are done using the hardware. we need to free the
key slot which was being used by the client when its
cra_exit is called.

Original-Change-Id: Ib42d445f5068c4ea1ef6b3edbbc547fe9eeef583
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/24673
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R8676bc01e6930c3164f8cc22d96023e0aeb44a3e
drivers/crypto/tegra-aes.c