diff options
author | Tero Kristo <t-kristo@ti.com> | 2019-11-05 16:00:56 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2019-12-11 16:36:58 +0800 |
commit | a9befcf46913bd70d1421ea6b77e8b47a8b70483 (patch) | |
tree | 546b30a5338dc56072c7597817498ac486f34dc0 /drivers/crypto/omap-sham.c | |
parent | 2b352489d0d6398f6d47383b48ed3527f7d078f8 (diff) | |
download | linux-a9befcf46913bd70d1421ea6b77e8b47a8b70483.tar.gz linux-a9befcf46913bd70d1421ea6b77e8b47a8b70483.tar.bz2 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