On Tue, Jul 29, 2008 at 10:29:06PM +0000, Lee Nipper wrote: > 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 <lee.nipper@xxxxxxxxxxxxx> > Signed-off-by: Kim Phillips <kim.phillips@xxxxxxxxxxxxx> Patch applied. Thanks! -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html