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)
commit6ec47334935ffbc3eccc227ed22ab716be9942f1
treefe882ecd0a2d53b48a20ab1ec16f170049f7319c
parenta23d80e0b77314cc863a075796bc2b6d5245ba60
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