Home
last modified time | relevance | path

Searched hist:f3c85bc1bc72b4cc8d58664a490a9d42bdb6565a (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/crypto/
H A Dtalitos.cdiff f3c85bc1bc72b4cc8d58664a490a9d42bdb6565a Wed Jul 30 10:26:57 CEST 2008 Lee Nipper <lee.nipper@freescale.com> 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>