crypto: caam - fix start index for Protocol shared descriptors
authorYashpal Dutta <yashpal.dutta@freescale.com>
Sat, 23 Jun 2012 00:42:37 +0000 (19:42 -0500)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 27 Jun 2012 06:42:03 +0000 (14:42 +0800)
commitc4b664063ea5c007f05d2d23aa6edc9cfd385aa3
tree444baf86a9ecb10a9d8c08031a60e855c34eda64
parenta68d2595876c7cc56f122572fa0a3465d438fefc
crypto: caam - fix start index for Protocol shared descriptors

In case of protocol acceleration descriptors, Shared descriptor header must
carry size of header length + PDB length in words which will be skipped by
DECO while processing descriptor to provide first command word offset

Signed-off-by: Yashpal Dutta <yashpal.dutta@freescale.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/caam/desc_constr.h