summaryrefslogtreecommitdiffstats
path: root/drivers/ntb
diff options
context:
space:
mode:
authorRadu Solea <radu.solea@nxp.com>2018-10-02 19:01:50 +0000
committerHerbert Xu <herbert@gondor.apana.org.au>2018-10-08 13:45:41 +0800
commitc709eebaf5c5faa8a0f140355f9cfe67e8f7afb1 (patch)
treec4df0775786afbc2989b3145aae16c46443ee412 /drivers/ntb
parentea9e7568f7a7f0a6695e046316132afe382969a8 (diff)
downloadlinux-stable-c709eebaf5c5faa8a0f140355f9cfe67e8f7afb1.tar.gz
linux-stable-c709eebaf5c5faa8a0f140355f9cfe67e8f7afb1.tar.bz2
linux-stable-c709eebaf5c5faa8a0f140355f9cfe67e8f7afb1.zip
crypto: mxs-dcp - Fix SHA null hashes and output length
DCP writes at least 32 bytes in the output buffer instead of hash length as documented. Add intermediate buffer to prevent write out of bounds. When requested to produce null hashes DCP fails to produce valid output. Add software workaround to bypass hardware and return valid output. Signed-off-by: Radu Solea <radu.solea@nxp.com> Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/ntb')
0 files changed, 0 insertions, 0 deletions