aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/ccree/ssi_pm.c
diff options
context:
space:
mode:
authorGilad Ben-Yossef <gilad@benyossef.com>2017-04-23 12:26:12 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-04-28 12:17:54 +0200
commita4d826b94a634e7319c212d8ab1d8cbcf783d0f2 (patch)
treee00d77b3a5064b952ec28b259b6c3b16483896be /drivers/staging/ccree/ssi_pm.c
parentstaging: ccree: add skcipher support (diff)
downloadlinux-dev-a4d826b94a634e7319c212d8ab1d8cbcf783d0f2.tar.xz
linux-dev-a4d826b94a634e7319c212d8ab1d8cbcf783d0f2.zip
staging: ccree: add IV generation support
Add CryptoCell IV hardware generation support. This patch adds the needed support to drive the HW but does not expose the ability via the kernel crypto API yet. Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/ccree/ssi_pm.c')
-rw-r--r--drivers/staging/ccree/ssi_pm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/ccree/ssi_pm.c b/drivers/staging/ccree/ssi_pm.c
index ec6d6551db2d..dd399f28a68c 100644
--- a/drivers/staging/ccree/ssi_pm.c
+++ b/drivers/staging/ccree/ssi_pm.c
@@ -26,6 +26,7 @@
#include "ssi_request_mgr.h"
#include "ssi_sram_mgr.h"
#include "ssi_sysfs.h"
+#include "ssi_ivgen.h"
#include "ssi_hash.h"
#include "ssi_pm.h"
#include "ssi_pm_ext.h"
@@ -83,6 +84,7 @@ int ssi_power_mgr_runtime_resume(struct device *dev)
/* must be after the queue resuming as it uses the HW queue*/
ssi_hash_init_sram_digest_consts(drvdata);
+ ssi_ivgen_init_sram_pool(drvdata);
return 0;
}