aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/tcrypt.c
diff options
context:
space:
mode:
authorLee Nipper <lee.nipper@freescale.com>2008-07-30 04:26:57 -0400
committerHerbert Xu <herbert@gondor.apana.org.au>2008-08-13 06:08:33 -0400
commitf3c85bc1bc72b4cc8d58664a490a9d42bdb6565a (patch)
treee3582146af658bd9828b137013615b86199fbbd6 /crypto/tcrypt.c
parentb0e0c9e7f6d5764633e93944dafd896dd6097318 (diff)
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 <lee.nipper@freescale.com> Signed-off-by: Kim Phillips <kim.phillips@freescale.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/tcrypt.c')
0 files changed, 0 insertions, 0 deletions