aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/crypto/ux500
diff options
context:
space:
mode:
authorKamil Konieczny <k.konieczny@partner.samsung.com>2018-01-18 19:34:01 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2018-02-15 23:23:45 +0800
commit378fe6fb0cfd6469554041977467414056fa15bc (patch)
tree357467727d245cd5383a4dfd2328025afaa2f94f /drivers/crypto/ux500
parentcrypto: mxs-dcp - Add empty hash export and import (diff)
downloadlinux-dev-378fe6fb0cfd6469554041977467414056fa15bc.tar.xz
linux-dev-378fe6fb0cfd6469554041977467414056fa15bc.zip
crypto: n2 - Add empty hash export and import
Crypto framework requires export/import in async hash. If driver do not implement them, wrapper functions in framework will be used, and it will cause error during ahash alg registration (unless one disables crypto internal tests). To make change in framework and expose this requirement, I will remove wrappers from crypto/ahash.c , but this can broke code which depends on them. Add empty hash export and import, with the same behaviour as in framework and expose this directly in driver. This can also prevent OOPS when config option in Cryptographic API 'Disable run-time self tests' will be enabled. Signed-off-by: Kamil Konieczny <k.konieczny@partner.samsung.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/ux500')
0 files changed, 0 insertions, 0 deletions