aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/crypto/inside-secure/safexcel_hash.c
diff options
context:
space:
mode:
authorPascal van Leeuwen <pascalvanl@gmail.com>2019-12-11 17:32:36 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2019-12-20 14:58:34 +0800
commitcb97aa9473627720810a0a016621c36f15392802 (patch)
tree5db431f2bb3e9a5a661d30335a146840c03eef73 /drivers/crypto/inside-secure/safexcel_hash.c
parentcrypto: inside-secure - Fix Unable to fit even 1 command desc error w/ EIP97 (diff)
downloadlinux-dev-cb97aa9473627720810a0a016621c36f15392802.tar.xz
linux-dev-cb97aa9473627720810a0a016621c36f15392802.zip
crypto: inside-secure - Fix hang case on EIP97 with zero length input data
The EIP97 hardware cannot handle zero length input data and will (usually) hang when presented with this anyway. This patch converts any zero length input to a 1 byte dummy input to prevent this hanging. Signed-off-by: Pascal van Leeuwen <pvanleeuwen@rambus.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions