summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorDan Douglass <dan.douglass@nxp.com>2018-10-02 22:01:48 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2018-10-08 08:45:41 +0300
commitea9e7568f7a7f0a6695e046316132afe382969a8 (patch)
tree29f9cc64d2d9ca7778ea7bf712b66f9b08bf48d2 /tools/perf/scripts/python/export-to-postgresql.py
parent4a34e3c2f2f48f47213702a84a123af0fe21ad60 (diff)
downloadlinux-ea9e7568f7a7f0a6695e046316132afe382969a8.tar.xz
crypto: mxs-dcp - Implement sha import/export
The mxs-dcp driver fails to probe if sha1/sha256 are supported: [ 2.455404] mxs-dcp 80028000.dcp: Failed to register sha1 hash! [ 2.464042] mxs-dcp: probe of 80028000.dcp failed with error -22 This happens because since commit 8996eafdcbad ("crypto: ahash - ensure statesize is non-zero") import/export is mandatory and ahash_prepare_alg fails on statesize == 0. A set of dummy import/export functions were implemented in commit 9190b6fd5db9 ("crypto: mxs-dcp - Add empty hash export and import") but statesize is still zero and the driver fails to probe. That change was apparently part of some unrelated refactoring. Fix by actually implementing import/export. Signed-off-by: Dan Douglass <dan.douglass@nxp.com> Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions