diff options
author | Lee Nipper <lee.nipper@freescale.com> | 2008-07-30 10:26:57 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2008-08-13 12:08:33 +0200 |
commit | f3c85bc1bc72b4cc8d58664a490a9d42bdb6565a (patch) | |
tree | e3582146af658bd9828b137013615b86199fbbd6 /crypto | |
parent | Merge branch 'for-2.6.27' of git://linux-nfs.org/~bfields/linux (diff) | |
download | linux-f3c85bc1bc72b4cc8d58664a490a9d42bdb6565a.tar.xz linux-f3c85bc1bc72b4cc8d58664a490a9d42bdb6565a.zip |
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')
0 files changed, 0 insertions, 0 deletions