crypto: caam - set DK (Decrypt Key) bit only for AES accelerator
authorHoria Geanta <horia.geanta@freescale.com>
Fri, 11 Jul 2014 12:46:58 +0000 (15:46 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 23 Jul 2014 13:31:36 +0000 (21:31 +0800)
commita60384dfff3df41e86431974e5f9807773332d9e
tree8b66c6996a651bb32b47428cb7d2a6743d659211
parentde0e35ec2b72be30892f28a939c358af1df4fa2c
crypto: caam - set DK (Decrypt Key) bit only for AES accelerator

AES currently shares descriptor creation functions with DES and 3DES.
DK bit is set in all cases, however it is valid only for
the AES accelerator.

Signed-off-by: Horia Geanta <horia.geanta@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/caam/caamalg.c