summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2014-03-03 16:40:30 +0400
committerHerbert Xu <herbert@gondor.apana.org.au>2014-03-10 16:15:49 +0400
commit04d088cc0b19a4cb14680b92205fd4600470c46f (patch)
treec888816dd180431e0c809407891f0f37d66e8ed8 /crypto
parent1a7c685611713011179a0e92b06f43a378d3a8fd (diff)
downloadlinux-04d088cc0b19a4cb14680b92205fd4600470c46f.tar.xz
crypto: mxs-dcp - Optimize hashing
Optimize the hashing operation in the MXS-DCP by doing two adjustments: 1) Given that the output buffer for the hash is now always correctly aligned, we can just use the buffer for the DCP DMA to store the resulting hash. We thus get rid of one copying of data. Moreover, we remove an entry from dcp_coherent_block{} and thus lower the memory footprint of the driver. 2) We map the output buffer for the hash for DMA only in case we will output the hash, not always, as it was now. Signed-off-by: Marek Vasut <marex@denx.de> Cc: David S. Miller <davem@davemloft.net> Cc: Fabio Estevam <fabio.estevam@freescale.com> Cc: Herbert Xu <herbert@gondor.apana.org.au> Cc: Shawn Guo <shawn.guo@linaro.org> Cc: Tom Lendacky <thomas.lendacky@amd.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions