diff options
author | Gilad Ben-Yossef <gilad@benyossef.com> | 2017-04-23 12:26:10 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-04-28 12:17:54 +0200 |
commit | 50cfbbb7e627b868f3cf6882d2a9210bb8428737 (patch) | |
tree | 344b009479f1b57dc5e25a8148a07e4970d8b177 /drivers/staging/ccree/ssi_pm.c | |
parent | staging: ccree: introduce CryptoCell HW driver (diff) | |
download | linux-dev-50cfbbb7e627b868f3cf6882d2a9210bb8428737.tar.xz linux-dev-50cfbbb7e627b868f3cf6882d2a9210bb8428737.zip |
staging: ccree: add ahash support
Add CryptoCell async. hash and HMAC support.
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.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/staging/ccree/ssi_pm.c b/drivers/staging/ccree/ssi_pm.c index 1f34e68670df..ec6d6551db2d 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_hash.h" #include "ssi_pm.h" #include "ssi_pm_ext.h" @@ -79,6 +80,9 @@ int ssi_power_mgr_runtime_resume(struct device *dev) return rc; } + /* must be after the queue resuming as it uses the HW queue*/ + ssi_hash_init_sram_digest_consts(drvdata); + return 0; } |