diff options
author | Kamil Konieczny <k.konieczny@partner.samsung.com> | 2018-01-18 19:34:03 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2018-02-15 23:23:46 +0800 |
commit | f1b298103e141e70616a6f69bec922c669a2732f (patch) | |
tree | 58399a5110336f8ad8ee6b78ca3bc7c8f2b105ad /crypto | |
parent | 3c9418f23e3a160ee32a62c8a0d394d5515e929f (diff) | |
download | linux-f1b298103e141e70616a6f69bec922c669a2732f.tar.bz2 |
crypto: bfin_crc - 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 'crypto')
0 files changed, 0 insertions, 0 deletions