OSDN Git Service

crypto: caam - faster aead implementation
authorYuan Kang <Yuan.Kang@freescale.com>
Fri, 15 Jul 2011 03:21:42 +0000 (11:21 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 15 Jul 2011 03:21:42 +0000 (11:21 +0800)
commit1acebad3d8db8d5220b3010c2eb160c625434cf2
tree29f21d77d77e06b5f0cc6bb8fa05c848dfd3676f
parent885e9e2fd3f009de56dd265f4ecd8740e9ad5aaa
crypto: caam - faster aead implementation

Job descriptors only contain header and seq pointers.

Other commands are stored in separate shared descriptors
for encrypt, decrypt and givencrypt, stored as arrays
in caam_ctx.

This requires additional macros to create math commands
to calculate assoclen and cryptlen.

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