diff options
author | Horia Geanta <horia.geanta@freescale.com> | 2013-11-19 12:57:49 (GMT) |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2014-04-08 00:23:44 (GMT) |
commit | fd464103390591f1900db9bd078fb7ecc780cd10 (patch) | |
tree | 9ce7279728e507a09cf3fadf9733de8798586c21 /security/tomoyo/securityfs_if.c | |
parent | adfcf8b78e0f5bb139cad3739edb8c9b1cdf0427 (diff) | |
download | linux-fsl-qoriq-fd464103390591f1900db9bd078fb7ecc780cd10.tar.xz |
crypto: talitos - corrrectly handle zero-length assoc data
talitos does not handle well zero-length assoc data. From dmesg:
talitos ffe30000.crypto: master data transfer error
talitos ffe30000.crypto: gather return/length error
Check whether assoc data is provided by inspecting assoclen,
not assoc pointer.
This is needed in order to pass testmgr tests.
Signed-off-by: Horia Geanta <horia.geanta@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
(cherry picked from commit 935e99a3afda0a58c2eada0ff7c613d3844d738c)
Diffstat (limited to 'security/tomoyo/securityfs_if.c')
0 files changed, 0 insertions, 0 deletions