diff options
author | Tero Kristo <t-kristo@ti.com> | 2019-11-05 15:00:56 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2019-12-11 09:36:58 +0100 |
commit | a9befcf46913bd70d1421ea6b77e8b47a8b70483 (patch) | |
tree | 546b30a5338dc56072c7597817498ac486f34dc0 /drivers/crypto/omap-sham.c | |
parent | crypto: omap-sham - fix buffer handling for split test cases (diff) | |
download | linux-a9befcf46913bd70d1421ea6b77e8b47a8b70483.tar.xz linux-a9befcf46913bd70d1421ea6b77e8b47a8b70483.zip |
crypto: omap-aes-gcm - fix corner case with only auth data
Fix a corner case where only authdata is generated, without any provided
assocdata / cryptdata. Passing the empty scatterlists to OMAP AES core driver
in this case would confuse it, failing to map DMAs.
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/omap-sham.c')
0 files changed, 0 insertions, 0 deletions