diff options
author | Leilei Zhao <leilei.zhao@atmel.com> | 2015-04-07 17:45:05 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2015-04-08 22:20:02 +0800 |
commit | 803eeae8f3eb394d898a7aa65ba706628dd6a85c (patch) | |
tree | 52e3a4f22974040a558543f2a13c0f71b3273c63 /firmware/tehuti | |
parent | 0099286b664493c85f0f2248f09f3b467a0e3a78 (diff) | |
download | linux-803eeae8f3eb394d898a7aa65ba706628dd6a85c.tar.bz2 |
crypto: atmel-sha - fix sg list management
Having a zero length sg doesn't mean it is the end of the sg list. This
case happens when calculating HMAC of IPSec packet.
Signed-off-by: Leilei Zhao <leilei.zhao@atmel.com>
Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'firmware/tehuti')
0 files changed, 0 insertions, 0 deletions