From 6d9529c586dbf0d356916d113f72f36397e71cdb Mon Sep 17 00:00:00 2001 From: Tim Chen Date: Thu, 10 Jul 2014 16:18:08 -0700 Subject: [PATCH] crypto: hash - initialize entry len for null input in crypto hash sg list walk For the special case when we have a null input string, we want to initialize the entry len to 0 for the hash/ahash walk, so cyrpto_hash_walk_last will return the correct result indicating that we have completed the scatter list walk. Otherwise we may keep walking the sg list and access bogus memory address. Signed-off-by: Tim Chen Signed-off-by: Herbert Xu --- Reading git-format-patch failed