From: Lee Nipper Date: Wed, 30 Jul 2008 08:26:57 +0000 (+0800) Subject: crypto: talitos - Add handling for SEC 3.x treatment of link table X-Git-Tag: v2.6.27-rc4~105^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f3c85bc1bc72b4cc8d58664a490a9d42bdb6565a;p=pandora-kernel.git crypto: talitos - Add handling for SEC 3.x treatment of link table Later SEC revision requires the link table (used for scatter/gather) to have an extra entry to account for the total length in descriptor [4], which contains cipher Input and ICV. This only applies to decrypt, not encrypt. Without this change, on 837x, a gather return/length error results when a decryption uses a link table to gather the fragments. This is observed by doing a ping with size of 1447 or larger with AES, or a ping with size 1455 or larger with 3des. So, add check for SEC compatible "fsl,3.0" for using extra link table entry. Signed-off-by: Lee Nipper Signed-off-by: Kim Phillips Signed-off-by: Herbert Xu --- Reading git-diff-tree failed