summaryrefslogtreecommitdiffstats
path: root/crypto/testmgr.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2021-01-21 06:16:46 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2021-01-29 06:07:03 +0100
commitc114cf7f86242bbd6841de4c49923100ad41b6d5 (patch)
treed22395b53d9d940f4e87b50274c6b8795415c8c2 /crypto/testmgr.c
parentcrypto: talitos - Fix ctr(aes) on SEC1 (diff)
downloadlinux-c114cf7f86242bbd6841de4c49923100ad41b6d5.tar.xz
linux-c114cf7f86242bbd6841de4c49923100ad41b6d5.zip
crypto: marvell/cesa - Fix use of sg_pcopy on iomem pointer
The cesa driver mixes use of iomem pointers and normal kernel pointers. Sometimes it uses memcpy_toio/memcpy_fromio on both while other times it would use straight memcpy on both, through the sg_pcopy_* helpers. This patch fixes this by adding a new field sram_pool to the engine for the normal pointer case which then allows us to use the right interface depending on the value of engine->pool. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/testmgr.c')
0 files changed, 0 insertions, 0 deletions