]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: caam - support external seq in/out lengths
authorYuan Kang <Yuan.Kang@freescale.com>
Sat, 23 Jun 2012 00:48:43 +0000 (19:48 -0500)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 27 Jun 2012 06:42:04 +0000 (14:42 +0800)
commitff4e49593752d405cb3210b47f14190115b8bfea
treefe882ecd0a2d53b48a20ab1ec16f170049f7319c
parenta9505b2920ff9371d4227dc3ba0d22dfb0194cd6
crypto: caam - support external seq in/out lengths

functions for external storage of seq in/out lengths,
i.e., for 32-bit lengths.

These type-dependent functions automatically determine whether to
store the length internally (embedded in the command header word) or
externally (after the address pointer), based on size of the type
given.

Signed-off-by: Yuan Kang <Yuan.Kang@freescale.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/caam/caamalg.c
drivers/crypto/caam/desc_constr.h