40c41a7bfd
[ Upstream commitc149e4763d] sun8i-ss does not handle well the possible zero sized sg. Fixes:d9b45418a9("crypto: sun8i-ss - support hash algorithms") Signed-off-by: Corentin Labbe <clabbe@baylibre.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: Sasha Levin <sashal@kernel.org>