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
Signed-off-by: Ludovic Desroches
Acked-by: Nicolas Ferre
---
drivers/crypto/atmel-sha.c | 16 ++--
1 file changed, 14
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.z...@atmel.com
Signed-off-by: Ludovic Desroches ludovic.desroc...@atmel.com
Acked-by: Nicolas Ferre nicolas.fe...@atmel.com
---
2 matches
Mail list logo